/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;0,800;1,700&display=swap');

/* === CSS Variables === */
:root {
    --primary:       #1a4d2e;
    --primary-dark:  #0d2818;
    --primary-mid:   #163d24;
    --primary-light: #2c6e49;
    --secondary:     #7bb661;
    --gold:          #c9a84c;
    --gold-light:    #e8c96e;
    --white:         #ffffff;
    --off-white:     #f5f2ed;
    --text-light:    #edeae4;
    --text-muted:    rgba(237, 234, 228, 0.65);
    --glass:         rgba(13, 40, 24, 0.72);
    --glass-border:  rgba(123, 182, 97, 0.22);
    --max-width:     1200px;
    --radius:        12px;
    --radius-lg:     20px;
    --shadow:        0 8px 32px rgba(0, 0, 0, 0.28);
    --shadow-sm:     0 4px 16px rgba(0, 0, 0, 0.18);
    --transition:    all 0.3s ease;
}

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-mid) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Poppins', serif;
    line-height: 1.3;
    color: var(--white);
    letter-spacing: 0.3px;
}

p { color: var(--text-muted); }

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

a:hover { color: var(--gold-light); }

/* === Accessibility === */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

a:focus, button:focus, input:focus, textarea:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
header {
    background: rgba(10, 30, 18, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.logo img {
    width: 42px;
    height: 42px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
    flex-shrink: 0;
}

.logo a:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(201, 168, 76, 0.75));
    transform: rotate(22.5deg);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.logo-text .logo-accent {
    color: var(--gold);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.92rem;
    font-family: 'Poppins', sans-serif;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

.nav-links a[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.08);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -5px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(180deg,
            rgba(10, 30, 18, 0.45) 0%,
            rgba(10, 30, 18, 0.70) 55%,
            rgba(10, 30, 18, 0.92) 100%),
        url('../assets/images/gallery/saudi-sport-under-water_crop-1920x1080.webp') center / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 75px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(transparent, var(--primary-dark));
    pointer-events: none;
}

.hero-content {
    max-width: 840px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    animation: heroEntry 1.1s ease-out both;
}

.hero-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.hero h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.4rem;
    color: var(--white);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    line-height: 1.15;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    color: rgba(237, 234, 228, 0.82);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--gold);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.45);
    border: 2px solid var(--gold);
}

.cta-button:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 36px rgba(201, 168, 76, 0.4);
}

.hero-scroll {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: var(--gold);
    font-size: 1.4rem;
    animation: bounce 2.2s infinite;
    opacity: 0.8;
}

/* =====================================================
   SHARED SECTION STYLES
   ===================================================== */
.section-label {
    display: block;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.02rem;
    margin-bottom: 3.5rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================
   FEATURED ATTRACTIONS (Index)
   ===================================================== */
.featured-attractions {
    padding: 7rem 2rem;
    background: var(--primary-dark);
}

.featured-attractions > h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.featured-attractions > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    border-radius: 2px;
}

.featured-attractions > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-size: 1.02rem;
}

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

.attraction-card {
    background: var(--glass);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.attraction-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 168, 76, 0.5);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.attraction-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.attraction-card:hover img {
    transform: scale(1.08);
}

.attraction-card h3 {
    padding: 1.2rem 1.2rem 0.4rem;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.attraction-card > p {
    padding: 0 1.2rem 1.4rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.card-content {
    padding: 1.2rem 1.2rem 1.4rem;
}

.card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* =====================================================
   CURRENCY CONVERTER (Index)
   ===================================================== */
.currency-converter-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.currency-converter-section > h2 {
    text-align: center;
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 0.6rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.currency-converter-section > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    border-radius: 2px;
}

.currency-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 1rem auto 0;
    max-width: 500px;
}

.currency-converter-table-container {
    max-width: 500px;
    margin: 2.5rem auto 0;
}

.currency-converter-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.currency-converter-table thead th {
    padding: 1rem 1.5rem;
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold);
    font-weight: 700;
    text-align: left;
    letter-spacing: 1.5px;
    font-size: 0.82rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--glass-border);
    font-family: 'Poppins', sans-serif;
}

