/* === CSS Variables: Norwegian & Tajik Flag Colors === */
:root {
    /* Flag colors */
    --flag-red: #b50603;
    --flag-blue: #00538f;
    --flag-white: #ffffff;
    --flag-platinum: #E2E2E2;
    --flag-green: #306b34;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --bg-platinum: #E2E2E2;
    --bg-snow: #f7f5fb;
    --primary: #ae5147; /* warm accent color */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
    --font-script: 'Cinzel Decorative', cursive;

    /* Spacing */
    --section-padding: 80px 20px;
    --container-max: 1200px;
}

/* === Global Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h2 {
    font-family: var(--font-script) !important;
    font-size: 30px !important;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

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

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-script), var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    background: #ae5147;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--norway-blue), var(--tajik-emerald));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* Font Awesome accent color */
.fa-accent {
    color: #ae5147;
}

.fa-lg-accent { font-size: 1.8rem; color: #ae5147; }
.fa-md-accent { font-size: 1.3rem; color: #ae5147; }

/* === Hero Section === */
.hero {
    margin-top: 68px;
    height: calc(100vh - 68px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f5fb;
    /* background-image: url('images/1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    text-align: center;
    color: var(--norway-white);
    z-index: 1;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* allow the image to wrap below text on small screens */
    text-align: left;
    width: var(--container-max);
}

.couple-img {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 0; /* reset: gap handled by flex gap */
}

.couple-img img {
    max-width: 500px;
    width: 100%;
    height: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* move the image slightly further down on larger screens */
@media (min-width: 900px) {
    .couple-img {
        margin-top: 2rem;
        width: 45%;
    }
}

/* Hero text takes remaining space and stays readable */
.hero-text {
    flex: 1 1 45%;
    min-width: 260px;
}

@media (max-width: 700px) {
    .hero-content {
        gap: 1.5rem;
    }
    .couple-img {
        width: 100%;
        margin-top: 1rem;
    }
    .hero-text {
        width: 100%;
    }
    .welcome-content blockquote {
        font-size: 16px;
        padding: 0.8rem 1.2rem;
    }
    .welcome-content blockquote::before {
        font-size: 2.5rem;
        left: 5px;
        top: -8px;
    }
}

/* ensure image scales nicely on small screens */
@media (max-width: 480px) {
    .couple-img img {
        width: 100%;
        max-width: 100%;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    }
}

/* Full width image for short or narrow viewports */
@media (max-height: 800px), (max-width: 900px) {
    .hero {
        height: auto;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .couple-img {
        order: 2;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-text {
        order: 1;
    }
    
    .image-birds {
        margin-top: 2rem;
    }
    
    .couple-img img {
        width: 100%;
        max-width: 100%;
        margin: 2rem 0;
    }
}

.hero-title {
    font-family: var(--font-script);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease;
}

.image-birds {
    display: flex;
    justify-content: center;
    align-items: center;
}

.legendary-union {
    font-family: var(--font-script), var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: var(--bg-white);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-date {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--tajik-gold);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.welcome-content blockquote {
    font-family: var(--font-body);
    font-size: 18px;
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #ae5147;
    background: rgba(174, 81, 71, 0.05);
    border-radius: 8px;
    position: relative;
    line-height: 1.6;
    display: inline-block;
    max-width: 100%;
}

.welcome-content blockquote::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 3rem;
    color: #ae5147;
    position: absolute;
    left: 8px;
    top: -10px;
    opacity: 0.3;
}

.date-container {
    margin-top: 1.5rem;
    text-align: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.wedding-date {
    font-size: 20px;
    font-weight: 400;
    color: #ae5147;
    margin-bottom: 0.8rem;
    font-family: var(--font-body);
}

.vacation-dates {
    font-size: 16px;
    font-weight: 400;
    color: black;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.date-container .location {
    font-size: 16px;
    font-weight: 400;
    color: var(--tajik-gold);
    margin-top: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === Welcome Section === */
.welcome {
    padding: var(--section-padding);
    background: var(--bg-white);
}

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

.welcome-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.welcome-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--norway-red), var(--tajik-gold));
}

.lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 20px;
}

.welcome-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* === Section Titles === */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: black;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--norway-red), var(--tajik-gold));
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: -30px auto 50px;
}

/* === Celebration Section === */
.celebration {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.celebration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.celebration-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--secondary);
}

.celebration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.celebration-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.celebration-card p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.celebration-card .detail {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
}

.weather-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.weather-link:hover {
    color: var(--flag-blue);
    transform: translateX(3px);
}

/* === Adventure Section === */
.adventure {
    padding: var(--section-padding);
    background: var(--bg-snow);
}

.timeline {
    max-width: 900px;
    margin: 50px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--norway-blue), var(--tajik-emerald));
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    /* orange bubble for timeline icons */
    background: #ae5147;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    z-index: 1;
    border: 5px solid #ae5147;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Ensure Font Awesome icons inside timeline bubbles are white */
