/* =============================================
   SAANVI KUWAR — PREMIUM GLACIER GLASS UI
   White / Light Sky Blue Theme
   ============================================= */

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

:root {
    /* ── Color Palette (White, Very Less Black, 20% Sky Blue) ── */
    --text-primary: #0f172a; /* Very dark slate, almost black for readability */
    --text-secondary: #334155;
    --accent: #38bdf8; /* Sky blue */
    --accent-glow: rgba(56, 189, 248, 0.4);
    
    /* ── Glass Tokens ── */
    --glass-bg: rgba(255, 255, 255, 0.65); /* Frosty white glass */
    --glass-border: rgba(255, 255, 255, 1); /* Pure white borders */
    --glass-border-subtle: rgba(224, 242, 254, 0.5); /* 20% Sky blue hint in borders */
    --glass-shadow: 0 16px 40px rgba(15, 23, 42, 0.05); /* Very light shadow */
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 0 20px rgba(255, 255, 255, 0.8);
    --blur-intense: blur(35px) saturate(1.5);
    
    /* ── Fonts ── */
    --sans: 'Outfit', sans-serif;
    --serif: 'Playfair Display', serif;

    /* ── Easing ── */
    --mirror-ease: cubic-bezier(0.25, 1, 0.5, 1);
    --spring: cubic-bezier(.16, 1, .3, 1);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
    background: #ffffff;
    color: var(--text-primary);
    font-family: var(--sans);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

/* ========================================
   GLOBAL VIDEO BACKGROUND & GLASS OVERLAY
   ======================================== */
.global-video-container {
    position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -10; overflow: hidden;
    pointer-events: none;
}
.global-video {
    /* Magic CSS to make iframe act like object-fit: cover */
    width: 100vw; height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh; min-width: 177.77vh; /* 16:9 aspect ratio */
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    pointer-events: none; opacity: 0.7;
}
.global-overlay {
    position: fixed; inset: 0; z-index: -9;
    /* Transparent layer of glass */
    background: rgba(255, 255, 255, 0.4); /* Frosty white tint */
    backdrop-filter: blur(15px); /* Classic UI glass blur */
    -webkit-backdrop-filter: blur(15px);
}

/* ========================================
   FROSTED NAV
   ======================================== */
nav {
    position: fixed; top: 0; width: 100%; padding: 16px 5%;
    display: flex; justify-content: space-between; align-items: center; z-index: 5000;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: var(--blur-intense);
    -webkit-backdrop-filter: var(--blur-intense);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s var(--mirror-ease);
    transform: translateZ(0);
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 16px; }
a, button { touch-action: manipulation; }
.nav-link {
    color: var(--text-primary); text-decoration: none; 
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; display: flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 12px;
    background: transparent; border: 1px solid transparent;
    transition: all 0.3s var(--mirror-ease);
}
.nav-link:hover {
    background: rgba(255, 255, 255, 0.8); border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.nav-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 10px 24px; border-radius: 50px; 
    color: var(--text-primary); text-decoration: none;
    font-size: 0.8rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    position: relative; overflow: hidden;
    transition: transform 0.3s var(--spring), box-shadow 0.3s;
}
.nav-btn::after {
    content:''; position:absolute; top:0; left:-100%; width:50%; height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,1), transparent);
    transform:skewX(-20deg); transition:left 0.7s var(--mirror-ease);
}
.nav-btn:hover::after { left:150%; }
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }

/* ========================================
   HERO 
   ======================================== */
.hero {
    height: 100vh; display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; position: relative; overflow: hidden;
    padding: 0 5%;
}
.hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
    opacity: 0.85; 
}
.hero h1 {
    font-family: var(--serif); 
    font-size: 5rem; 
    font-weight: 800; 
    line-height: 1.1; 
    max-width: 1000px; margin-bottom: 24px;
    
    /* Animated Glassy Flowing Text (White/Icy Snow) */
    background: linear-gradient(
        -45deg,
        #ffffff 20%, 
        #e2e8f0 40%, 
        #ffffff 60%,
        #f8fafc 80%
    );
    background-size: 200% 200%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: flowIce 5s ease infinite;

    /* Dark drop-shadow to separate the white text from the mountain video */
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5)) drop-shadow(0 10px 30px rgba(0,20,40,0.4));
}

@keyframes flowIce {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Scroll indicator */
.hero-scroll {
    position: absolute; bottom: 40px; 
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--text-primary); font-size: 0.75rem; font-weight: 700; 
    letter-spacing: 4px; text-transform: uppercase;
    animation: scrollBounce 2.5s ease-in-out infinite;
}
.hero-scroll .line { width: 2px; height: 40px; background: linear-gradient(to bottom, var(--text-primary), transparent); }
@keyframes scrollBounce {
    0%,100% { transform:translateY(0); opacity:0.6; }
    50% { transform:translateY(10px); opacity:1; }
}

