/*
Theme Name: Boda Invitation Theme
Theme URI: https://example.com/boda-invitation
Author: Antigravity
Author URI: https://example.com
Description: A mobile-first wedding invitation theme with RSVP functionality, replicating 'Invitación Creativa' style.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    /* Color Palette Extracted */
    --color-dark: #1D1E20;
    --color-gold: #8C7358;
    --color-bg: #F3F3F3;
    --color-white: #FFFFFF;
    --color-grey: #737373;

    /* Functional Colors */
    --color-error: #D32F2F;
    --color-success: #388E3C;

    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Main Layout */
body {
    background-color: #f0f0f0;
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.8;
}

.app-container {
    background-color: #fff;
    width: 100%;
    max-width: 500px;
    /* Mobile width constraint */
    min-height: 100vh;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow-x: hidden;
}

/* Typography Overhaul */
h1.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 4.5rem;
    color: var(--color-dark);
    margin: 1rem 0;
    line-height: 1.1;
    font-weight: 400;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-dark);
    letter-spacing: 1px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 300;
}

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    color: var(--color-grey);
    margin-bottom: 1rem;
}

.date {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--color-grey);
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    display: inline-block;
    padding: 10px 30px;
    margin: 20px 0;
}

/* Hero Section */
.hero {
    height: 85vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}

.hero::after {
    background: rgba(255, 255, 255, 0.7);
    /* Light overlay for legibility */
}

/* Detail Cards */
.details {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
}

.detail-item {
    padding: 2rem;
    border: 1px solid transparent;
}

.detail-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.divider {
    color: var(--color-gold);
    font-size: 2rem;
    margin: 1rem 0;
}

/* RSVP Section Customization */
.rsvp-section {
    background-color: #fafafa;
    padding: 4rem 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.rsvp-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #999;
    font-size: 1.2rem;
    padding: 10px;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    border-radius: 0;
}

.rsvp-input:focus {
    border-bottom-color: var(--color-gold);
    outline: none;
}

/* Elegant Buttons */
.btn {
    background-color: var(--color-dark);
    color: #fff;
    border: 1px solid var(--color-dark);
    padding: 15px 40px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 10px;
    border-radius: 0;
    /* Square edges */
}

.btn:hover {
    background-color: transparent;
    color: var(--color-dark);
}

.btn.primary {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: white;
}

.btn.primary:hover {
    background-color: #7a634a;
}

/* Footer */
footer {
    background-color: #fff;
    color: var(--color-dark);
    padding: 3rem;
    border-top: 1px solid #eee;
}