*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}



/* NAVBAR */

nav{
    position:fixed;
    top:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    backdrop-filter:blur(12px);
    background:rgba(255,255,255,.75);
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#ff4d30;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:#222;
    transition:.3s;
}

nav a:hover{
    color:#ff4d30;
}

/* HERO */

.hero {
    position: relative; /* Crucial anchor for the absolute layers inside */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden; /* Prevents video edges from leaking out */
}

/* Forces the video to cover the entire container perfectly without distorting */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

/* Sits directly above the video, blending your colors over the playback clip */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(243, 225, 222, 0.25), rgba(107, 69, 44, 0.75));
    z-index: 1;
}

/* Ensures your text and buttons sit cleanly on the very top layer */
.hero-content {
    position: relative;
    z-index: 2;
}









/* PRODUCTS */



.section-title{
    text-align:center;
    margin-bottom:45px;
    font-size:36px;
}





.card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.4s;
}

.card:hover img{
    transform:scale(1.08);
}



.price{
    color:#ff4d30;
    font-size:24px;
    font-weight:700;
    margin:15px 0;
}

.buy-btn{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#ff4d30;
    color:#fff;
    cursor:pointer;
    transition:.3s;
}

.buy-btn:hover{
    background:#222;
}

/* FOOTER */

footer{
    background:#111;
    color:#fff;
    text-align:center;
    padding:50px 20px;
}

.socials{
    margin-top:20px;
}

.socials a{
    display:inline-block;
    margin:10px;
    padding:12px 25px;
    border:1px solid rgba(255,255,255,.3);
    border-radius:30px;
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.socials a:hover{
    background:#ff4d30;
}

/* ANIMATIONS */

.reveal{
    opacity:0;
    transform:translateY(50px);
    transition:1s;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(50px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* MOBILE */

@media(max-width:768px){

nav{
    padding:15px 5%;
}

nav ul{
    gap:18px;
}

.hero h1{
    font-size:38px;
}

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

}






.image-box img{
    width:100%;
    display:block;
    transition:.5s;
}

.image-box:hover img{
    transform:scale(1.08) rotate(-2deg);
}



.badge{
    display:inline-block;
    padding:8px 18px;
    background:#ff4d30;
    color:#fff;
    border-radius:30px;
    font-size:14px;
    margin-bottom:18px;
}

.product-info h1{
    font-size:42px;
    line-height:1.2;
    margin-bottom:20px;
    color:#222;
}

.price{
    font-size:42px;
    font-weight:700;
    color:#ff4d30;
    margin-bottom:20px;
}

.description{
    color:#666;
    line-height:1.8;
    margin-bottom:25px;
}

.details{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:30px;
}

.detail{
    background:#f7f7f7;
    padding:14px 18px;
    border-radius:12px;
    font-size:15px;
}



.select-group label{
    display:block;
    font-weight:600;
    margin-bottom:10px;
}

.select-group select{
    width:100%;
    padding:15px;
    border-radius:12px;
    border:2px solid #ddd;
    font-size:16px;
    outline:none;
    transition:.3s;
}

.select-group select:focus{
    border-color:#ff4d30;
}



.buy-btn:hover{
    background:#222;
    transform:translateY(-4px);
    box-shadow:0 15px 30px rgba(0,0,0,.18);
}

/* Tablet */

@media(max-width:900px){

.product-detail{
    flex-direction:column;
    padding:30px;
    gap:35px;
}

.product-info h1{
    font-size:34px;
}

.price{
    font-size:34px;
}

}

/* Mobile */

@media(max-width:600px){

.product-detail{
    margin:90px 15px 50px;
    padding:20px;
    border-radius:18px;
}

.image-box{
    padding:20px;
}

.product-info h1{
    font-size:28px;
}

.price{
    font-size:30px;
}

.description{
    font-size:15px;
}

.buy-btn{
    font-size:17px;
    padding:16px;
}

}

.product-detail{
    max-width:1200px;
    margin:120px auto 60px;
    padding:0 8%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.image-box img{
    width:100%;
    border-radius:20px;
}



.thumbnails img{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    border:2px solid transparent;
}

.thumbnails img:hover{
    border-color:#ff4d30;
}

.product-info h1{
    margin:15px 0;
    font-size:40px;
}

.badge{
    display:inline-block;
    background:#ff4d30;
    color:white;
    padding:8px 15px;
    border-radius:30px;
    font-size:14px;
}

.description{
    margin:20px 0;
    line-height:1.8;
}

.details{
    margin:25px 0;
}

.detail { 
    font-size: 13px; 
    font-weight: 500; 
    color: #fff; 
    display: flex; 
    align-items: center; 
    gap: 6px;
    /* Overrides old style background to make it glass */
    background: rgba(255, 255, 255, 0.08) !important; 
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }



.select-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.select-group select{
    width:100%;
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
}

@media(max-width:768px){

    .product-detail{
        grid-template-columns:1fr;
    }

    .product-info h1{
        font-size:30px;
    }

}



.thumbnail-container img{

    width:75px;

    height:75px;

    object-fit:cover;

    border-radius:8px;

    cursor:pointer;

    border:2px solid transparent;

    transition:.3s;

}

.thumbnail-container img:hover{

    border-color:#ff4d30;

}

.menu-toggle{

display:none;

background:none;

border:none;

color:white;

font-size:28px;

cursor:pointer;

}

@media(max-width:768px){

nav{

height:auto;

padding:18px;

align-items:flex-start;

}

.menu-toggle{

display:block;

}

nav{

flex-wrap:wrap;

}

nav ul{

display:none;

flex-direction:column;

width:100%;

margin-top:15px;

gap:15px;

}

nav ul.show{

display:flex;

}

nav .logo{

font-size:18px;

}

}

