/*
    Mon Tacos — Bakım Modu
    Editorial Dark — Typographic Layout
    Author: Vipservis
*/

/* =============================================
   BASE RESET & TOKENS
   ============================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --c-bg:        #0F0E0D;
    --c-surface:   #181614;
    --c-amber:     #F5A623;
    --c-amber-dim: #C07D12;
    --c-cream:     #F0EBE1;
    --c-muted:     #6B6460;
    --c-rule:      #2A2724;
    --c-white:     #FFFFFF;

    --ff-display: 'Bebas Neue', 'Roboto Condensed', sans-serif;
    --ff-mono:    'Space Mono', monospace;
    --ff-body:    'Inter', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--c-bg);
    color: var(--c-cream);
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =============================================
   GRAIN TEXTURE
   ============================================= */

.grain {
    position: fixed;
    inset: -200%;
    width: 400%;
    height: 400%;
    z-index: 100;
    pointer-events: none;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    animation: grainShift 0.4s steps(1) infinite;
}

@keyframes grainShift {
    0%   { transform: translate(0, 0); }
    10%  { transform: translate(-5%, -10%); }
    20%  { transform: translate(-15%, 5%); }
    30%  { transform: translate(7%, -25%); }
    40%  { transform: translate(-5%, 25%); }
    50%  { transform: translate(-15%, 10%); }
    60%  { transform: translate(15%, 0); }
    70%  { transform: translate(0, 15%); }
    80%  { transform: translate(3%, 35%); }
    90%  { transform: translate(-10%, 10%); }
    100% { transform: translate(0, 0); }
}

/* =============================================
   DIAGONAL ACCENT
   ============================================= */

.bg-accent {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    top: -40%;
    right: -20%;
    width: 70vw;
    height: 140vh;
    background: linear-gradient(135deg,
        transparent 45%,
        rgba(245,166,35,0.04) 45%,
        rgba(245,166,35,0.04) 55%,
        transparent 55%
    );
    transform: rotate(-8deg);
}

/* =============================================
   PAGE SHELL
   ============================================= */

.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =============================================
   HEADER
   ============================================= */

.hdr {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 48px;
    border-bottom: 1px solid var(--c-rule);
    flex-shrink: 0;
}

.hdr-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hdr-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--c-rule);
    border-radius: 50%;
    font-size: 14px;
    color: var(--c-muted);
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.hdr-social:hover {
    border-color: var(--c-amber);
    color: var(--c-amber);
    background: rgba(245,166,35,0.08);
}

/* =============================================
   HERO
   ============================================= */

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 64px 48px;
    overflow: hidden;
}

/* Rotated vertical side label */
.side-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    white-space: nowrap;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--c-muted);
    text-transform: uppercase;
    opacity: 0.5;
    user-select: none;
}

/* Dot matrix decoration */
.dot-matrix {
    position: absolute;
    right: 48px;
    bottom: 48px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--c-muted) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.18;
    pointer-events: none;
}

/* Hero inner: max-width column */
.hero-inner {
    width: 100%;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* =============================================
   HERO LOGO (centered)
   ============================================= */

.hero-logo-wrap {
    margin-bottom: 48px;
    display: flex;
    justify-content: center;
    animation: fadeInDown 0.9s var(--ease-out) both;
}

.hero-logo {
    height: 110px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 28px rgba(245,166,35,0.25));
    transition: transform 0.35s var(--ease-out), filter 0.35s;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 40px rgba(245,166,35,0.45));
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   EYEBROW
   ============================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-amber);
    margin-bottom: 28px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-amber);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245,166,35,0.6); }
    50%       { opacity: 0.5; box-shadow: 0 0 0 5px rgba(245,166,35,0); }
}

/* =============================================
   MAIN HEADLINE (Typed)
   ============================================= */

.headline {
    font-family: var(--ff-display);
    font-size: clamp(72px, 13vw, 164px);
    font-weight: 400; /* Bebas Neue is naturally bold */
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--c-cream);
    margin-bottom: 28px;
}

.typing-title {
    display: none;
}

.hero-sub {
    font-size: clamp(13px, 1.5vw, 15px);
    color: var(--c-muted);
    font-weight: 400;
    max-width: 420px;
    line-height: 1.75;
    letter-spacing: 0.01em;
    margin-bottom: 40px;
}

