/* =======================================
   LUCAFINO PREMIUM WEBSITE
   PART 1
   Global + Navbar + Hero
========================================== */

/* Google Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

/* ROOT COLORS */

:root{

    --black:#050505;

    --black2:#101010;

    --gold:#D4AF37;

    --gold-light:#f0d36b;

    --white:#ffffff;

    --grey:#b8b8b8;

}

/* BODY */

body{

    background:var(--black);

    color:var(--white);

    font-family:'Poppins',sans-serif;

    overflow-x:hidden;

}

/* SCROLLBAR */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#0a0a0a;

}

::-webkit-scrollbar-thumb{

    background:var(--gold);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--gold-light);

}

/* CONTAINER */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/* SECTION */

section{

    padding:120px 0;

}

/* TITLES */

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title h2{

    color:var(--gold);

    font-size:42px;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.section-title h2::after{

    content:"";

    width:100px;

    height:3px;

    display:block;

    margin:15px auto;

    background:var(--gold);

}

.section-title p{

    color:var(--grey);

    font-size:18px;

}

/* ===========================
        NAVBAR
============================= */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:rgba(5,5,5,.92);

    backdrop-filter:blur(15px);

    border-bottom:1px solid rgba(212,175,55,.25);

    transition:.4s;

}

.logo-img{

    height:45px;

    width:auto;

}

/* NAV CONTAINER */

.nav-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:85px;

}

/* LOGO */

.logo{

    color:var(--gold);

    font-size:34px;

    font-weight:800;

    letter-spacing:4px;

    cursor:pointer;

    transition:.4s;

}

.logo:hover{

    transform:scale(1.05);

}

/* NAV */

nav ul{

    display:flex;

    align-items:center;

    gap:40px;

    list-style:none;

}

nav ul li a{

    color:white;

    text-decoration:none;

    font-size:17px;

    font-weight:500;

    transition:.35s;

    position:relative;

}

nav ul li a:hover{

    color:var(--gold);

}

nav ul li a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0%;

    height:2px;

    background:var(--gold);

    transition:.4s;

}

nav ul li a:hover::after{

    width:100%;

}

/* BUTTON */

.btn{

    display:inline-block;

    margin-top:35px;

    padding:16px 42px;

    border-radius:50px;

    background:var(--gold);

    color:black;

    text-decoration:none;

    font-weight:700;

    transition:.35s;

    letter-spacing:1px;

}

.btn:hover{

    background:white;

    transform:translateY(-4px);

    box-shadow:0 10px 25px rgba(212,175,55,.35);

}

/* ======================
        HERO
======================== */

.hero{

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    overflow:hidden;

    background:#000;

}

/* REPLACE THIS WITH YOUR IMAGE */

.hero{

    background-image:url("hero.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

}

/* OVERLAY */

.overlay{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:linear-gradient(

        rgba(0,0,0,.78),

        rgba(0,0,0,.55)

    );

}

/* HERO CONTENT */

.hero-content{

    position:relative;

    z-index:2;

    width:90%;

    max-width:900px;

    text-align:center;

}

/* HERO TITLE */

.hero-content h1{

    font-size:72px;

    color:white;

    margin-bottom:25px;

    line-height:1.15;

    text-transform:uppercase;

    letter-spacing:3px;

}

/* GOLD TEXT */

.hero-content h1 span{

    color:var(--gold);

}

/* HERO PARAGRAPH */

.hero-content p{

    color:#d5d5d5;

    font-size:22px;

    line-height:1.9;

    margin:auto;

    max-width:700px;

}

/* HERO SMALL LINE */

.hero-content::before{

    content:"Premium Instant Coffee";

    display:block;

    color:var(--gold);

    letter-spacing:5px;

    text-transform:uppercase;

    margin-bottom:25px;

    font-size:15px;

}

/* HERO GLOW */

.hero::after{

    content:"";

    position:absolute;

    width:650px;

    height:650px;

    border-radius:50%;

    background:rgba(212,175,55,.08);

    filter:blur(120px);

    bottom:-280px;

    right:-150px;

}

/* GOLD DIVIDER */

.gold-divider{

    width:120px;

    height:3px;

    background:var(--gold);

    margin:40px auto;

}

/* TEXT */

p{

    color:#d4d4d4;

    line-height:1.9;

}

/* LINKS */

a{

    text-decoration:none;

}

/* IMAGES */

img{

    width:100%;

    display:block;

    
}


/* =======================================
   LUCAFINO PREMIUM WEBSITE
   PART 2
   About + Why LUCAFINO + Collection
==========================================*/

/* =========================
        ABOUT SECTION
========================= */

#about{

    background:#0b0b0b;

    padding:60px 0 0;

}

