/* =================================
   RESET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'EB Garamond', serif;
    color: white;
    background: #000;
}


/* =================================
   HERO – BACKGROUND
================================= */

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)),
        url("texture.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* cinematic initial state */
    filter: blur(15px);
    transform: scale(1.02);
    transition: all 2s cubic-bezier(.77,0,.18,1);
}

/* subtle surface light */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255,255,255,0.04) 45%,
        transparent 60%
    );
    animation: surfaceLight 14s ease-in-out infinite;
    pointer-events: none;
}

@keyframes surfaceLight {
    0% { transform: translateX(-40%); }
    50% { transform: translateX(40%); }
    100% { transform: translateX(-40%); }
}


/* =================================
   HEADER – GLASS EFFECT
================================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 70px;
    z-index: 20;

    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(14px);
}


/* =================================
   BRAND
================================= */

.white {
    color: white;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    letter-spacing: 4px;
}

.small {
    color: #c9a84f;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 3px;
    margin-top: 4px;
    display: block;
}


/* =================================
   LOADER
================================= */

.loader {
    position: fixed;
    inset: 0;
    background: #0b0b0b;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
    transition: opacity 1.5s ease;
}

.logo {
    width: 600px;
    transition: all 1.8s cubic-bezier(.77,0,.18,1);
}


/* =================================
   HERO CONTENT
================================= */

.hero-content {
    margin-top: 160px;
    position: relative;
    z-index: 5;
    padding: 0 20px;
}


/* =================================
   COMING SOON IMAGE
================================= */

.coming-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.coming-image {
    width: 900px;
    max-width: 100%;
    height: auto;
    position: relative;

    opacity: 0;
    transform: scale(0.95);

    filter:
        drop-shadow(0 10px 25px rgba(0,0,0,0.6))
        drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}


/* =================================
   TAGLINE
================================= */

.tagline {
    margin-top: 10px;
    letter-spacing: 4px;
    font-size: 18px;
    color: #c9a84f;
    font-family: 'Cinzel', serif;

    opacity: 0;
    transform: translateY(10px);
    animation: tagReveal 2s ease forwards;
    animation-delay: 1.2s;
}

@keyframes tagReveal {
    to {
        opacity: 0.85;
        transform: translateY(0);
    }
}


/* =================================
   CTA BUTTON (Desktop + Mobile)
================================= */

a {
    text-decoration: none;
}

.cta-header,
.cta-mobile {
    display: inline-block;
    padding: 12px 34px;
    border: 1px solid #c9a84f;
    color: #c9a84f;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    font-size: 14px;
    transition: all 0.4s ease;
    box-shadow: 0 0 8px rgba(201,168,79,0.25);
}

.cta-header:hover,
.cta-mobile:hover {
    background: #c9a84f;
    color: black;
    box-shadow:
        0 0 12px rgba(201,168,79,0.6),
        0 0 30px rgba(201,168,79,0.4);
}

/* mobile hidden by default */
.cta-mobile {
    display: none;
}


/* =================================
   FOOTER
================================= */

footer {
    position: relative;
    background: #040404;
    padding: 90px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 22px;
    letter-spacing: 2px;
    opacity: 0.9;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #c9a84f,
        transparent
    );
}


/* =================================
   SNOW CANVAS
================================= */

canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 4;
}


/* =================================
   MOBILE RESPONSIVE
================================= */

@media (max-width: 768px) {

    header {
        padding: 18px 20px;
    }

    .hero-content {
        margin-top: 140px;
    }

    .logo {
        width: 280px;
    }

    .coming-image {
        width: 100%;
    }

    /* sakrij CTA u headeru */
    .cta-header {
        display: none;
    }

    /* prikaži CTA ispod tagline */
    .cta-mobile {
        display: inline-block;
        margin-top: 25px;
    }

}

/* Desktop default */

.cta-mobile {
    display: none;
}

/* Mobile only */

@media (max-width: 768px) {

    .cta-header {
        display: none;
    }

    .cta-mobile {
        display: inline-block;
        margin-top: 25px;
    }

}