@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Montserrat', sans-serif;
}

body{
    background:#0b0b0b;
    color:#fff;
}

/* ================= HEADER ================= */
.header{
    position:sticky;
    top:0;
    z-index:999;
    background:rgba(0,0,0,0.75);
    backdrop-filter:blur(10px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
}

.logo{
    font-size:26px;
    font-weight:800;
    letter-spacing:1px;
    color:#f1c40f;
}

.nav a{
    margin-left:28px;
    text-decoration:none;
    color:#ddd;
    font-weight:600;
    transition:0.3s;
}

.nav a:hover,
.nav a.active{
    color:#f1c40f;
}

.login-btn{
    padding:8px 16px;
    border:1px solid #f1c40f;
    border-radius:30px;
}

/* ================= HERO ================= */
.hero{
    height:90vh;
    background:
        linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.2)),
        url('https://images.unsplash.com/photo-1603808033192-082d6919d3c6?auto=format&fit=crop&w=1920&q=80');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    padding:0 8%;
}

.hero-content{
    max-width:600px;
}

.hero h1{
    font-size:52px;
    font-weight:800;
    line-height:1.1;
}

.hero p{
    margin:20px 0 35px;
    font-size:18px;
    color:#ccc;
}

.btn-primary{
    display:inline-block;
    background:#f1c40f;
    color:#000;
    padding:14px 34px;
    border-radius:40px;
    font-weight:700;
    text-decoration:none;
    transition:0.3s;
}

.btn-primary:hover{
    background:#ffd83d;
}

/* ================= PRODUKTET ================= */
.products{
    padding:90px 8%;
    background:#111;
}

.products h2{
    text-align:center;
    font-size:36px;
    margin-bottom:50px;
    font-weight:800;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.product-card{
    background:#1a1a1a;
    border-radius:18px;
    overflow:hidden;
    text-decoration:none;
    color:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,0.5);
    transition:0.35s;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 60px rgba(0,0,0,0.8);
}

.product-card img{
    width:100%;
    height:230px;
    object-fit:cover;
    transition:0.4s;
}

.product-card:hover img{
    transform:scale(1.08);
}

.product-info{
    padding:20px;
}

.product-name{
    font-size:16px;
    font-weight:700;
    margin-bottom:8px;
}

.product-price{
    font-size:18px;
    font-weight:800;
    color:#f1c40f;
}

/* ================= FOOTER ================= */
.footer{
    background:#000;
    padding:30px;
    text-align:center;
    font-size:14px;
    color:#aaa;
}

/* ================= HERO ANIMATION ================= */
@keyframes heroFade {
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.animate-hero h1{
    animation:heroFade 1s ease forwards;
}

.animate-hero p{
    animation:heroFade 1.2s ease forwards;
}

.animate-hero .btn-primary{
    animation:heroFade 1.4s ease forwards;
}

/* ================= SCROLL REVEAL ================= */
.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:0.7s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* ================= SHINE EFFECT ================= */
.product-card{
    position:relative;
    overflow:hidden;
}

.product-card::before{
    content:"";
    position:absolute;
    top:0;
    left:-75%;
    width:50%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.15),
        transparent
    );
    transform:skewX(-25deg);
}

.product-card:hover::before{
    left:125%;
    transition:0.7s;
}

.loader{
    position:fixed;
    inset:0;
    background:#000;
    z-index:9999;
    animation:fadeOut 1s ease 1.2s forwards;
}

@keyframes fadeOut{
    to{
        opacity:0;
        visibility:hidden;
    }
}


/* ===============*