/* ========================================
   REVEAL ENGINE
   ======================================== */
.reveal {
    opacity: 0; transform: translateY(30px) scale(0.98);
    transition: opacity 1s var(--spring), transform 1s var(--spring);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   MAIN CONTENT WRAPPER
   ======================================== */
.article { 
    max-width: 1100px; margin: 0 auto; 
    padding: 100px 5% 40px; 
}

/* ========================================
   PREMIUM MIRROR PANELS
   ======================================== */
.ice-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-intense);
    border: 1px solid var(--glass-border-subtle);
    border-top: 1px solid var(--glass-border);
    border-left: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 60px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    transition: transform 0.6s var(--spring), box-shadow 0.6s var(--mirror-ease);
}
/* Mirror Sheen */
.ice-panel::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.8) 50%, transparent 55%);
    transform: rotate(30deg) translateY(-100%);
    transition: transform 1.2s var(--mirror-ease);
    pointer-events: none;
}
.ice-panel:hover::before { transform: rotate(30deg) translateY(100%); }
.ice-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08), var(--glass-highlight);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.section-title {
    font-family: var(--serif); 
    font-size: 2.8rem; 
    font-weight: 700;
    margin-bottom: 24px; 
    color: var(--text-primary);
    position: relative; display: inline-block;
}
.section-title::after {
    content:''; position:absolute; bottom:-8px; left:0;
    width: 60px; height: 4px; border-radius: 4px;
    background: var(--accent); /* Sky blue accent underline */
}

.sub-title {
    font-size: 1.2rem; font-weight: 800; color: var(--text-secondary);
    margin: 40px 0 20px; letter-spacing: 1px; text-transform: uppercase;
}

.article p {
    font-size: 1.1rem; line-height: 1.8; color: var(--text-secondary);
    margin-bottom: 24px; font-weight: 400;
}
.article p strong { color: var(--text-primary); font-weight: 700; }

.article ul { list-style: none; padding: 0; margin: 0 0 32px; }
.article ul li {
    position: relative; padding: 16px 0 16px 40px; 
    font-size: 1.05rem; color: var(--text-secondary); font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: padding-left 0.4s var(--spring), background 0.4s;
}
.article ul li:hover { padding-left: 50px; background: rgba(255,255,255,0.6); border-radius: 12px; }
.article ul li::before {
    content: ''; position: absolute; left: 10px; top: 50%; 
    width: 12px; height: 12px; border-radius: 50%; transform: translateY(-50%);
    background: var(--accent);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}
.article ul li strong { color: var(--text-primary); font-weight: 700; }

/* ========================================
   IMAGES — FIXING ASPECT RATIO & DISPLAY
   ======================================== */
.crystal-img {
    margin: 60px 0;
    width: 100%;
    height: 70vh;
    max-height: 800px;
    border-radius: 24px; overflow: hidden; position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px) saturate(1.5);
    -webkit-backdrop-filter: blur(40px) saturate(1.5);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: transform 0.8s var(--spring), box-shadow 0.8s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.crystal-img:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1), 0 0 40px rgba(255,255,255,1);
}
.crystal-img img {
    width: 100%; height: 100%; display: block; 
    object-fit: contain; 
    background: transparent;
    transition: transform 1.5s var(--spring);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}
.crystal-img:hover img { transform: scale(1.03); }
.crystal-img .caption {
    position: absolute; bottom: 0; left: 0; width: 100%; 
    padding: 24px 32px;
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
    backdrop-filter: blur(5px);
    font-size: 0.95rem; color: var(--text-primary); font-weight: 700; font-style: italic;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s var(--spring);
}
.crystal-img:hover .caption { opacity: 1; transform: translateY(0); }

/* ========================================
   GLASS QUOTE BLOCK
   ======================================== */