.currency-converter-table tbody tr {
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.currency-converter-table tbody tr:last-child {
    border-bottom: none;
}

.currency-converter-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.currency-converter-table td {
    padding: 0.9rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
}

/* =====================================================
   NEWSLETTER (Index + Contact)
   ===================================================== */
.newsletter-signup {
    padding: 7rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-signup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-signup h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 0.8rem;
    position: relative;
}

.newsletter-signup > p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.02rem;
    position: relative;
}

.newsletter-form {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    gap: 0.8rem;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.13);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

/* =====================================================
   MAP SECTION (Index)
   ===================================================== */
.map-section {
    padding: 6rem 2rem;
    background: var(--primary-dark);
}

.map-section h2 {
    text-align: center;
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.map-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    border-radius: 2px;
}

.map-embed {
    max-width: var(--max-width);
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: none;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 2rem 0;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--glass-border);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    margin-bottom: 1.2rem;
}

.footer-brand .footer-logo img {
    width: 38px;
    height: 38px;
    filter: brightness(0) invert(1);
}

.footer-brand .footer-logo .logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    max-width: 320px;
}

.footer-col h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(201, 168, 76, 0.35);
}

.footer-bottom {
    text-align: center;
    padding: 1.8rem 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* =====================================================
   PAGE HERO BANNERS (shared)
   ===================================================== */
.attractions-header,
.gallery-header,
.contact-header,
.about-header {
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 9rem 2rem 5rem;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.attractions-header::before,
.gallery-header::before,
.contact-header::before,
.about-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,30,18,0.55) 0%, rgba(10,30,18,0.88) 100%);
}

.attractions-header::after,
.gallery-header::after,
.contact-header::after,
.about-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, var(--primary-dark));
}

.attractions-header {
    background-image: url('../assets/images/gallery/Edge-of-the-World-ksa.jpg');
}
.gallery-header {
    background-image: url('../assets/images/gallery/alulawinter.jpg');
}
.contact-header {
    background-image: url('../assets/images/gallery/riyadh-1-1.jpg');
}
.about-header {
    background-image: url('../assets/images/gallery/Hegra.jpg');
}

.attractions-header h1,
.gallery-header h1,
.contact-header h1,
.about-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    z-index: 1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin-bottom: 0.8rem;
}

.attractions-header p,
.gallery-header p,
.contact-header p,
.about-header p {
    color: rgba(237, 234, 228, 0.8);
    font-size: 1.08rem;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* =====================================================
   ATTRACTIONS PAGE
   ===================================================== */
.attractions-table {
    padding: 5rem 2rem;
    background: var(--primary-dark);
}

.table-container {
    max-width: var(--max-width);
    margin: 0 auto;
    overflow-x: auto;
    background: var(--glass);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

table {
    width: 100%;
    border-collapse: collapse;
}

caption {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--white);
    padding: 2rem 2rem 1.4rem;
    text-align: left;
}

th {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    font-family: 'Poppins', sans-serif;
}

td {
    padding: 1rem 1.5rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.93rem;
    font-family: 'Poppins', sans-serif;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.attraction-details {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary) 100%);
}

.attraction-details > h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--white);
    margin-bottom: 0.6rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.attraction-details > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    border-radius: 2px;
}

.attraction-details > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-size: 1rem;
}

/* =====================================================
   GALLERY PAGE
   ===================================================== */
.promotional-video {
    padding: 6rem 2rem;
    background: var(--primary-dark);
}

.video-container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.video-container h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.video-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    border-radius: 2px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-gallery {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary) 100%);
}

.photo-gallery h2 {
    text-align: center;
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 2.8rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.photo-gallery h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    border-radius: 2px;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

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

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

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(10, 30, 18, 0.92));
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transform: translateY(100%);
    transition: var(--transition);
}

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

.external-links {
    padding: 5rem 2rem;
    background: var(--primary-dark);
    text-align: center;
}

.external-links h2 {
    text-align: center;
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 2.8rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.external-links h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    border-radius: 2px;
}

.links-grid {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2rem;
    background: var(--glass);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    font-size: 0.93rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(8px);
}

.external-link i {
    color: var(--gold);
    transition: var(--transition);
}

