/* =========================================================
   LeatherBagsKingdom
   Style.css v4.0
   by Alex Polak
=========================================================*/

/* ---------- RESET ---------- */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f6f3ee;
    color:#2d2d2d;
    line-height:1.6;
}

/* ---------- HEADER ---------- */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
}

/* ---------- NAVBAR ---------- */

.navbar{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:14px 40px;

    background:rgba(58,39,24,.94);

    backdrop-filter:blur(12px);

    box-shadow:0 3px 15px rgba(0,0,0,.18);

}

.logo{

    display:flex;
    align-items:center;

}

.logo img{

    height:72px;
    width:auto;
    display:block;

}

.nav-links{

    display:flex;
    list-style:none;
    gap:28px;

}

.nav-links li{

    list-style:none;

}

.nav-links a{

    color:#ffffff;
    text-decoration:none;
    font-weight:600;

    transition:.3s;

    position:relative;

}

.nav-links a:hover{

    color:#d4a373;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:0;

    height:2px;

    background:#d4a373;

    transition:.3s;

}

.nav-links a:hover::after{

    width:100%;

}

.etsy-btn{

    background:#8b5e3c;

    padding:10px 18px;

    border-radius:8px;

}

.etsy-btn:hover{

    background:#b07a4f;

    color:white;

}

/* ---------- HERO ---------- */

.hero{

    position:relative;

}

.hero img{

    width:100%;

    height:700px;

    object-fit:cover;

    display:block;

}

.hero-text{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    width:90%;

    text-align:center;

    color:white;

}

.hero-text h1{

    font-size:64px;

    margin-bottom:20px;

    text-shadow:2px 2px 12px rgba(0,0,0,.7);

}

.hero-text p{

    font-size:24px;

    margin-bottom:35px;

    text-shadow:2px 2px 12px rgba(0,0,0,.7);

}

/* =========================================================
   BUTTONS
=========================================================*/

.btn{

    display:inline-block;

    padding:14px 32px;

    background:#8b5e3c;

    color:#ffffff;

    text-decoration:none;

    font-size:18px;

    font-weight:bold;

    border-radius:8px;

    transition:.3s;

}

.btn:hover{

    background:#6d472c;

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(0,0,0,.25);

}

/* =========================================================
   CONTAINER
=========================================================*/

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

    padding:70px 0;

}

section{

    scroll-margin-top:100px;

}

h2{

    text-align:center;

    font-size:40px;

    color:#4a2c1d;

    margin-bottom:45px;

}

/* =========================================================
   PRODUCTS
=========================================================*/

.products{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:35px;

    margin-top:40px;

}

/* =========================================================
   CARD
=========================================================*/

.card{

    width:260px;

    background:#ffffff;

    border-radius:14px;

    overflow:hidden;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.12);

    transition:.35s;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.18);

}

.card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.35s;

}

.card:hover img{

    transform:scale(1.05);

}

.card h3{

    padding:22px 15px;

    font-size:21px;

    color:#3c2b1f;

}

.card .btn{

    margin-bottom:22px;

}

/* ==================================================
   ABOUT
================================================== */

.about {
    max-width: 900px;
    margin: 80px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,.10);
}

.about h2 {
    text-align: center;
    margin-bottom: 30px;
}

.about p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* ==================================================
   CONTACT
================================================== */

.contact {
    padding: 80px 20px;

    text-align: center;

    background: #f8f6f3;
}

.contact p {
    font-size: 18px;

    color: #555;
}

.contact-links {
    margin-top: 35px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 20px;
}

.contact-links a {
    display: inline-block;

    min-width: 180px;

    padding: 14px 28px;

    border-radius: 10px;

    background: #8b5e3c;

    color: white;

    text-decoration: none;

    font-weight: bold;

    transition: .3s;
}

.contact-links a:hover {
    background: #6d472c;

    transform: translateY(-4px);
}

/* ==================================================
   FOOTER
================================================== */

.footer {
    background: #2f2a26;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
}

.footer h3 {
    margin-bottom: 15px;
    font-size: 28px;
}

.footer p {
    margin: 10px 0;
    color: #d6d6d6;
}

.footer a {
    color: #d4a373;

    text-decoration: none;

    transition: .3s;
}

.footer a:hover {
    color: white;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 768px) {


section {
    scroll-margin-top: 100px;
}

::selection {
    background: #8b5e3c;
    color: white;
}


    .logo img {
        height: 50px;
         width:auto;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }

    .hero img {
        height: 360px;
        padding-top: 110px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-text p {
        font-size: 18px;
    }

.hero button {
        padding: 16px 35px;
        font-size: 18px;
    }

    .navbar {
        flex-direction: column;
        padding: 16px;
    }


/* ==================================================
   SMALL IMPROVEMENTS
================================================== */

img {
    max-width: 100%;
}


    .products {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 360px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

}