.frost-quote {
    margin: 60px 0; 
    padding: 40px 50px;
    position: relative; overflow: hidden;
    background: rgba(255,255,255,0.8);
    backdrop-filter: var(--blur-intense);
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.frost-quote::before {
    content:'"'; position:absolute; top: -10px; left: 20px;
    font-family:var(--serif); font-size: 8rem; color: rgba(56, 189, 248, 0.1); line-height: 1;
}
.frost-quote blockquote {
    font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
    color: var(--text-primary); line-height: 1.6; font-style: italic;
    position: relative; z-index: 1;
}
.frost-quote cite {
    display: block; margin-top: 24px; font-family: var(--sans);
    font-size: 0.9rem; color: var(--text-secondary); 
    letter-spacing: 2px; font-weight: 700; text-transform: uppercase;
}

/* ========================================
   MIRROR CARDS (GRID)
   ======================================== */
.crystal-grid {
    display: grid; 
    /* Fixed for desktop: columns are at least 250px */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px; margin: 40px 0;
}
.crystal-card {
    background: rgba(255,255,255,0.7); backdrop-filter: var(--blur-intense);
    border: 1px solid var(--glass-border-subtle);
    border-top: 1px solid var(--glass-border);
    border-left: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px; position: relative; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.5s var(--spring), box-shadow 0.5s;
}
.crystal-card::before {
    content:''; position:absolute; top:0; left:-100%; width:50%; height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,1), transparent);
    transform:skewX(-20deg); transition:left 0.7s var(--mirror-ease);
}
.crystal-card:hover::before { left:150%; }
.crystal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.crystal-card .card-label {
    font-size: 0.8rem; font-weight: 800; letter-spacing: 3px;
    text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.crystal-card .card-value {
    font-size: 1.1rem; color: var(--text-primary); font-weight: 600; line-height: 1.6;
}

/* ========================================
   VISUAL ARCHIVES (GALLERY)
   ======================================== */
.gallery-section {
    padding: 100px 5%; max-width: 1400px; margin: 0 auto;
}
.gallery-section h2 {
    text-align: center; font-family: var(--serif); 
    font-size: 3.5rem; font-weight: 700;
    margin-bottom: 60px; color: var(--text-primary);
}
.gallery-grid {
    display: grid; 
    /* Standard gallery columns */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.gallery-item {
    border-radius: 24px; overflow: hidden; cursor: pointer; position: relative;
    background: #fff; 
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.6s var(--spring), box-shadow 0.6s;
    /* Fixed aspect ratio box for the gallery */
    aspect-ratio: 4 / 5; 
}
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1), 0 0 30px rgba(255,255,255,1);
}
.gallery-item img {
    width: 100%; height: 100%; display: block; 
    object-fit: cover; object-position: top center; /* Keeps heads visible in gallery */
    transition: transform 1.2s var(--spring);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ========================================
   LIGHTBOX — MIRROR MODAL
   ======================================== */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(255,255,255,0.8); backdrop-filter: var(--blur-intense);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s var(--mirror-ease);
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-toolbar {
    position: absolute; top: 30px; right: 5%; display: flex; gap: 16px; z-index: 10000;
}
.lb-btn {
    background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); color: var(--text-primary);
    padding: 12px 24px; font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; cursor: pointer; border-radius: 50px;
    display: flex; align-items: center; gap: 8px;
    transition: all 0.3s var(--spring);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.lb-btn:hover { 
    background: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); 
}
.lightbox-content { max-width: 95vw; max-height: 85vh; padding: 20px; }
.lightbox-content img {
    max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    border: 4px solid #fff;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.5s var(--spring);
}
.lightbox.active .lightbox-content img { transform: scale(1) translateY(0); }

/* ========================================
   CTA FOOTER
   ======================================== */
.cta-footer {
    text-align: center; padding: 100px 5%; margin-top: 60px; position: relative;
}
.cta-footer::before {
    content:''; position:absolute; top:0; left:10%; right:10%; height:1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
}
.cta-footer h3 {
    font-family: var(--serif); font-size: 3rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: 16px;
}
.cta-footer p { 
    color: var(--text-secondary); font-size: 1.15rem; 
    margin-bottom: 40px; font-weight: 500; 
}
.cta-footer .cta-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-footer .cta-links a {
    display: flex; align-items: center; gap: 10px; 
    padding: 16px 36px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 700; text-decoration: none; 
    text-transform: uppercase; letter-spacing: 2px;
    transition: transform 0.3s var(--spring), box-shadow 0.3s;
}
.cta-footer .cta-links a.ig {
    background: #fff; color: var(--text-primary);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.cta-footer .cta-links a.md {
    background: var(--text-primary); color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.cta-footer .cta-links a:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }

footer {
    padding: 40px 20px; text-align: center; font-size: 0.8rem; color: var(--text-secondary);
    letter-spacing: 2px; font-weight: 600; text-transform: uppercase;
}

/* ========================================
   MEDIA QUERIES (For Mobile adjustments)
   ======================================== */
@media(max-width: 900px) {
    .hero h1 { font-size: 3.5rem; }
    .section-title { font-size: 2.2rem; }
    .ice-panel { padding: 40px; margin: 40px 0; }
}

@media(max-width: 600px) {
    .hero h1 { font-size: 2.5rem; }
    .ice-panel { padding: 30px 20px; margin: 30px 0; border-radius: 20px; }
    .nav-link span, .nav-btn span { display: none; } 
    .nav-link, .nav-btn { padding: 10px; border-radius: 50%; } 
    .nav-right, .nav-left { gap: 8px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .crystal-grid { grid-template-columns: 1fr; }
    .crystal-img { margin: 40px -10px; border-radius: 16px; }
}