.about-grid{

    width:100%;

    display:grid;

    grid-template-columns:1fr;

    place-items:center;

    gap:0;

}

.about-text.story-block{

    width:100%;

    max-width:none;

    margin:0;

    padding:0;

}

#about .container{

    width:100%;

    max-width:none;

    padding:0;

}

.about-grid{

    width:100%;

    display:grid;

    grid-template-columns:1fr;

    gap:0;

}

.about-text.story-block .story-image,
.about-text .story-image{

    width:100vw;

    max-width:100vw;

    margin-left:50%;

    transform:translateX(-50%);

    height:700px;

    object-fit:cover;

    border-radius:0;

    display:block;

}

.about-text h3{

    color:var(--gold);

    font-size:34px;

    margin-bottom:25px;

    letter-spacing:1px;

    text-align:center;

    max-width:1000px;

    margin:0 auto 25px;

}

.about-text .story-image{

    width:100%;

    height:700px;

    max-height:700px;

    object-fit:cover;

    display:block;

    border-radius:0;

    box-shadow:none;

}

.why{

    background:#050505;

}

.cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.card{

    background:#111111;

    padding:45px 35px;

    border-radius:20px;

    border:1px solid rgba(212,175,55,.15);

    transition:.4s;

    position:relative;

    overflow:hidden;

}

.card::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(212,175,55,.08),
        transparent
    );

    transition:.8s;

}

.card:hover::before{

    left:100%;

}

.card:hover{

    transform:translateY(-12px);

    border-color:var(--gold);

    box-shadow:0 20px 40px rgba(212,175,55,.15);

}

.card h3{

    color:var(--gold);

    font-size:25px;

    margin-bottom:20px;

}

.card p{

    color:#cfcfcf;

    line-height:1.9;

    font-size:17px;

}

/* =========================
      PRODUCT COLLECTION
========================= */

#collection{

    background:#0b0b0b;

}

.products{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:40px;

}

.product{

    background:#101010;

    border-radius:22px;

    overflow:hidden;

    text-align:center;

    border:1px solid rgba(212,175,55,.18);

    transition:.45s;

    padding-bottom:35px;

}

.product:hover{

    transform:translateY(-15px);

    border-color:var(--gold);

    box-shadow:0 25px 50px rgba(212,175,55,.18);

}

.product img{

    width:100%;

    height:420px;

    object-fit:cover;

    transition:.5s;

}

.product:hover img{

    transform:scale(1.04);

}

.product h3{

    color:var(--gold);

    font-size:30px;

    margin-top:30px;

    margin-bottom:8px;

}

.product h4{

    color:white;

    font-size:19px;

    margin-bottom:18px;

    font-weight:500;

}

.product p{

    width:85%;

    margin:12px auto;

    color:#d0d0d0;

    line-height:1.9;

    font-size:17px;

}

/* GOLD LINE */

.product::after{

    content:"";

    display:block;

    width:90px;

    height:3px;

    background:var(--gold);

    margin:25px auto 0;

}

/* =========================
        ANIMATIONS
========================= */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.about-grid,
.cards,
.products{

    animation:fadeUp 1s ease;

}




/* =======================================
   LUCAFINO PREMIUM WEBSITE
   PART 3
   Contact + Footer + Responsive + Animations
==========================================*/

/* ==========================
        CONTACT SECTION
========================== */

#contact{

    background:#050505;

}