.timeline-icon i {
    color: #ffffff !important;
}

.timeline-content {
    flex: 1;
    background: var(--bg-snow);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.timeline-content ul {
    margin-left: 20px;
    margin-top: 15px;
}

.timeline-content li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.timeline-content .note {
    margin-top: 15px;
    padding: 10px;
    background: var(--bg-white);
    border-left: 3px solid var(--tajik-gold);
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
}

/* === Durres Section === */

/* === Gifts Section === */
.gifts {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.gifts-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--secondary);
}

.gift-icon {
    margin-bottom: 30px;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.gifts-content .lead {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.gifts-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.gifts-content p:last-child {
    margin-bottom: 0;
}
.durres {
    padding: var(--section-padding);
    background: var(--bg-snow);
}

.durres-intro {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px;
}

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

.location-intro {
    margin-bottom: 20px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.highlight-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: visible;
    z-index: 10;
}

.highlight-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-card img:hover {
    transform: scale(1.5);
}

.highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    padding: 20px 20px 10px;
}

.highlight-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

.accommodation-info {
    background: linear-gradient(135deg, var(--norway-blue), var(--tajik-emerald));
    color: var(--norway-white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.accommodation-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
}

/* === Albania Section === */
.albania {
    padding: var(--section-padding);
    background: var(--bg-snow);
}

.albania-section {
    padding: var(--section-padding);
    background: var(--bg-snow);
}

.albania-section .section-title {
    color: var(--primary);
}

.location-highlight {
    margin-bottom: 4rem;
}

.durres-highlight {
    background: linear-gradient(135deg, rgba(0, 83, 143, 0.02), rgba(48, 107, 52, 0.02));
    padding: 2rem;
    border-radius: 20px;
}

.albania-highlights {
    padding: 2rem 0;
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--secondary);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--flag-blue), var(--flag-green));
}

.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tajik-gold), transparent);
    margin: 4rem 0;
    position: relative;
}

.section-divider::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-white);
    padding: 0 15px;
    color: var(--tajik-gold);
    font-size: 1.2rem;
}

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

.destination-card {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #ae5147;
    position: relative;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    overflow: visible;
    z-index: 10;
}

.destination-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card img:hover {
    transform: scale(1.5);
}

.destination-card h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
}

.destination-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.destination-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 30px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: var(--bg-white);
    border-color: var(--secondary);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--flag-blue), var(--flag-green));
    color: var(--flag-white);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.destination-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.destination-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.destination-text ul {
    margin-top: 20px;
    margin-left: 20px;
}

.destination-text li {
    margin-bottom: 15px;
    color: var(--text-light);
}

.destination-text strong {
    color: var(--primary);
}

.destination-text .note {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-left: 4px solid var(--tajik-gold);
    font-style: italic;
    color: var(--text-light);
}

.destination-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* === Practical Section === */
.practical {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.practical .section-title {
    color: var(--primary);
}

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

.practical-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--secondary);
}

.practical-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.practical-card p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.practical-card strong {
    color: var(--primary);
}

.practical-card .note {
    margin-top: 15px;
    padding: 10px;
    background: var(--bg-light);
    border-left: 3px solid var(--tajik-gold);
    font-size: 0.9rem;
    font-style: italic;
}

