/*
  UTILIZOR LUXURY — MOBILE-FIRST CSS
  For: index.html & Glitters_Digital_Proposal.html
  Strategy: Mobile first, scale up for desktop.
*/

/* ============================================
   1. CSS VARIABLES & RESET
============================================ */
:root {
    --gold: #dfb141;
    --gold-gradient: linear-gradient(135deg, #dfb141 0%, #f9d976 50%, #ae8625 100%);
    --bg-deep: #0a0a0a;
    --bg-dark: #121212;
    --bg-alt: #161616;
    --bg-card: rgba(255, 255, 255, 0.04);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gold-glow: 0 10px 40px rgba(223, 177, 65, 0.15);
    --radius-lg: 20px;
    --radius-md: 12px;
    --ease: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg-deep);
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--ease); }

/* ============================================
   2. TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 { font-family: 'Cinzel', serif; font-weight: 700; line-height: 1.15; }

.glitters-font {
    font-family: 'Great Vibes', cursive !important;
    text-transform: none !important;
    letter-spacing: 2px !important;
    font-weight: 400 !important;
    padding: 0 0.2em;
    overflow: visible;
}

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.mt-5 { margin-top: 3rem; }

/* ============================================
   3. UTILITIES
============================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll Reveal */
.reveal, .reveal-left, .reveal-right, .reveal-up, .reveal-scale {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.active { opacity: 1 !important; transform: none !important; }

/* ============================================
   4. NAVIGATION — Mobile First
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--ease);
}

.navbar.scrolled { padding: 10px 20px; background: rgba(10, 10, 10, 0.98); }

.logo {
    font-family: 'Great Vibes', cursive !important;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 400 !important;
    padding: 0 0.3em;
    overflow: visible;
}

/* Desktop logo dot removed — use glitters logo directly */
.logo.glitters-font::after { content: ''; }

/* Nav links — hidden on mobile */
.nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 9998;
}

.nav-links.active { display: flex; }

.nav-links a {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ccc;
}

.nav-links a:hover { color: var(--gold); }

/* Hamburger */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10000;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--ease);
}

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

/* ============================================
   5. BUTTONS
============================================ */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gold-gradient);
    color: #000;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--ease);
    box-shadow: 0 4px 20px rgba(223,177,65,0.25);
}

.btn-primary:hover { 
    box-shadow: 0 6px 35px rgba(223,177,65,0.55); 
    transform: translateY(-3px) scale(1.04); 
    filter: brightness(1.1);
}

.btn-primary-outline {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--ease);
    background: transparent;
}

.btn-primary-outline:hover { 
    background: var(--gold-gradient); 
    color: #000; 
    box-shadow: 0 6px 25px rgba(223,177,65,0.35); 
    transform: translateY(-2px); 
}

/* Navbar CTA — refined outline style, fills gold on hover */
.btn-nav-cta {
    display: inline-block;
    padding: 0.55rem 1.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.35s ease;
    color: var(--gold);
    background: transparent;
    border: 1.5px solid var(--gold);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: -1;
}

.btn-nav-cta:hover {
    color: #000;
    box-shadow: 0 4px 25px rgba(223,177,65,0.45);
    transform: translateY(-1px);
}

.btn-nav-cta:hover::before { transform: scaleX(1); }

/* ============================================
   6. HERO — Mobile First
============================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 20px 60px; /* Big top padding clears fixed navbar */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.97) 80%);
    z-index: -1;
}

.hero-content { width: 100%; max-width: 800px; }