/* =============================================
   DIVIDER
   ============================================= */

.divider-rule {
    width: 100%;
    height: 1px;
    background: var(--c-rule);
    margin-bottom: 40px;
    position: relative;
    overflow: visible;
}

.divider-rule::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 1px;
    width: 80px;
    background: var(--c-amber);
}

/* =============================================
   COUNTDOWN — Typographic
   ============================================= */

.countdown-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cd-eyebrow {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--c-muted);
}

/* Countdown flex row */
.cd {
    display: flex;
    align-items: flex-end;
    gap: 0;
    flex-wrap: wrap;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cd-num {
    font-family: var(--ff-display);
    font-size: clamp(64px, 12vw, 140px);
    font-weight: 400;
    line-height: 1;
    color: var(--c-cream);
    letter-spacing: -0.01em;
    /* Flip amber on hover for the "seconds" feel */
    transition: color 0.1s;
}

/* Seconds digit pulses amber */
.cd-item:last-child .cd-num {
    color: var(--c-amber);
}

.cd-lbl {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-muted);
    padding-left: 4px;
    margin-bottom: 14px;
}

.cd-colon {
    font-family: var(--ff-display);
    font-size: clamp(40px, 8vw, 100px);
    line-height: 1;
    color: var(--c-rule);
    padding: 0 4px;
    padding-bottom: 14px;
    align-self: flex-end;
    /* Blink like a real clock colon */
    animation: colonBlink 1s step-end infinite;
}

@keyframes colonBlink {
    0%, 100% { color: var(--c-muted); }
    50%       { color: var(--c-rule); }
}

/* =============================================
   TICKER / MARQUEE
   ============================================= */

.ticker {
    border-top: 1px solid var(--c-rule);
    background: var(--c-surface);
    overflow: hidden;
    flex-shrink: 0;
    padding: 14px 0;
}

.ticker-inner {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: tickerRun 30s linear infinite;
}

.ticker:hover .ticker-inner {
    animation-play-state: paused;
}

.ticker-item {
    font-family: var(--ff-display);
    font-size: 18px;
    letter-spacing: 0.12em;
    color: var(--c-muted);
    text-transform: uppercase;
    padding: 0 28px;
    transition: color 0.25s;
}

.ticker-sep {
    color: var(--c-amber);
    font-size: 10px;
    opacity: 0.7;
}

.ticker:hover .ticker-item {
    color: var(--c-cream);
}

@keyframes tickerRun {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =============================================
   RESPONSIVE — TABLET (max-width: 900px)
   ============================================= */

@media (max-width: 900px) {
    .hdr {
        padding: 22px 28px;
    }

    .hero {
        padding: 48px 28px;
    }

    .side-label {
        display: none;
    }

    .dot-matrix {
        right: 24px;
        bottom: 24px;
        width: 80px;
        height: 80px;
    }
}

/* =============================================
   RESPONSIVE — MOBILE (max-width: 640px)
   ============================================= */

@media (max-width: 640px) {
    .hdr {
        padding: 18px 20px;
    }

    .hdr-nav {
        gap: 14px;
    }

    .hdr-social {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .hero-logo {
        height: 80px;
    }

    .hero {
        padding: 36px 20px 48px;
        align-items: flex-start;
    }

    .dot-matrix {
        display: none;
    }

    .eyebrow {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .hero-sub {
        margin-bottom: 28px;
    }

    .divider-rule {
        margin-bottom: 28px;
    }

    .cd {
        gap: 0;
    }

    .cd-num {
        font-size: clamp(52px, 18vw, 80px);
    }

    .cd-colon {
        font-size: clamp(32px, 12vw, 56px);
        padding: 0 2px;
        padding-bottom: 10px;
    }

    .cd-lbl {
        font-size: 9px;
        margin-bottom: 10px;
    }

    .ticker-item {
        font-size: 14px;
        padding: 0 20px;
    }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max-width: 390px)
   ============================================= */

@media (max-width: 390px) {
    .hero-logo {
        height: 64px;
    }

    .cd-num {
        font-size: 48px;
    }

    .cd-colon {
        font-size: 28px;
    }

    .headline {
        font-size: 60px;
    }
}