/* === RSVP Section === */
.rsvp {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.form-container iframe {
    width: 100%;
    min-height: 1200px;
    border: none;
}

/* === Contact Section === */
.contact {
    padding: var(--section-padding);
    background: var(--primary);
    color: white;
}

.contact .fa-accent {
    color: var(--bg-white);
}

.contact .section-title {
    color: var(--norway-white);
}

.contact .section-title::after {
    background: var(--tajik-gold);
}

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

.contact-info > p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.contact-icon {
    font-size: 1.8rem;
}

.contact-method a {
    color: var(--tajik-gold);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.contact-method a:hover {
    opacity: 0.8;
}

.contact-method p {
    margin: 0;
}

/* === Footer === */
footer {
    background: #f7f5fb;
    color: var(--norway-white);
    padding: 40px 20px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

.easter-egg-hint {
    font-size: 0.9rem;
    color: #999;
}

#easterEggTrigger {
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

#easterEggTrigger:hover {
    color: var(--tajik-gold);
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

/* === Responsive Design === */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .timeline-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .destination-content {
        grid-template-columns: 1fr;
    }

    .destination-image img {
        height: 300px;
    }

    .contact-methods {
        gap: 20px;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 15px;
    }

    .celebration-grid,
    .highlights-grid,
    .practical-grid {
        grid-template-columns: 1fr;
    }

    .form-container iframe {
        min-height: 1500px;
    }
}

/* === Tajik Pattern Overlay (Subtle) === */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* === Viking/Princess Theme Styles === */
.legendary-union {
    font-family: var(--font-script), var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: black;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.legendary-union:hover {
    color: #ae5147;
    text-shadow: 0 0 15px #ae5147;
    transform: scale(1.05);
}

.couple-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.viking-name,
.princess-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.union-symbol {
    font-size: 2rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.epic-subtitle {
    font-family: var(--font-script), var(--font-heading);
    font-size: 19px;
    font-weight: 400;
    margin: 0.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.epic-subtitle:hover {
    color: #ae5147;
    text-shadow: 0 0 15px #ae5147;
    transform: scale(1.05);
}

.tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 1rem;
}

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

.footer-symbols,
.footer-emojis {
    font-size: 1.8rem;
    margin-top: 0.5rem;
}

.footer-emojis {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* === Epic Tooltip for Hover Phrases === */
.epic-tooltip {
    position: absolute;
    background: #ae5147;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    pointer-events: none;
    white-space: nowrap;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    30% { opacity: 1; transform: translateY(0); }
    70% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* === Info Callout === */
.info-callout {
    text-align: center;
    padding: 3rem;
    background: var(--bg-snow);
    border-radius: 20px;
    border: 2px solid var(--tajik-gold);
}

.info-callout .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #ae5147;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.info-callout .cta-button {
    display: inline-block;
}

/* === FAQ Page Styles === */
.faq-hero {
    min-height: 50vh;
    background-image: url('images/1.jpg');
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 100px 20px 60px;
}

.faq-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Pale overlay so hero background image doesn't overpower text */
.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.65); /* pale white layer */
    z-index: 1;
    pointer-events: none;
}

.faq-hero .hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--text-dark); /* use dark text since background is paled */
    margin-bottom: 1rem;
}

.faq-hero .hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.faq-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

.faq-category {
    margin-bottom: 60px;
}

.faq-category .section-title {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    gap: 30px;
}

/* FAQ Accordion Styles */
.faq-accordion {
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid var(--tajik-gold);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: rgba(0, 83, 143, 0.05);
}

.accordion-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0;
    flex: 1;
    padding-right: 15px;
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 300;
    min-width: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-accordion.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    margin-left: 20px;
    margin-top: 10px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.faq-accordion.active .accordion-content {
    max-height: 2000px;
    padding: 0 20px 15px 20px;
}

.faq-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--tajik-gold);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.faq-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.faq-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 25px;
    margin-bottom: 10px;
}

.faq-item ul {
    margin-left: 25px;
    margin-top: 15px;
}

