/* ===== CSS RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #8b7355;
    --accent-color: #d4af37;
    --light-bg: #f8f6f4;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c7a89;
    --overlay-dark: rgba(44, 62, 80, 0.7);
    --overlay-light: rgba(0, 0, 0, 0.3);
}

/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-tagline {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-names {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-date {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 4px;
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CEREMONY SECTION ===== */
.ceremony-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ceremony-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.ceremony-details {
    padding: 2rem;
}

.ceremony-details h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item .icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.detail-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.reception-note {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.reception-note p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    text-align: center;
}

/* ===== ATTIRE SECTION ===== */
.attire-section {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.content-wrapper-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.attire-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.attire-description {
    text-align: center;
    margin-top: 2rem;
}

.attire-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== STORY CTA SECTION ===== */
.story-cta-section {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.story-cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.story-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-light);
}

.story-cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.story-cta-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.story-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== RSVP CTA SECTION ===== */
.rsvp-cta-section {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rsvp-cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rsvp-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 37%;
}

.rsvp-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-light);
}

.rsvp-cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.rsvp-cta-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.rsvp-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #c5a028;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 3rem;
    width: 90%;
    max-width: 600px;
    border-radius: 2px;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

/* ===== FORM ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 2px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 2px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* ===== OUR STORY SECTION ===== */
.our-story-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.story-content {
    margin-top: 2rem;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

/* ===== TRAVEL & STAY SECTION ===== */
.travel-stay-section {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.coming-soon {
    text-align: center;
    padding: 3rem 0;
}

.icon-large {
    width: 80px;
    height: 80px;
    color: var(--accent-color);
    margin: 0 auto 2rem;
}

.coming-soon p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.coming-soon .subtext {
    font-size: 1rem;
    color: var(--text-light);
}

/* ===== REGISTRY SECTION ===== */
.registry-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.registry-content {
    text-align: center;
    margin-top: 2rem;
}

.registry-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.registry-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-names {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-date {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-tagline {
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.8;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ceremony-details h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-names {
        font-size: 3rem;
    }

    .hero-date {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .story-cta-content h2,
    .rsvp-cta-content h2 {
        font-size: 2rem;
    }

    .modal-content {
        padding: 2rem;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .hero-names {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .ceremony-section,
    .attire-section,
    .our-story-section,
    .travel-stay-section,
    .registry-section {
        padding: 4rem 1rem;
    }
}