.hero .subtitle {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

.hero .title {
    font-size: clamp(2.5rem, 8vw, 5rem) !important;
    margin-bottom: 0.25rem !important;
    color: var(--gold);
    line-height: 1.1 !important;
    padding: 0 0.2em;
    overflow: visible;
}

.hero .description {
    font-size: 1rem;
    color: #999;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); opacity: 0.6; }
.mouse { width: 26px; height: 44px; border: 2px solid var(--gold); border-radius: 14px; position: relative; }
.mouse::after {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    width: 3px; height: 6px;
    background: var(--gold);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}

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

/* ============================================
   7. SECTIONS — Mobile First
============================================ */
.section { padding: 70px 5%; }
.dark-bg { background: var(--bg-alt); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.section-title { font-size: 2rem; margin-bottom: 1rem; color: #fff; }
.section-subtitle { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 4px; margin-bottom: 1rem; display: block; }
.section-description { color: #888; margin-bottom: 3rem; }

/* Flex rows — stacked on mobile */
.flex-row { display: flex; flex-direction: column; gap: 2.5rem; }
.content-side, .image-side { width: 100%; }

/* ============================================
   8. CARDS & GRIDS — Mobile First
============================================ */
.grid-3, .grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Strategy Cards */
.strategy-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    transition: var(--ease);
}

.strategy-card:hover { transform: translateY(-8px); border-color: var(--gold); background: rgba(223,177,65,0.05); }
.card-icon { font-size: 2.5rem; color: var(--gold); opacity: 0.4; margin-bottom: 1.2rem; }
.strategy-card h4 { font-size: 1.2rem; color: #fff; margin-bottom: 0.8rem; }
.strategy-card p { color: #888; font-size: 0.95rem; }

/* Glass Card */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--gold-glow);
}

.stat-item { padding: 1.5rem 0; border-bottom: 1px solid var(--glass-border); text-align: center; }
.stat-item:last-child { border-bottom: none; }
.stat-number { font-size: 3rem; color: var(--gold); font-family: 'Cinzel', serif; line-height: 1; margin-bottom: 0.5rem; }
.stat-text { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #888; }

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 260px;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.gallery-overlay h4 { font-size: 1.1rem; color: var(--gold); }

/* Key Points List */
.key-points { list-style: none; margin-top: 1.5rem; }
.key-points li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; color: #ccc; font-size: 0.95rem; }
.key-points .icon { position: absolute; left: 0; color: var(--gold); }

/* Mockups — Responsive */
.mockup-phone {
    width: 100%;
    max-width: 280px;
    height: 500px;
    border: 10px solid #222;
    border-radius: 36px;
    background: #000;
    box-shadow: var(--gold-glow);
    overflow: hidden;
    margin: 0 auto;
}

.mockup-dash {
    background: #111;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    min-height: 350px;
    display: flex;
    box-shadow: var(--gold-glow);
    overflow: hidden;
}

.dash-sidebar { width: 150px; background: #090909; padding: 20px; border-right: 1px solid var(--glass-border); }
.dash-main { flex: 1; padding: 20px; }
.dash-card { background: #181818; padding: 14px; border-radius: 8px; margin-bottom: 12px; border: 1px solid #222; }

/* SEO Mockup */
.seo-graphic { background: #0c0c0c; border: 1px solid var(--glass-border); border-radius: 12px; padding: 1.8rem; }
.search-bar { background: #1a1a1a; border-radius: 30px; border: 1px solid #333; padding: 0.8rem 1.2rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }
.search-bar input { background: transparent; border: none; color: #fff; width: 100%; font-size: 1rem; outline: none; }
.glow { border-left: 4px solid var(--gold); background: rgba(223,177,65,0.05); padding: 1.2rem; border-radius: 0 8px 8px 0; }
.result-url { color: #8ab4f8; font-size: 0.85rem; margin-bottom: 4px; }
.result-title { color: #8ab4f8; font-size: 1.1rem; margin-bottom: 6px; } 
.glow .result-title { color: var(--gold); }
.result-desc { color: #bdc1c6; font-size: 0.85rem; }
.dim { opacity: 0.5; }

/* Milestones */
.milestones { margin-top: 2rem; }
.milestone { display: flex; gap: 1.2rem; margin-bottom: 1.5rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gold); background: var(--bg-deep); flex-shrink: 0; margin-top: 5px; }
.milestone h5 { font-size: 1rem; margin-bottom: 0.3rem; }
.milestone p { font-size: 0.9rem; color: #888; }

/* Guarantee Box */
.guarantee-box {
    padding: 3rem 2rem;
    background: linear-gradient(145deg, #141414, #0a0a0a);
    border: 1px solid rgba(223,177,65,0.2);
    border-radius: var(--radius-md);
    text-align: center;
}

.guarantee-title { font-size: 1.5rem; color: var(--gold); margin-bottom: 1.2rem; }
.cta-text { font-size: 1.5rem; margin-bottom: 2rem; }

/* Map container */
.map-container { border-radius: var(--radius-md); overflow: hidden; }

/* Footer */
.footer { background: #000; padding: 60px 5% 30px; border-top: 1px solid var(--glass-border); }
.footer-logo { font-size: 2.5rem; color: var(--gold); margin-bottom: 0.5rem; }
.footer-tagline { color: var(--gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; }
.footer-contact { color: #888; margin-bottom: 2rem; }
.footer-contact .divider { margin: 0 10px; }
.copyright { color: rgba(255,255,255,0.3); font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; margin-top: 1.5rem; }

/* ============================================
   9. TABLET — min-width: 600px
============================================ */
@media (min-width: 600px) {
    .hero .title { font-size: 4rem !important; }
    .section-title { font-size: 2.5rem; }
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item { height: 320px; }
    .glass-card { padding: 3rem; }
}

/* ============================================
   10. DESKTOP — min-width: 992px
============================================ */
@media (min-width: 992px) {
    /* Navbar */
    .navbar {
        padding: 1rem 5%;
        background: transparent;
        border-bottom: none;
        backdrop-filter: none;
    }

    .navbar.scrolled {
        padding: 0.7rem 5%;
        background: rgba(10, 10, 10, 0.9);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links {
        display: flex !important;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 2.5rem;
        background: transparent;
        inset: auto;
    }

    .nav-links a { font-size: 0.85rem; }
    .menu-toggle { display: none !important; }

    /* Hero */
    .hero { padding: 160px 5% 80px; }
    .hero .title { font-size: 5rem !important; }

    /* Sections */
    .section { padding: 100px 5%; }
    .section-title { font-size: 3rem; }
    .flex-row { flex-direction: row; align-items: center; gap: 5rem; }
    .content-side, .image-side { flex: 1; }

    /* Grids */
    .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .grid-2 { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .gallery-item { height: 400px; }

    /* Glass card */
    .glass-card { padding: 3.5rem; }
}

/* ============================================
   11. PRINT ONLY — Isolated
============================================ */
@media print {
    .navbar, .menu-toggle, .hero-overlay, .btn-primary, .btn-primary-outline, .scroll-indicator { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .section { padding: 0 !important; page-break-inside: avoid; }
    h1, h2, h3, h4, p { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; }
}
