@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Great+Vibes&display=swap');

:root {
    --gold: #C5A059;
    --gold-light: #E2C997;
    --royal-blue: #1A2238;
    --charcoal: #333333;
    --text-dark: #222222;
    --text-light: #F8F9FA;
    --white: #FFFFFF;
    --cream: #FCF9F2;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(197, 160, 89, 0.3);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

h1,
h2,
h3,
.names {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 2px;
}

.eyebrow, .cursive, .ampersand {
    font-family: 'Great Vibes', cursive;
}

/* Global Website Background */
.background-container {
    position: fixed; /* Fix to viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1; /* Behind everything */
    overflow: hidden;
    background: url('Images/Website_BG.png') center/cover no-repeat;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(252, 249, 242, 0.5); /* Semi-transparent overlay to make background image softer */
}

.watercolor-splatter {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

.splatter-1 { top: 10%; left: -5%; background: var(--gold); }
.splatter-2 { bottom: 15%; right: -5%; background: var(--gold-light); }
.splatter-3 { top: 50%; left: 80%; background: var(--gold); }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

/* Layout */
.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    gap: 35px; /* Increased spacing */
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--royal-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.section-padding {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section — CSS Grid stacking: image + text layers */
/* Hero Styles */
.index-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('Images/Hero_image_laptop.png') center/cover no-repeat;
    overflow: hidden;
}

@media (max-width: 768px) {
    .index-hero {
        background: url('Images/Hero_image_mobile.png') center/cover no-repeat;
        /* Ensures better mobile focus if the image focal point is central or top */
        background-position: center top; 
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .ampersand {
        display: block;
        margin: 5px 0;
    }
}

.index-hero::before {
    display: none; /* Removing dark overlay as the user asked to make the text adapt to the image directly */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1; /* Fixed visibility */
    transform: translateY(0);
}

.eyebrow-hero {
    font-family: 'Alex Brush', cursive;
    font-size: clamp(2.2rem, 7vw, 3.8rem);
    color: var(--royal-blue);
    text-transform: none;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(255,255,255,0.9), 0 0 25px rgba(255,255,255,0.7);
    display: block;
}

.eyebrow {
    display: inline-block; /* Helps with text-align center, wait it's just block */
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--royal-blue);
    margin-bottom: 2rem;
    font-weight: 400;
    font-family: 'Great Vibes', 'Playfair Display', cursive;
    text-shadow: 0px 0px 10px rgba(255,255,255,0.8), 0 0 20px rgba(255,255,255,0.6);
}

.names {
    font-size: clamp(2.4rem, 8vw, 5rem);
    color: var(--royal-blue);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0px 0px 15px rgba(255,255,255,0.9), 0 0 30px rgba(255,255,255,0.7);
    padding: 0 10px;
}

.ampersand {
    color: var(--royal-blue);
    font-size: 1.2em;
    margin: 0 15px;
    display: inline-block;
}

.date-hero,
.venue-hero {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--royal-blue);
    margin-top: 0.5rem;
    font-weight: 600;
    text-shadow: 0px 0px 8px rgba(255,255,255,0.9), 0px 0px 15px rgba(255,255,255,0.8);
}

.venue-hero {
    font-weight: 600;
    font-style: italic;
}

.hero-actions {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 1; /* Fixed visibility */
    transform: translateY(0);
}

.scroll-indicator span {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #7a6a56;
    font-weight: 700;
}

.rope-icon {
    width: 80px;
    height: 26px;
    opacity: 0.75;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--gold-light);
    border-radius: 4px;
    animation: scrollWheel 2s infinite;
}

/* Shared Titles */
.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--royal-blue);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--gold);
}

/* Watercolor Decoration Brush Strokes */
.watercolor-accent {
    position: absolute;
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
    filter: blur(20px);
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 0; /* Boxy Royal Look */
    box-shadow: var(--shadow);
    padding: 3rem;
    position: relative;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(197, 160, 89, 0.15);
    pointer-events: none;
}