.faq-item li {
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item li strong {
    color: var(--text-dark);
}

.faq-item .note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--tajik-gold);
    font-style: italic;
    color: var(--text-light);
    border-radius: 5px;
}

.faq-item a {
    color: var(--secondary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.faq-item a:hover {
    color: var(--primary);
}

.faq-cta {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 83, 143, 0.05), rgba(48, 107, 52, 0.05));
    border-radius: 20px;
    margin-top: 40px;
}

.faq-cta h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.faq-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.faq-cta .contact-methods {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.faq-cta .contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--flag-blue), var(--flag-green));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-cta .contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* === Journey to Albania Map Styles === */
.map-section {
    padding: 80px 20px;
    background: var(--bg-snow);
    position: relative;
    overflow: hidden;
}

.map-section .section-title {
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: #8B7355;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.map-section .section-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 3rem;
}

/* Desktop: Use smaller dimension to maintain square aspect ratio */
.interactive-map {
    width: min(90vw, 90vh);
    height: min(90vw, 90vh);
    max-width: 1000px;
    max-height: 1000px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.travel-map {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* Mobile: Fill screen while maintaining square aspect ratio */
@media (max-width: 768px) {
    #travel.map-section {
        padding: 10px 0 0 0 !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        margin-top: 0 !important;
    }

    #travel .container {
        max-width: 100% !important;
        padding: 0 !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    #travel .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 0.25rem !important;
        padding: 0 1rem !important;
        text-align: center !important;
    }

    #travel .section-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
        padding: 0 1rem !important;
        text-align: center !important;
    }

    /* Square map: use the smaller of width or available height */
    #travel .interactive-map {
        width: min(95vw, calc(100vh - 180px)) !important;
        height: min(95vw, calc(100vh - 180px)) !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    #travel .travel-map {
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-width: 480px) {
    #travel.map-section {
        padding: 5px 0 0 0 !important;
    }

    #travel .section-title {
        font-size: 1.2rem !important;
        margin-bottom: 0.2rem !important;
        text-align: center !important;
    }

    #travel .section-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 0.4rem !important;
        text-align: center !important;
    }

    #travel .interactive-map {
        width: min(98vw, calc(100vh - 150px)) !important;
        height: min(98vw, calc(100vh - 150px)) !important;
    }
}

.ancient-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.destination-label {
    font-size: 20px;
    font-weight: 700;
}

.country-marker {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    pointer-events: none;
}

.country-glow {
    pointer-events: none;
    filter: blur(8px);
}

.country-pulse {
    animation: pulse-ring 2s ease-in-out infinite;
    opacity: 0.6;
}

.destination-pulse {
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        r: 45;
        opacity: 0.8;
    }
    50% {
        r: 55;
        opacity: 0.3;
    }
}

.destination-pulse {
    animation: destination-pulse 2s ease-in-out infinite;
}

@keyframes destination-pulse {
    0%, 100% {
        r: 55;
        opacity: 1;
    }
    50% {
        r: 68;
        opacity: 0.4;
    }
}

.flying-plane {
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.journey-container {
    pointer-events: none;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
}

.journey-container image {
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    width: 45px;
    height: 45px;
}

.thought-bubble {
    pointer-events: none;
    animation: thoughtFloat 2s ease-in-out infinite;
}

@keyframes thoughtFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

.country-group {
    pointer-events: none;
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -1000;
    }
}

@keyframes route-glow {
    0%, 100% {
        filter: drop-shadow(0 0 3px currentColor);
    }
    50% {
        filter: drop-shadow(0 0 8px currentColor) drop-shadow(0 0 12px currentColor);
    }
}

.plane {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    opacity: 0.9;
    transition: all 0.3s ease;
}

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

.route-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.route-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    border-color: var(--tajik-gold);
}

.norway-card {
    border-left: 4px solid var(--flag-red);
}

.germany-card {
    border-left: 4px solid #FFCE00;
}

.tajik-card {
    border-left: 4px solid var(--flag-green);
}

.route-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.route-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--tajik-gold);
    margin-bottom: 1rem;
}

