/* ========================================================================
   World Explorer - Interactive Photo Application
   ======================================================================== */

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

:root {
    --primary: #e6a919;
    --primary-dark: #c48f14;
    --accent: #ff6b35;
    --dark: #0a0a0f;
    --dark-light: #12121a;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-strong: rgba(0, 0, 0, 0.6);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dim: rgba(255, 255, 255, 0.4);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.loader-globe {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    animation: spin 4s linear infinite;
}

.globe-svg { width: 100%; height: 100%; }
.orbit-1 { animation: tilt1 3s ease-in-out infinite; transform-origin: center; }
.orbit-2 { animation: tilt2 3.5s ease-in-out infinite; transform-origin: center; }
.pulse-dot { animation: pulse 1.5s ease-in-out infinite; }

.loader-text {
    font-size: 0.875rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes tilt1 { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(15deg); } }
@keyframes tilt2 { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-15deg); } }
@keyframes pulse { 0%, 100% { r: 4; opacity: 1; } 50% { r: 6; opacity: 0.5; } }
@keyframes fadeInOut { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.brand-icon { font-size: 1.5rem; }

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
    transition: var(--transition-fast);
}

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

.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease, transform 8s ease;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.3) 0%,
        rgba(10, 10, 15, 0.5) 50%,
        rgba(10, 10, 15, 0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--glass);
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line { display: block; }
.title-line.accent {
    color: var(--primary);
    font-style: italic;
    transition: var(--transition);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 169, 25, 0.3);
}

.btn-ghost {
    border: 1px solid var(--glass-border);
    color: var(--text);
    background: var(--glass);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

/* Hero Navigation */
.hero-indicators {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 0.75rem;
}

.hero-indicator {
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.hero-indicator.active {
    width: 48px;
    background: var(--primary);
}

.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    pointer-events: auto;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hero-nav-btn svg { width: 20px; height: 20px; }

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-muted);
}

.scroll-indicator svg { width: 24px; height: 24px; }

/* --- Section Shared --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.accent { color: var(--primary); }

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* --- Countries Section --- */
.countries-section {
    padding: 6rem 2rem;
    background: var(--dark-light);
    position: relative;
}

.country-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.country-card {
    position: relative;
    height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.country-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.country-card:hover .country-card-img {
    transform: scale(1.1);
}

.country-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 30%,
        rgba(0, 0, 0, 0.85) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: var(--transition);
}

.country-card:hover .country-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(230, 169, 25, 0.1) 0%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.country-card-flag {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.country-card-name {
    font-size: 1.75rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.25rem;
}

.country-card-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.country-card-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.country-card:hover .country-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.country-card-arrow svg {
    width: 16px;
    height: 16px;
    color: var(--text);
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 6rem 2rem;
    background: var(--dark);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
    background: transparent;
    transition: var(--transition);
}

.filter-btn:hover { color: var(--text); border-color: var(--text-muted); }
.filter-btn.active {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

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

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

.gallery-item:nth-child(5n+1) { grid-row: span 2; aspect-ratio: auto; }

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 1;
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.gallery-item-location {
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Gallery item entrance animations */
.gallery-item { opacity: 0; transform: translateY(30px); }
.gallery-item.visible {
    animation: galleryIn 0.6s ease forwards;
}

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

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text);
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav.prev { left: 1.5rem; }
.lightbox-nav.next { right: 1.5rem; }
.lightbox-nav svg { width: 20px; height: 20px; }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    animation: lightboxZoom 0.4s ease;
}

@keyframes lightboxZoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-info {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-top: 1rem;
}

.lightbox-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.lightbox-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.lightbox-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Country Modal --- */
.country-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.country-modal.active { opacity: 1; visibility: visible; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 1000px;
    max-height: 85vh;
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow-y: auto;
    animation: modalSlideUp 0.5s ease;
}

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

.modal-close {
    position: sticky;
    top: 1rem;
    float: right;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover { background: rgba(255,255,255,0.2); }

.modal-header {
    padding: 2.5rem 2rem 1.5rem;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(18,18,26,0.95) 100%);
    border-radius: inherit;
}

.modal-header h2, .modal-header p { position: relative; z-index: 1; }

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.landmark-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    height: 220px;
    transition: var(--transition);
}

.landmark-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

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

.landmark-card:hover img { transform: scale(1.1); }

.landmark-card-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    transition: var(--transition);
}

.landmark-card:hover .landmark-card-info {
    background: linear-gradient(180deg, rgba(230,169,25,0.08) 0%, rgba(0,0,0,0.9) 100%);
}

.landmark-card-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.landmark-card-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- About Section --- */
.about-section {
    padding: 6rem 2rem;
    background: var(--dark-light);
    position: relative;
    overflow: hidden;
}

.about-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
}

.shape-1 {
    width: 500px; height: 500px;
    background: var(--primary);
    top: -200px; right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px; height: 300px;
    background: var(--accent);
    bottom: -100px; left: -50px;
    animation: float2 15s ease-in-out infinite;
}

.shape-3 {
    width: 200px; height: 200px;
    background: var(--primary);
    top: 50%; left: 50%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 30px); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -20px); } }
@keyframes float3 { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -60%); } }

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

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

/* --- Footer --- */
.footer {
    padding: 3rem 2rem;
    background: var(--dark);
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content { max-width: 600px; margin: 0 auto; }

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--primary); }

/* --- Animations --- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.animate-fade-up-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.5s forwards;
}

.animate-fade-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.7s forwards;
}

.animate-fade-down {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeDown 0.8s ease 0.2s forwards;
}

.animate-bounce { animation: bounce 2s ease-in-out infinite; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-links.open { right: 0; }

    .nav-toggle { display: flex; z-index: 1001; }

    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero-title { font-size: clamp(2rem, 10vw, 3.5rem); }

    .country-cards { grid-template-columns: 1fr; }

    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    .gallery-item:nth-child(5n+1) { grid-row: span 1; aspect-ratio: 4/3; }

    .about-stats { gap: 1.5rem; }
    .stat-number { font-size: 2rem; }

    .hero-nav { display: none; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .modal-body { grid-template-columns: 1fr; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }
