/* ===========================
   Wedding Website Styles
   Adina & Andrew
   =========================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Font Loading */

@font-face {
    font-family: 'PP Playground';
    src: url('fonts/PPPlayground-Medium.woff2') format('woff2'),
         url('fonts/PPPlayground-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'PP Watch';
    src: url('fonts/PPWatch-Bold.woff2') format('woff2'),
         url('fonts/PPWatch-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Sentient';
    src: url('fonts/Sentient-Regular.woff2') format('woff2'),
         url('fonts/Sentient-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

:root {
    /* Colors */
    --color-dark-green: #1a3a2e;
    --color-soft-white: #F1EDEA;
    --color-accent: #2d5a4a;

    /* Fonts */
    --font-title: 'PP Playground', 'Brush Script MT', cursive;
    --font-heading: 'PP Watch', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Sentient', 'Baskerville', Georgia, serif;
}

/* Body & Typography */
body {
    font-family: var(--font-body);
    background-color: var(--color-soft-white);
    color: var(--color-dark-green);
    line-height: 1.6;
    font-size: 18px;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-soft-white);
    padding: 1.5rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 58, 46, 0.1);
}

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

.site-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-dark-green);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-dark-green);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem 3rem;
    margin-top: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Optional: Add overlay for better text readability on hero image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 249, 246, 0.7);
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.couple-names {
    font-family: var(--font-title);
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.event-date {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

/* Marquee Animation */
.marquee-container {
    overflow: hidden;
    background-color: var(--color-dark-green);
    color: var(--color-soft-white);
    padding: 1rem 0;
    margin: 0;
}

.marquee-container.marquee-large {
    padding: 1.5rem 0;
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

.marquee span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding-right: 2rem;
}

.marquee-large .marquee span {
    font-size: 2rem;
    letter-spacing: 0.25em;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* To make marquee seamless, duplicate the content */
.marquee span::after {
    content: attr(data-text);
}

/* Content Wrapper */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Introduction Section */
.intro {
    padding: 3rem 0;
    text-align: center;
}

.intro p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Page Header (for subpages) */
.page-header {
    padding: 6rem 2rem 2rem;
    margin-top: 80px;
    text-align: center;
}

.page-header .section-heading {
    margin-bottom: 0;
}

/* Our Story Section */
.our-story {
    padding: 3rem 0;
    text-align: center;
}

.section-heading {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.image-placeholder {
    aspect-ratio: 4/5;
    background-color: rgba(26, 58, 46, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 58, 46, 0.1);
}

.image-placeholder p {
    font-family: var(--font-heading);
    color: rgba(26, 58, 46, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.story-text {
    text-align: center;
}

.story-text p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Section Divider */
.section-divider {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.8rem;
    color: var(--color-dark-green);
    padding: 2rem 0;
}

/* The Weekend Section */
.the-weekend {
    padding: 3rem 0;
}

.event {
    margin-bottom: 2.5rem;
    text-align: center;
}

.event:last-child {
    margin-bottom: 0;
}

.event-day {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.event-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.4rem;
}

.event-time {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.event-location {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Where to Stay & Things to Do Sections */
.where-to-stay,
.things-to-do {
    padding: 3rem 0;
    text-align: center;
}

.where-to-stay p,
.things-to-do p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.where-to-stay .content-wrapper,
.things-to-do .content-wrapper {
    text-align: center;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-soft-white);
    background-color: var(--color-dark-green);
    padding: 1rem 3rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: 2px solid var(--color-dark-green);
}

.cta-button:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

/* RSVP Section */
.rsvp-section {
    padding: 3rem 0;
}

.rsvp-prompt {
    text-align: center;
    font-size: 1rem;
    margin: 2rem 0 1.5rem;
}

.rsvp-section .content-wrapper {
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-top: 1px solid rgba(26, 58, 46, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 0.8rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.7rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 3rem 1.5rem 2rem;
    }

    .couple-names {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }

    .event-date {
        font-size: 0.85rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .story-images {
        grid-template-columns: 1fr;
    }

    .marquee span {
        font-size: 0.95rem;
    }

    .marquee-large .marquee span {
        font-size: 1.5rem;
    }

    .event-day {
        font-size: 1.8rem;
    }

    .content-wrapper {
        padding: 0 1.5rem;
    }

    .intro, .our-story, .the-weekend, .where-to-stay, .things-to-do, .rsvp-section, .photos-section, .faq-section, .attractions-section, .registry-section {
        padding: 2rem 0;
    }

    .section-divider {
        padding: 1.5rem 0;
    }
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.photos-section {
    padding: 3rem 0;
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0;
}

.faq-list {
    max-width: 700px;
    margin: 2rem auto 0;
}

.faq-item {
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.7;
}

/* Attractions Section */
.attractions-section {
    padding: 3rem 0;
    text-align: center;
}

.attractions-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.attraction-item {
    text-align: center;
}

.attraction-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* Registry Section */
.registry-section {
    padding: 3rem 0;
    text-align: center;
}

.registry-links {
    margin-top: 2rem;
}

.registry-placeholder {
    font-style: italic;
    opacity: 0.7;
}

/* Hotel List */
.hotel-list {
    margin-top: 2rem;
}

/* Save the Date Page */
.save-the-date-content {
    padding: 6rem 0 5rem;
    text-align: center;
}

.std-announcement {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.std-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    font-weight: 400;
}

.std-intro {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.std-names {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.std-names-image {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.std-details {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
}

.std-travel {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(26, 58, 46, 0.2);
}

.std-section-title {
    font-family: var(--font-title);
    font-size: 3rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.std-hotel {
    margin-bottom: 2.5rem;
    text-align: left;
}

.std-hotel:last-child {
    margin-bottom: 0;
}

.std-hotel-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.std-hotel-description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.std-hotel-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-dark-green);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.std-hotel-link:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .attractions-list {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .couple-names {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }

    .marquee-large .marquee span {
        font-size: 1.2rem;
    }

    .faq-question,
    .attraction-name {
        font-size: 1rem;
    }

    .std-names {
        font-size: 2.5rem;
    }

    .std-names-image {
        max-width: 90%;
    }

    .std-heading {
        font-size: 1.2rem;
    }

    .std-section-title {
        font-size: 2rem;
    }

    .std-intro,
    .std-details {
        font-size: 1rem;
    }

    .std-hotel-name {
        font-size: 1rem;
    }

    .std-hotel-description {
        font-size: 0.95rem;
    }
}