/* ==========================================================================
   VEDIC FASHION - Custom Stylesheet
   ========================================================================== */

/* --- Font Declarations --- */
@font-face {
    font-family: 'Bodoni Moda';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('./fonts/bodoni-moda-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Bodoni Moda';
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url('./fonts/bodoni-moda-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('./fonts/hanken-grotesk-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Hanken Grotesk';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('./fonts/hanken-grotesk-italic.woff2') format('woff2');
}

/* --- Design Tokens & Variables --- */
:root {
    --primary-container: #d4af37;
    --on-surface: #e5e2e1;
    --bg-color: #0B0B0B;
}

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

html {
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--on-surface);
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Landing page: locked single viewport */
body.landing-body {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Selection Highlight */
::selection {
    background-color: var(--primary-container);
    color: #000000;
}

::-moz-selection {
    background-color: var(--primary-container);
    color: #000000;
}

/* ==========================================================================
   FIXED EFFECTS (Spotlight, Grain, Parallax) — same on all pages
   ========================================================================== */

#spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10;
    background: radial-gradient(circle 900px at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(212, 175, 55, 0.09),
            transparent 70%);
}

#parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.parallax-layer {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    mix-blend-mode: screen;
}

.layer-2 {
    opacity: 0.18;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 20;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeIn 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-100 {
    animation-delay: 0.2s;
}

.delay-200 {
    animation-delay: 0.45s;
}

.delay-300 {
    animation-delay: 0.7s;
}

.delay-400 {
    animation-delay: 0.95s;
}

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

/* Pulsing gold glow for the decorative line */
@keyframes glow {

    0%,
    100% {
        opacity: 0.4;
        box-shadow: 0 0 6px rgba(212, 175, 55, 0.3);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 14px rgba(212, 175, 55, 0.7);
    }
}

/* ==========================================================================
   LANDING PAGE — Full-Viewport Stack Layout
   ========================================================================== */

.landing-viewport {
    position: relative;
    z-index: 30;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    gap: 0;
    /* Gaps controlled per-child */
}

/* ── 1. Badge ─────────────────────────────────────── */
.landing-header {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 2.5rem;
}

.badge-text {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(0.65rem, 1.5vw, 0.9rem);
    color: var(--primary-container);
    letter-spacing: 0.4em;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.badge-text::before,
.badge-text::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: var(--primary-container);
    transform: rotate(45deg);
    opacity: 0.65;
    flex-shrink: 0;
}

/* ── 2. Logo ──────────────────────────────────────── */
.landing-logo-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 2rem;
}

.landing-logo {
    width: clamp(220px, 50vw, 560px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
}

/* ── 3. Decorative Horizontal Rule ───────────────── */
.landing-divider {
    width: clamp(60px, 8vw, 120px);
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--primary-container),
            transparent);
    animation: glow 3s ease-in-out infinite;
    margin-bottom: 1.75rem;
}

/* ── 4. Subtitle ──────────────────────────────────── */
.landing-subtitle {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(0.75rem, 2vw, 1.1rem);
    color: rgba(229, 226, 225, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.35em;
    text-align: center;
    line-height: 1.5;
    max-width: 40ch;
    margin-bottom: 0;
}

/* ── 5. Footer ────────────────────────────────────── */
.landing-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));

}

.footer-copyright {
    font-size: clamp(0.65rem, 1.2vw, 0.8rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(229, 226, 225, 0.5);
    text-align: center;
}

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

.footer-link {
    font-size: clamp(0.65rem, 1.2vw, 0.8rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(229, 226, 225, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-container);
}

/* ==========================================================================
   SUB-PAGES (Privacy, Terms, Contact)
   ========================================================================== */

body.subpage-body {
    overflow-y: auto;
    min-height: 100vh;
}

/* Custom scrollbar */
body.subpage-body::-webkit-scrollbar {
    width: 6px;
}

body.subpage-body::-webkit-scrollbar-track {
    background: #050505;
}

body.subpage-body::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.35);
    border-radius: 3px;
}

body.subpage-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-container);
}

.content-canvas {
    position: relative;
    z-index: 30;
}

.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 8rem;
}

/* Back Navigation */
.back-nav {
    width: 100%;
    max-width: 800px;
    margin-bottom: 1.25rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(229, 226, 225, 0.65);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.back-btn:hover {
    color: var(--primary-container);
    transform: translateX(-4px);
}

/* Mini logo on sub-pages */
.mini-logo-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.mini-logo {
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

/* Card container */
.content-card {
    background: rgba(10, 10, 10, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 16px;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    max-height: 62vh;
    overflow-y: auto;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
    text-align: left;
}

/* Card scrollbar */
.content-card::-webkit-scrollbar {
    width: 6px;
}

.content-card::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.content-card::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4);
    border-radius: 10px;
}

.content-card::-webkit-scrollbar-thumb:hover {
    background: var(--primary-container);
}

.card-title {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-container);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 0.75rem;
}

.card-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-container);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(229, 226, 225, 0.82);
    margin-bottom: 1rem;
}

/* Contact details */
.contact-details {
    margin: 1.5rem 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.contact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-container);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.contact-value {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--on-surface);
}

.contact-link {
    color: var(--primary-container);
    text-decoration: none;
    transition: filter 0.3s ease;
}

.contact-link:hover {
    filter: brightness(1.25);
    text-decoration: underline;
}

/* Sub-page fixed footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    z-index: 40;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    gap: 0.5rem;
}

.footer-copyright-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(229, 226, 225, 0.5);
}

.footer-links-sub {
    display: flex;
    gap: 1.5rem;
}

.footer-link-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(229, 226, 225, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link-sub:hover {
    color: var(--primary-container);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Small phones */
@media (max-width: 400px) {
    .landing-viewport {
        padding: 2rem 1.25rem;
    }

    .landing-header {
        margin-bottom: 1.75rem;
    }

    .landing-logo-wrap {
        margin-bottom: 1.5rem;
    }

    .landing-divider {
        margin-bottom: 1.25rem;
    }
}

/* Tablets & up */
@media (min-width: 768px) {
    .landing-footer {
        flex-direction: row;
        justify-content: space-between;
        padding: 1.5rem 4rem;
    }

    .landing-header {
        margin-bottom: 3rem;
    }

    .landing-logo-wrap {
        margin-bottom: 2.5rem;
    }

    .landing-divider {
        margin-bottom: 2rem;
    }

    .main-content {
        padding: 4rem 3rem 8rem;
    }

    .content-card {
        padding: 2.75rem;
    }

    .footer {
        padding: 1.5rem 4rem;
    }
}

/* Wide desktops */
@media (min-width: 1280px) {
    .landing-header {
        margin-bottom: 3.5rem;
    }

    .landing-logo-wrap {
        margin-bottom: 3rem;
    }

    .landing-divider {
        margin-bottom: 2.25rem;
    }
}