/* ========================================
   VARIABLES & RESET
   ======================================== */

:root {
    --primary-color: #d4a373;
    --secondary-color: #8b7355;
    --accent-color: #e8d5c4;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --bg-light: #faf8f6;
    --gold: #c9a96e;
    --blush: #f4e9e1;

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
}

.section-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 2rem auto 3rem;
}

/* ========================================
   CONTAINERS
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 3px;
}

.navbar.scrolled .nav-logo {
    color: var(--primary-color);
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.rsvp-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--white);
    border-radius: 0;
}

.navbar.scrolled .nav-link.rsvp-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-link.rsvp-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

.navbar.scrolled .nav-link.rsvp-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

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

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--text-dark);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background: url('img/couple-willow-tree-portrait.jpeg') center/cover no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    transform-origin: top center;
}

.hero.lifting {
    transform: translateY(-100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero.lifting .hero-overlay {
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(139, 115, 85, 0.3));
    transition: opacity 0.6s ease;
}

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

.couple-names {
    font-size: 6rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 8px;
    animation: fadeInUp 1s ease-out;
}

.hero-divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--white), transparent);
    margin: 2rem auto;
    animation: fadeIn 1.5s ease-out;
}

.hero-date {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    letter-spacing: 4px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-location {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInUp 1.4s ease-out;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.15);
    opacity: 0.8;
}

.scroll-indicator:active {
    transform: translateX(-50%) scale(0.95);
}

.scroll-indicator::after {
    content: 'Click to reveal';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 0.75rem;
    font-family: var(--font-body);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-indicator:hover::after {
    opacity: 0.9;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ========================================
   COUNTDOWN SECTION
   ======================================== */

.countdown-section {
    padding: 6rem 0;
    background: var(--bg-light);
    text-align: center;
    position: relative;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.countdown-section.reveal {
    opacity: 1;
}

.wedding-date {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 3rem;
    letter-spacing: 3px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ========================================
   STORY SECTION
   ======================================== */

.story {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    z-index: 10;
    margin-top: -1px;
}

.story-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    padding-top: 2rem;
}

.story-item {
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-date {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.story-item h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery {
    padding: 7rem 0;
    background: var(--blush);
    position: relative;
    z-index: 10;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    border-radius: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* ========================================
   DETAILS SECTION
   ======================================== */

.details {
    padding: 7rem 0;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.detail-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-light);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.detail-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--accent-color);
}

.detail-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.detail-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.detail-time {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 1rem 0;
}

.detail-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.detail-note {
    font-style: italic;
    margin-top: 1rem;
    color: var(--secondary-color) !important;
}

/* ========================================
   SCHEDULE SECTION
   ======================================== */

.schedule {
    padding: 7rem 0;
    background: var(--blush);
    position: relative;
    z-index: 10;
}

.timeline {
    max-width: 700px;
    margin: 3rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--accent-color));
}

.timeline-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-time {
    min-width: 90px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 114px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border: 3px solid var(--white);
    border-radius: 50%;
}

.timeline-content {
    flex: 1;
    padding-left: 2rem;
}

.timeline-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
}

/* ========================================
   LOCATION SECTION
   ======================================== */

.location {
    padding: 7rem 0;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.location-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.venue-address {
    display: flex;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.venue-address svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--primary-color);
}

.venue-details {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-left: 3px solid var(--gold);
}

.venue-details p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.venue-details p:last-child {
    margin-bottom: 0;
}