/* Events Section */
.events-section {
    padding: 60px 0 100px;
    background: transparent;
}

.event-header h3 {
    font-size: 2.2rem;
    color: var(--royal-blue);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.event-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.event-time {
    color: var(--gold);
    font-weight: 700;
}

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

.icon {
    font-size: 1.5rem;
    margin-right: 15px;
    line-height: 1;
}

.detail-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 5px;
}

.map-link {
    display: inline-block;
    color: var(--emerald);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    border-bottom: 1px solid var(--emerald);
    margin-top: 5px;
    transition: color 0.3s;
}

.map-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.attire-row p {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.color-note {
    font-style: italic;
    color: #555;
    margin-top: 8px !important;
}

.attire-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin-top: 15px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .attire-img {
        max-width: 100%;
    }
}

/* Gallery Section */
/* Gallery Section */
.gallery-section {
    padding: 100px 0 150px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.wrapper {
  --card-trans-duration: 1000ms;
  --card-trans-easing: linear(0, 0.01 0.8%, 0.038 1.6%, 0.154 3.4%, 0.781 9.7%, 1.01 12.5%, 1.089 13.8%, 1.153 15.2%, 1.195 16.6%, 1.219 18%, 1.224 19.7%, 1.208 21.6%, 1.172 23.6%, 1.057 28.6%, 1.007 31.2%, 0.969 34.1%, 0.951 37.1%, 0.953 40.9%, 0.998 50.4%, 1.011 56%, 0.998 74.7%, 1);
  --card-border-radius: 12px;
  --card-width: 25vmin; /* slightly bigger frames to show the couples */
  --radius: 50vmin; 
  --cards: 5; /* 5 photos */
  --arc-size: 0.25;          /* essentially the distance between cards */
  --arc-center: 0.75;        /* top */
  --arc-start: calc(var(--arc-center) - var(--arc-size) / 2);
  --arc-shift: 0;
  --arc-shift-delta: 0.015;

  position: relative;
  width: var(--card-width);
  aspect-ratio: 4/5;
  margin-top: clamp(100px, 25vmin, 250px); /* Push the arc down so it doesn't overlap the heading */
  background: transparent;
}

.wrapper > div {
  --card-i: 1; /* Fallback */
  --arc-step: calc(var(--arc-size) / (var(--cards) - 1));
    
  position: absolute;
  width: var(--card-width);
  aspect-ratio: 4/5;
  background: white;
  border-radius: var(--card-border-radius);
  padding: 8px; /* glass polaroid look */

  offset-path: circle(var(--radius) at 50% 100%);
  offset-distance: calc(
    (var(--arc-start)
     + (var(--card-i) - 1) * var(--arc-step)
     + var(--arc-shift)
    ) * 100%
  );
	
  offset-rotate: auto;
  offset-anchor: 50% 0%;
  transition: all var(--card-trans-duration) var(--card-trans-easing);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Adjust sibling indices manually since CSS nesting is not natively supported without post-processor yet, using standard CSS selectors */
.wrapper > div:nth-child(1) { --card-i: 1; z-index: 0; }
.wrapper > div:nth-child(2) { --card-i: 2; z-index: 1; }
.wrapper > div:nth-child(3) { --card-i: 3; z-index: 3; }
.wrapper > div:nth-child(4) { --card-i: 4; z-index: 1; }
.wrapper > div:nth-child(5) { --card-i: 5; z-index: 0; }

.wrapper > div:hover {
  offset-anchor: 50% 10%;
  z-index: 10 !important;
}

.wrapper > div:hover + div { --arc-shift: calc(var(--arc-shift-delta) * 2); }
.wrapper > div:hover + div + div { --arc-shift: calc(var(--arc-shift-delta) * 1); }

/* Using `:has` for predecessor pushing */
.wrapper > div:has(+ *:hover) { --arc-shift: calc(var(--arc-shift-delta) * -2); }
.wrapper > div:has(+ * + *:hover) { --arc-shift: calc(var(--arc-shift-delta) * -1); }

.wrapper > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
} 

.wrapper > div:hover > img,
.wrapper > div.touched > img {
  filter: grayscale(0%);
}

.wrapper.color-gallery > div > img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .wrapper {
        --card-width: 35vmin;
        --radius: 65vmin; 
    }
}