.route-path {
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.route-detail {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.route-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* === Durres Map Styles === */
.welcome .durres-map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    margin: 3rem auto 0;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 3px solid var(--tajik-gold);
}

.durres-highlight .durres-map {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 3px solid var(--tajik-gold);
}

.mapboxgl-popup-content {
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* === Responsive adjustments for Viking/Princess theme === */
@media (max-width: 768px) {
    .welcome .durres-map,
    .durres-highlight .durres-map {
        height: 350px;
    }

    .couple-names {
        flex-direction: column;
        gap: 0.5rem;
    }

    .union-symbol {
        font-size: 1.5rem;
    }

    .epic-subtitle {
        font-size: 1.2rem;
    }

    .faq-cta .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .ancient-text {
        font-size: 12px;
    }

    .route-info {
        grid-template-columns: 1fr;
    }
}

/* === Quiz Progress & RSVP Gating Styles === */
.quiz-progress-card {
    margin-bottom: 3rem;
}

.quiz-metrics {
    background: var(--bg-snow);
    border: 2px solid var(--tajik-gold);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.quiz-metrics h3 {
    font-family: var(--font-script), var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.quiz-metrics.no-attempts p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1rem;
}

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

.metric {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.metric:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.95rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.retake-link-container {
    margin-top: 1.5rem;
    text-align: center;
}

.quiz-retake-link {
    display: inline-block;
    color: var(--secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quiz-retake-link:hover {
    color: var(--primary);
    background: rgba(0, 83, 143, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.quiz-requirement {
    margin-top: 2rem;
}

.requirement-box {
    background: var(--bg-snow);
    border: 3px solid var(--tajik-gold);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.requirement-box h3 {
    font-family: var(--font-script), var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.requirement-box p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.requirement-box ul {
    text-align: left;
    max-width: 600px;
    margin: 1.5rem auto;
    list-style-position: inside;
}

.requirement-box li {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.requirement-box li strong {
    color: var(--primary);
}

.requirement-box .encouragement {
    font-style: italic;
    color: var(--secondary);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.requirement-box .cta-button {
    display: inline-block;
    margin-top: 1rem;
}

/* Quiz results page styling */
.rsvp-unlocked,
.rsvp-locked {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.rsvp-unlocked {
    background: linear-gradient(135deg, rgba(48, 107, 52, 0.1), rgba(48, 107, 52, 0.2));
    border: 3px solid var(--flag-green);
}

.rsvp-locked {
    background: linear-gradient(135deg, rgba(181, 6, 3, 0.05), rgba(181, 6, 3, 0.1));
    border: 3px solid var(--flag-red);
}

.rsvp-unlocked h3 {
    color: var(--flag-green);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.rsvp-locked h3 {
    color: var(--flag-red);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.rsvp-unlocked p,
.rsvp-locked p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.rsvp-locked ul {
    text-align: left;
    margin: 1rem auto;
    max-width: 500px;
}

.rsvp-locked li {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .requirement-box {
        padding: 2rem 1.5rem;
    }

    .requirement-box h3 {
        font-size: 1.5rem;
    }

    .accordion-header {
        padding: 12px 15px;
    }

    .accordion-header h3 {
        font-size: 1rem;
    }

    .faq-accordion.active .accordion-content {
        padding: 0 15px 12px 15px;
    }

    .accordion-icon {
        font-size: 1.3rem;
        min-width: 20px;
    }
}

/* === Sasan Yoga Hover Effect === */
.sasan-yoga-wrapper {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    width: 2em;
    height: 1.5em;
    overflow: visible;
}

.sasan-yoga-img {
    height: 2em;
    width: 2em;
    border-radius: 50%;
    display: block;
    position: absolute;
    left: 50%;
    top: -20%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    z-index: 2;
}

.sasan-yoga-wrapper::before {
    content: '🧘‍♀️';
    position: absolute;
    font-size: 2em;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0) scale(0.5);
}

.sasan-yoga-wrapper:hover .sasan-yoga-img {
    transform: translateX(-50%) translateY(-65%) scale(2.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sasan-yoga-wrapper:hover::before {
    opacity: 1;
    transform: translate(-50%, 0) scale(2.5);
}