.external-link:hover {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(201, 168, 76, 0.35);
}

.external-link:hover i {
    color: var(--primary-dark);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-content {
    padding: 7rem 2rem;
    background: var(--primary-dark);
}

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

.about-card {
    background: var(--glass);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.about-card i {
    font-size: 2.6rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
    transition: var(--transition);
}

.about-card:hover i {
    transform: scale(1.15);
    color: var(--gold-light);
}

.about-card h2 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.93rem;
}

.vision-section {
    padding: 7rem 2rem;
    background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.07) 0%, transparent 68%);
    pointer-events: none;
}

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

.vision-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.vision-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    border-radius: 2px;
}

.vision-content p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.vision-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-dark);
    background: var(--gold);
    text-decoration: none;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: 2px solid var(--gold);
}

.vision-link:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(201, 168, 76, 0.35);
}

.stats-section {
    padding: 7rem 2rem;
    background: var(--primary-dark);
}

.stats-section h2 {
    text-align: center;
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.stats-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    border-radius: 2px;
}

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

.stat-item {
    background: var(--glass);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.stat-item:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.45);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-content {
    padding: 7rem 2rem;
    background: var(--primary-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-info {
    background: var(--glass);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    height: fit-content;
}

.contact-info > h2 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

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

.info-item i {
    color: var(--gold);
    font-size: 1.3rem;
    margin-top: 4px;
    min-width: 22px;
}

.info-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

.contact-info .social-links-wrap {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 0.5rem;
}

.contact-info .social-links-wrap h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.contact-info .social-links {
    display: flex;
    gap: 0.7rem;
    list-style: none;
    flex-wrap: wrap;
}

.contact-info .social-links li {
    list-style: none;
}

.contact-info .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-info .social-links a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--glass);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.contact-form > h2 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Poppins', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 145px;
}

.submit-btn {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border: 2px solid var(--gold);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(201, 168, 76, 0.35);
}

/* Newsletter section on contact page */
.newsletter-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-content {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}

.newsletter-content h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 0.8rem;
}

.newsletter-content > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes heroEntry {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

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

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

/* =====================================================
   STICKY HEADER SCROLLED STATE
   ===================================================== */
header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    background: rgba(8, 24, 14, 0.99);
}

/* =====================================================
   WHY VISIT SAUDI ARABIA (Index)
   ===================================================== */