/* Travel Section */
.travel-section {
    padding: 60px 0 100px;
}

.travel-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.travel-card .section-title {
    color: var(--navy);
    text-shadow: none;
    margin-bottom: 1.5rem;
}

.travel-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.travel-subsection {
    text-align: left;
    margin-top: 2rem;
}

.travel-subsection h3 {
    color: var(--emerald-dark);
    margin-bottom: 0.8rem;
}

.subsection-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.heading-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-dark);
    background: rgba(0, 75, 35, 0.1);
    flex-shrink: 0;
}

.heading-icon svg {
    width: 16px;
    height: 16px;
}

.travel-subsection ul {
    padding-left: 20px;
}

.travel-subsection li {
    margin-bottom: 0.4rem;
}

.hotel-info h3 {
    font-size: 2rem;
    color: var(--emerald-dark);
    margin-bottom: 1.5rem;
}

.booking-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.or {
    font-style: italic;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 3px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background-color: var(--royal-blue);
    color: var(--white);
    border: 1px solid var(--royal-blue);
}

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

.secondary-btn {
    background-color: transparent;
    color: var(--royal-blue);
    border: 1px solid var(--royal-blue);
}

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

/* Footer / RSVP */
.rsvp-footer {
    padding-bottom: 100px;
}

.footer-content {
    text-align: center;
    background: rgba(10, 17, 40, 0.9);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-content h2 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.guest-counts {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: inline-block;
}

.contact-card {
    margin: 2rem 0;
}

.contact-role {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
}

.contact-name {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin: 0.5rem 0 1.5rem;
}

.footer-content .primary-btn {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.footer-content .primary-btn:hover {
    background-color: transparent;
    color: var(--gold);
}

.closing {
    margin-top: 3rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold-light);
}

.page-hero {
    padding: 140px 20px 100px;
    background: url('Images/img60.jpg') center/cover no-repeat;
    position: relative;
    border-bottom: 2px solid var(--gold);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Darker overlay for text readability */
}

.page-hero-card {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 2rem 0;
}

.page-hero-card::before {
    display: none;
}

.page-hero-card h1 {
    color: white;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    margin-bottom: 0.6rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.page-hero-card p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
    font-size: 1.2rem;
}

@keyframes fadePulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.memory-section {
    padding: 20px 0 110px;
}

.featured-memory {
    max-width: 900px;
    margin: 0 auto 24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.featured-memory img {
    width: 100%;
    height: clamp(280px, 52vw, 520px);
    object-fit: cover;
    display: block;
}

.proposal-highlight img {
    object-position: center 78%;
}

.home-memory-title {
    color: var(--navy);
    text-shadow: none;
    margin-bottom: 1rem;
}

.memory-carousel-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.memory-display {
    width: min(100%, 760px);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.35);
}

.memory-main-image {
    width: 100%;
    height: clamp(260px, 48vw, 470px);
    object-fit: contain;
    display: block;
    border-radius: 8px;
    cursor: zoom-in;
    background: rgba(255, 255, 255, 0.35);
}

.highlighted-memory {
    outline: 3px solid var(--gold);
    outline-offset: -3px;
}

.memory-nav-btn {
    border: 1px solid rgba(0, 75, 35, 0.35);
    background: rgba(255, 255, 255, 0.85);
    color: var(--emerald-dark);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    flex: 0 0 auto;
}

.memory-nav-btn:hover {
    background: var(--emerald-dark);
    color: #fff;
}

.memory-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 17, 40, 0.88);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.memory-modal.show {
    display: flex;
}