.venue-details strong {
    color: var(--text-dark);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: var(--bg-light);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder iframe {
    filter: grayscale(20%);
}

.accommodations {
    margin-top: 4rem;
}

.accommodations h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hotel-card {
    padding: 2rem;
    background: var(--bg-light);
    border: 1px solid var(--accent-color);
    transition: var(--transition);
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.hotel-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hotel-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* ========================================
   RSVP SECTION
   ======================================== */

.rsvp {
    padding: 7rem 0;
    background: var(--blush);
    position: relative;
    z-index: 10;
}

.rsvp-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

.rsvp-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.meal-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.8rem 1.5rem;
    background: var(--bg-light);
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
    border: 2px solid transparent;
    border-radius: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.8rem 1rem;
    background: var(--bg-light);
    transition: var(--transition);
}

.radio-label:first-child {
    border-color: #e8f5e9;
}

.radio-label:last-child {
    border-color: #fce4ec;
}

.radio-label:first-child:hover {
    background: #e8f5e9;
    border-color: #4caf50;
}

.radio-label:last-child:hover {
    background: #fce4ec;
    border-color: #e57373;
}

.radio-label input:checked + span {
    font-weight: 600;
}

.radio-label:first-child:has(input:checked) {
    background: #e8f5e9;
    border-color: #4caf50;
}

.radio-label:last-child:has(input:checked) {
    background: #fce4ec;
    border-color: #e57373;
}

.checkbox-label:hover {
    background: var(--accent-color);
}

.radio-label input,
.checkbox-label input {
    width: auto;
    cursor: pointer;
}

/* Dietary Pills */
.dietary-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pill {
    padding: 0.7rem 1.4rem;
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, var(--white), var(--bg-light));
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.pill:hover::before {
    left: 100%;
}

.pill:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--blush), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.25);
}

.pill.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.4);
    transform: scale(1.05);
}

.pill.active::after {
    content: '✓';
    margin-left: 0.5rem;
    font-weight: 700;
}

.pill:active {
    transform: translateY(-1px) scale(0.98);
}

.rsvp-form button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
}

.rsvp-success {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 4rem 3rem;
    box-shadow: var(--shadow);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.rsvp-success h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.rsvp-success p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 4rem 0 2rem;
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
}