.why-visit {
    padding: 7rem 2rem;
    background: linear-gradient(150deg, var(--primary-mid) 0%, var(--primary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-visit::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 60%, rgba(201, 168, 76, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 40%, rgba(123, 182, 97, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.why-visit > .section-label,
.why-visit > .section-title,
.why-visit > .section-subtitle {
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.8rem;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: left;
    position: relative;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    font-size: 1.3rem;
    color: var(--gold);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
    transform: scale(1.12) rotate(-5deg);
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.65rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.91rem;
    line-height: 1.72;
}

/* =====================================================
   VIDEO SECTION (Gallery) — Improved
   ===================================================== */
.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 1rem;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 20px;
    color: var(--gold);
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.video-badge i {
    font-size: 0.7rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 0 0 1px rgba(201, 168, 76, 0.12),
        0 32px 64px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(201, 168, 76, 0.06);
    transition: box-shadow 0.4s ease;
}

.video-wrapper:hover {
    box-shadow:
        0 0 0 1px rgba(201, 168, 76, 0.3),
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(201, 168, 76, 0.12);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--primary-dark);
}

.video-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.4rem;
    flex-wrap: wrap;
}

.video-description {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    flex: 1;
    min-width: 200px;
}

.video-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.video-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    white-space: nowrap;
}

.video-tag i {
    color: var(--gold);
    font-size: 0.7rem;
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, background 0.3s ease;
    box-shadow: 0 4px 18px rgba(201, 168, 76, 0.45);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(201, 168, 76, 0.55);
}

/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* =====================================================
   PRINT
   ===================================================== */
@media print {
    header, footer, .newsletter-signup, .newsletter-section,
    .map-section, .social-links, .mobile-menu-btn { display: none; }
    body { color: #000; background: none; }
    a { color: #000; text-decoration: none; }
    .hero { height: auto; background: none; color: #000; margin-top: 0; }
    .hero::after, .hero::before { display: none; }
    .attraction-card, .gallery-item, .about-card, .stat-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        background: #fff;
        color: #000;
    }
}


/* =====================================================
   FIXES & ADDITIONS (October 2026)
   ===================================================== */

/* Four about cards sit in one row on wide screens */
@media screen and (min-width: 1025px) {
    .about-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
    .about-card { padding: 2.25rem 1.5rem; }
}

.table-note {
    max-width: var(--max-width);
    margin: 1rem auto 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ---- Currency converter ---- */
.currency-form {
    max-width: 560px;
    margin: 2.5rem auto 0;
    text-align: left;
}

.currency-converter-table-container {
    max-width: 560px;
    overflow-x: auto;
}

.currency-form + .currency-converter-table-container {
    margin-top: 1.25rem;
}

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

.currency-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: var(--glass);
    overflow: hidden;
}

.currency-input:focus-within {
    border-color: var(--gold);
}

.currency-input span {
    padding: 0 1rem;
    color: var(--gold);
    font-weight: 600;
}

.currency-input input {
    flex: 1;
    min-width: 0;
    padding: 0.9rem 1rem 0.9rem 0;
    border: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 1.15rem;
    outline: none;
}

.currency-converter-table td.rate,
.currency-converter-table td.converted {
    font-variant-numeric: tabular-nums;
}

.currency-converter-table td.converted {
    color: var(--gold-light);
    font-weight: 600;
}

/* ---- Form feedback ---- */
.form-status {
    min-height: 1.4rem;
    margin-top: 0.85rem;
    color: var(--gold-light);
    font-size: 0.92rem;
}

.form-status:empty,
.field-error:empty {
    display: none;
}

.field-error {
    margin-top: 0.35rem;
    color: #ff9b8a;
    font-size: 0.85rem;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: #ff9b8a !important;
}

.contact-info a {
    color: var(--text-light);
}

.contact-info a:hover {
    color: var(--gold-light);
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* ---- Gallery: clickable photos + viewer ---- */
.gallery-open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.gallery-open:focus-visible {
    outline-offset: -3px;
}

.gallery-item:focus-within figcaption {
    transform: translateY(0);
}

/* Touch screens can't hover, so always show captions */
@media (hover: none) {
    .gallery-item figcaption { transform: translateY(0); }
}

.lightbox {
    width: min(100% - 2rem, 1100px);
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    background: var(--primary-dark);
    color: var(--white);
    overflow: hidden;
}

.lightbox::backdrop {
    background: rgba(5, 15, 9, 0.88);
    backdrop-filter: blur(4px);
}

.lightbox figure {
    margin: 0;
}

.lightbox img {
    display: block;
    width: 100%;
    max-height: calc(100dvh - 7rem);
    object-fit: contain;
    background: #050f09;
}

.lightbox figcaption {
    padding: 1rem 4.5rem;
    text-align: center;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: rgba(13, 40, 24, 0.85);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.lightbox-close { top: 0.75rem; right: 0.75rem; }
.lightbox-nav { bottom: 0.6rem; }
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }

/* ---- Tables become stacked cards on phones ---- */
@media screen and (max-width: 640px) {
    .attractions-table table,
    .attractions-table tbody,
    .attractions-table tr,
    .attractions-table th,
    .attractions-table td {
        display: block;
        width: 100%;
    }

    .attractions-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .attractions-table caption {
        display: block;
        padding: 1.5rem 1.25rem 1rem;
        font-size: 1.35rem;
    }

    .attractions-table tbody tr {
        padding: 1rem 1.25rem;
        border-top: 1px solid var(--glass-border);
    }

    .attractions-table tbody th {
        padding: 0 0 0.6rem;
        border: 0;
        background: none;
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .attractions-table tbody td {
        display: grid;
        grid-template-columns: 7rem minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.35rem 0;
        border: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .attractions-table tbody td::before {
        content: attr(data-label);
        color: var(--text-muted);
        font-size: 0.8rem;
    }

    .currency-converter-table th,
    .currency-converter-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .currency-converter-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .currency-converter-table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.66rem;
        letter-spacing: 0.3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