.memory-modal img {
    max-width: min(1200px, 92vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 10px;
    background: #111;
}

.memory-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.site-footer {
    position: relative;
    z-index: 10;
    background: rgba(10, 17, 40, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 50px;
}

.footer-inner {
    color: #f5f5f5;
    text-align: left;
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.planner-logo {
    max-width: 150px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

.footer-text {
    margin-left: auto;
    max-width: 620px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-text p {
    margin-bottom: 4px;
}

.footer-inner a {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.92rem;
}

.countdown-section {
    padding: 0 0 70px;
}

.countdown-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 1.4rem 1.2rem;
}

.countdown-title {
    color: var(--royal-blue);
    font-family: 'Great Vibes', 'Playfair Display', cursive;
    font-size: clamp(1.65rem, 3.8vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 0.9rem;
    white-space: nowrap;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(90px, 1fr));
    gap: 4px;
    max-width: 560px;
    margin: 0 auto;
}

.countdown-item span {
    display: block;
    color: var(--royal-blue);
    font-size: clamp(1.6rem, 4vw, 2.7rem);
    font-weight: 700;
    line-height: 1;
}

.countdown-item small {
    color: var(--royal-blue);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1.8px;
}

.memory-tiles {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.memory-tiles::-webkit-scrollbar {
    height: 8px;
}

.memory-tiles::-webkit-scrollbar-thumb {
    background: rgba(0, 75, 35, 0.4);
    border-radius: 999px;
}

.memory-tile {
    min-width: 220px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.memory-tile img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.faq-section {
    padding: 40px 0 100px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item h3 {
    color: var(--emerald-dark);
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
}

.faq-item p {
    color: var(--navy);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 17, 40, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: white;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 2px solid white;
    transition: var(--transition);
    z-index: 10;
}

.close-modal:hover {
    background: var(--emerald-dark);
    transform: scale(1.1);
}

.map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #e5e3df; /* Placeholder map background */
}

/* Animations & Responsive */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .names {
        font-size: 3rem;
    }

    .ampersand {
        font-size: 2.5rem;
    }

    .glass-panel {
        padding: 1.4rem 1rem;
    }

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

    .booking-actions {
        flex-direction: column;
        gap: 10px;
    }

    .nav-inner {
        gap: 10px 14px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .nav-link {
        white-space: nowrap;
    }

    .memory-tiles {
        display: flex;
    }

    .memory-tile {
        min-width: 240px;
    }

    .memory-main-image {
        height: clamp(220px, 52vw, 330px);
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .planner-logo {
        max-width: 130px;
    }

    .footer-text {
        margin-left: 0;
        font-size: 0.86rem;
    }

    .countdown-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .countdown-card {
        max-width: 420px;
        border-radius: 16px;
        padding: 1.15rem 0.9rem;
    }

    .countdown-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .countdown-item span {
        font-size: 1.8rem;
    }

    .countdown-item small {
        font-size: 0.56rem;
        letter-spacing: 1.2px;
    }

    /* Hero mobile tweaks */
    .hero-content {
        padding: 8px;
        margin-bottom: 12%; /* More shift up on mobile too */
    }

    .eyebrow {
        margin-bottom: 1rem;
    }

    .names {
        font-size: clamp(2rem, 7vw, 3.5rem);
        margin-bottom: 1rem;
    }

    .ampersand {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }

    .date-hero, .venue-hero {
        font-size: 0.95rem;
    }

    .scroll-indicator span {
        font-size: 0.6rem;
        letter-spacing: 3px;
    }

    .rope-icon {
        width: 55px;
    }
}

/* Small phones (max 480px) */
@media (max-width: 480px) {
    .hero-content {
        width: 85%;
        margin-bottom: 14%;
    }

    .eyebrow {
        margin-bottom: 0.75rem;
    }

    .names {
        font-size: clamp(1.6rem, 8vw, 2.5rem);
        line-height: 1.15;
    }

    .ampersand {
        font-size: clamp(1.4rem, 7vw, 2.2rem);
        padding: 0 5px;
    }

    .date-hero, .venue-hero {
        font-size: 0.85rem;
    }
}

/* Tablet (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        margin-bottom: 11%;
        max-width: 580px;
    }

    .names {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .ampersand {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
}