.footer-monogram {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-date {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.footer-divider {
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 2rem auto;
}

.footer-contact {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: var(--gold);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.footer-contact a:hover {
    border-bottom-color: var(--gold);
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline::before {
        left: 100px;
    }

    .timeline-item::after {
        left: 94px;
    }

    .section-title {
        font-size: 3rem;
    }

    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .story-item h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    /* Typography */
    .section-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        min-height: 600px;
    }

    .couple-names {
        font-size: 3.5rem;
        letter-spacing: 4px;
        margin-bottom: 1rem;
    }

    .hero-date {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .hero-location {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-divider {
        width: 150px;
        margin: 1.5rem auto;
    }

    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }

    .navbar.scrolled {
        padding: 0.8rem 0;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-logo {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 0.8rem 0;
        width: 100%;
    }

    .nav-menu .nav-link {
        color: var(--text-dark);
        font-size: 1rem;
    }

    .nav-link.rsvp-btn {
        margin-top: 1rem;
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    /* Sections */
    .countdown-section,
    .story,
    .gallery,
    .details,
    .schedule,
    .location,
    .rsvp {
        padding: 5rem 0;
    }

    .story-timeline {
        gap: 4rem;
        padding-top: 1rem;
    }

    .container,
    .container-fluid {
        padding: 0 1.5rem;
    }

    /* Countdown */
    .wedding-date {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .countdown {
        gap: 1.5rem;
    }

    .countdown-value {
        font-size: 3rem;
    }

    .countdown-label {
        font-size: 0.85rem;
    }

    /* Story */
    .story-timeline {
        gap: 3rem;
    }

    .story-item h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .story-item p {
        font-size: 1rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item {
        aspect-ratio: 4/5;
    }

    .gallery-overlay {
        padding: 1.5rem;
    }

    .gallery-overlay p {
        font-size: 1.3rem;
    }

    /* Details */
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detail-card {
        padding: 2.5rem 1.5rem;
    }

    .detail-card h3 {
        font-size: 1.8rem;
    }

    .detail-time {
        font-size: 1.3rem;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
        padding-left: 50px;
        margin-bottom: 2.5rem;
    }

    .timeline-time {
        text-align: left;
        font-size: 1.2rem;
        min-width: auto;
    }

    .timeline-item::after {
        left: 14px;
        width: 12px;
        height: 12px;
    }

    .timeline-content {
        padding-left: 0;
    }

    .timeline-content h4 {
        font-size: 1.3rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
    }

    /* Location */
    .location-info h3 {
        font-size: 2rem;
    }

    .venue-address {
        font-size: 1rem;
    }

    .venue-details {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .venue-details p {
        font-size: 0.95rem;
    }

    .map-placeholder {
        min-height: 300px;
    }

    .accommodations h3 {
        font-size: 2rem;
    }

    .hotel-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hotel-card {
        padding: 1.5rem;
    }

    /* RSVP Form */
    .rsvp-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .rsvp-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 1rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .btn-lg {
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
    }

    .rsvp-success {
        padding: 3rem 2rem;
    }

    .rsvp-success h3 {
        font-size: 2rem;
    }

    .rsvp-success p {
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-monogram {
        font-size: 2.5rem;
    }

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

    .footer-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Typography */
    .section-title {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }

    .section-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .section-divider {
        width: 60px;
        margin: 1.5rem auto 2rem;
    }

    /* Hero */
    .hero {
        min-height: 500px;
    }

    .couple-names {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

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

    .hero-location {
        font-size: 0.9rem;
    }

    .hero-divider {
        width: 120px;
    }

    .scroll-indicator {
        bottom: 15px;
    }

    .scroll-indicator::after {
        font-size: 0.7rem;
        bottom: -30px;
    }

    /* Navigation */
    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-menu {
        top: 60px;
    }

    .hamburger span {
        width: 22px;
    }

    /* Sections */
    .countdown-section,
    .story,
    .gallery,
    .details,
    .schedule,
    .location,
    .rsvp {
        padding: 4rem 0;
    }

    .story-timeline {
        gap: 3rem;
    }

    .container,
    .container-fluid {
        padding: 0 1rem;
    }

    /* Countdown */
    .wedding-date {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-value {
        font-size: 2.5rem;
    }

    .countdown-label {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    /* Story */
    .story-timeline {
        gap: 2.5rem;
    }

    .story-date {
        font-size: 0.95rem;
    }

    .story-item h3 {
        font-size: 1.8rem;
    }

    .story-item p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Gallery */
    .gallery-grid {
        gap: 1rem;
    }

    .gallery-item {
        aspect-ratio: 3/4;
    }

    .gallery-overlay {
        padding: 1rem;
    }

    .gallery-overlay p {
        font-size: 1.1rem;
    }

    /* Details */
    .details-grid {
        gap: 1.5rem;
    }

    .detail-card {
        padding: 2rem 1.5rem;
    }

    .detail-icon svg {
        width: 40px;
        height: 40px;
    }

    .detail-card h3 {
        font-size: 1.6rem;
    }

    .detail-time {
        font-size: 1.2rem;
    }

    .detail-card p {
        font-size: 0.95rem;
    }

    /* Timeline */
    .timeline-time {
        font-size: 1.1rem;
    }

    .timeline-content h4 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    /* Location */
    .location-info h3 {
        font-size: 1.8rem;
    }

    .venue-address {
        font-size: 0.95rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .venue-address svg {
        margin-top: 0;
    }

    .venue-details {
        padding: 1.2rem;
    }

    .map-placeholder {
        min-height: 250px;
    }

    .accommodations h3 {
        font-size: 1.8rem;
    }

    .hotel-card h4 {
        font-size: 1.3rem;
    }

    .hotel-card p {
        font-size: 0.9rem;
    }

    /* RSVP */
    .rsvp-subtitle {
        font-size: 0.95rem;
    }

    .rsvp-form {
        padding: 1.5rem 1rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .radio-label,
    .checkbox-label {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    .dietary-pills {
        gap: 0.6rem;
    }

    .pill {
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .btn-lg {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }

    .rsvp-success {
        padding: 2.5rem 1.5rem;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .rsvp-success h3 {
        font-size: 1.8rem;
    }

    .rsvp-success p {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-monogram {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .footer-date {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .footer-text {
        font-size: 0.95rem;
    }

    .footer-contact {
        font-size: 0.9rem;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .couple-names {
        font-size: 2rem;
    }

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

    .countdown-value {
        font-size: 2rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