.contact-box{

    max-width:850px;

    margin:0 auto;

    text-align:center;

    background:#111111;

    padding:60px 40px;

    border-radius:20px;

    border:1px solid rgba(212,175,55,.2);

    transition:.4s;

    box-shadow:0 15px 35px rgba(0,0,0,.4);

}

.contact-box:hover{

    border-color:var(--gold);

    box-shadow:0 20px 45px rgba(212,175,55,.15);

}

.contact-box h3{

    color:var(--gold);

    font-size:32px;

    margin-bottom:20px;

}

.contact-box p{

    color:#d0d0d0;

    font-size:18px;

    margin-bottom:35px;

    line-height:1.8;

}

.contact-links{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.contact-links a{

    color:white;

    font-size:20px;

    text-decoration:none;

    transition:.3s;

    font-weight:500;

}

.contact-links a:hover{

    color:var(--gold);

    transform:translateX(8px);

}

/* ==========================
            FOOTER
========================== */

footer{

    background:#000;

    padding:60px 20px;

    text-align:center;

    border-top:1px solid rgba(212,175,55,.15);

}

footer h2{

    color:var(--gold);

    font-size:34px;

    letter-spacing:4px;

    margin-bottom:20px;

}

.footer-logo{

    display:block;

    margin:0 auto 25px;

    max-width:220px;

    width:100%;

    height:auto;

}

footer p{

    color:#bdbdbd;

    line-height:1.8;

    max-width:700px;

    margin:10px auto;

}

footer .copyright{

    margin-top:30px;

    color:#777;

    font-size:15px;

}

/* ==========================
        HOVER EFFECTS
========================== */

.btn,
.card,
.product,
.about-image,
.contact-box{

    transition:all .4s ease;

}

/* ==========================
      FADE ANIMATION
========================== */

.fade{

    opacity:0;

    transform:translateY(50px);

    transition:1s;

}

.fade.active{

    opacity:1;

    transform:translateY(0);

}

/* ==========================
      RESPONSIVE
========================== */

@media(max-width:992px){

    .hero-content h1{

        font-size:55px;

    }

    .about-grid{

        grid-template-columns:1fr;

    }

    .products{

        grid-template-columns:1fr;

    }

    .cards{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    header{

        padding:0 20px;

    }

    .nav-container{

        flex-direction:column;

        height:auto;

        padding:20px 0;

    }

    nav{

        margin-top:20px;

    }

    nav ul{

        flex-wrap:wrap;

        justify-content:center;

        gap:20px;

    }

    .hero{

        padding:0 20px;

    }

    .hero-content h1{

        font-size:42px;

    }

    .hero-content p{

        font-size:18px;

    }

    .section-title h2{

        font-size:34px;

    }

    .about-text h3{

        font-size:28px;

    }

    .contact-box{

        padding:40px 25px;

    }

    .contact-links a{

        font-size:18px;

    }

}

@media(max-width:500px){

    .logo{

        font-size:26px;

    }

    nav ul{

        gap:15px;

    }

    nav ul li a{

        font-size:15px;

    }

    .hero-content h1{

        font-size:34px;

    }

    .hero-content p{

        font-size:16px;

    }

    .btn{

        padding:14px 30px;

        font-size:15px;

    }

    .section-title h2{

        font-size:28px;

    }

    .product h3{

        font-size:24px;

    }

    .product h4{

        font-size:17px;

    }

}

/* ==========================
      SELECTION COLOR
========================== */

::selection{

    background:var(--gold);

    color:black;

}

/* ==========================
      SMOOTH IMAGE EFFECT
========================== */

.product img,
.about-image img{

    transition:transform .5s ease;

}

.product:hover img,
.about-image:hover img{

    transform:scale(1.05);

}

/* ==========================
        GOLD GLOW
========================== */

.card:hover,
.product:hover,
.contact-box:hover{

    box-shadow:
    0 0 15px rgba(212,175,55,.15),
    0 0 35px rgba(212,175,55,.08);

}

/* =======================================
        END OF STYLE.CSS
==========================================*/