*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',sans-serif;
}

body{
overflow-x:hidden;
background:#000;
}

.hero-slider{
position:relative;
height:100vh;
width:100%;
overflow:hidden;
}

.slide{
position:absolute;
width:100%;
height:100%;
display:flex;
align-items:center;
padding-left:120px;
background-size: 100% 100%;
background-position: center;
opacity:0;
transition:3s;
}

.slide.active{
opacity:1;
z-index:2;
}

.slide::before{
content:"";
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,.45);
top:0;
left:0;
}

.content{
position:relative;
max-width:700px;
color:white;
z-index:2;
animation:fadeUp 1s ease;
}

.content span{
background-color:#ff6a00;
color:#ffffff;
font-size:20px;
font-weight:700;
letter-spacing:2px;
}

.content h1{
font-size:63px;
margin:15px 0;
line-height:1.1;
}

.content p{
font-size:20px;
margin-bottom:30px;
}

.btn{
display:inline-block;
padding:14px 35px;
background:#ff6a00;
color:white;
text-decoration:none;
border-radius:30px;
font-weight:600;
}

/* --- DESKTOP HERO BACKGROUND ASSETS --- */
.slide1{ background-image:url('images/hero/slide1-desktop.webp'); }
.slide2{ background-image:url('images/hero/slide2-desktop.webp'); }
.slide3{ background-image:url('images/hero/slide3-desktop.webp'); }
.slide4{ background-image:url('images/hero/slide4-desktop.webp'); }
.slide5{ background-image:url('images/hero/slide5-desktop.webp'); }

.dots{
position:absolute;
bottom:40px;
left:50%;
transform:translateX(-50%);
display:flex;
gap:10px;
z-index:99;
}

.dot{
width:12px;
height:12px;
border-radius:50%;
background:white;
cursor:pointer;
}

.dot.active{
background:#ff6a00;
width:30px;
border-radius:20px;
}

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(60px);
}
to{
opacity:1;
transform:translateY(0);
}
}

/* =========================
   PRODUCTS SECTION
========================= */
.products-section{
    padding:60px 5%;
    background:#dfdfdf;
}

.products-section .section-title{
    text-align:center;
    margin-bottom:35px;
}

.products-section .section-title span{
    color:#ff6a00;
    font-weight:700;
    letter-spacing:2px;
    font-size:18px;
}

.products-section .section-title h2{
    font-size:56px;
    color:#222;
    margin:10px 0;
}

.products-section .section-title p{
    color:#666;
    font-size:18px;
    max-width:700px;
    margin:16px auto 0;
    line-height:1.8;
}

/* =========================
   PRODUCT SLIDER (6-CARD SLIDES)
========================= */
.product-slider{
    position: relative;
}

.product-slide{
    display: none;
    grid-template-columns: repeat(6, 1fr); 
    gap: 20px;
}

.product-slide.active{
    display: grid;
}

.product-card{
    background: #c5c4c4;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 275px; 
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s;
}

.product-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.image-wrapper{
    position: relative;
    width: 100%;
    height: 220px;
    transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-wrapper picture img{
    width: 100%;
    height: 100%;
}

.normal-img {
    display: block;
    padding: 15px;
    height: 100%;
}

.normal-img img {
    object-fit: contain;
}

.hover-img {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hover-img img {
    object-fit: cover;
}

.product-card h3{
    text-align: center;
    padding: 15px 10px;
    margin: auto 0 0 0;
    color: #222;
    font-size: 16px;
    background: #c5c4c4;
    width: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* --- HOVER EFFECTS (DESKTOP ONLY) --- */
@media (min-width: 769px) {
    .product-card:hover .image-wrapper {
        height: 100%; 
    }

    .product-card:hover .hover-img {
        opacity: 1;
    }

    .product-card:hover h3 {
        opacity: 0;
        transform: translateY(15px);
        pointer-events: none;
    }
}

/* =========================
   SMART LIVING SECTION
========================= */
.smart-living-section {
    padding: 60px 5%;
    background: #f4f5f7; 
}

.section-header {
    text-align: center;
    margin-bottom: 35px; 
}

.section-header h2 {
    font-size: 46px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.section-description {
    max-width: 720px;
    margin: 16px auto 0;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* --- PREMIUM CATEGORY TABS --- */
.living-categories {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.living-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #2d2d2d;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 30px; 
    padding: 14px 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.living-tab span {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.living-tab:hover span,
.living-tab.active span {
    max-width: 180px;
}

.living-tab:hover {
    background: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.living-tab.active {
    background: #ff7a00;
    color: #fff;
    border-color: #ff7a00;
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
}

/* --- IMMERSIVE SHOWCASE & BANNER --- */
.living-showcase {
    position: relative;
    border-radius: 24px;
    overflow: visible; 
    width: 100%;
    margin: 0 auto 40px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.living-background {
    height: 720px; 
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.living-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.living-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
}

/* --- FLOATING & SPACIOUS PRODUCT CARDS --- */
.living-cards {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: -40px; 
    display: flex;
    gap: 24px;
    z-index: 10;
}

.living-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 20px; 
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.85;
}

.living-card.active {
    opacity: 1;
    background: #ffffff;
    transform: translateY(-15px); 
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.card-thumb {
    width: 100%;
    height: 160px; 
    overflow: hidden;
    border-radius: 12px;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.living-card:hover .card-thumb img {
    transform: scale(1.06);
}

.card-info h3 {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    margin: 16px 0 8px;
}

.card-info p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0; 
    min-height:0
}

/* =========================================
   SNAP SECURE FLOATING BUTTONS
========================================= */
.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;
    width:58px;
    height:58px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:30px;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    z-index:9999;
    transition:.3s;
}

.whatsapp-float:hover{
    transform:translateY(-4px) scale(1.08);
    box-shadow:0 12px 24px rgba(0,0,0,.35);
}

.scroll-top-btn{
    position:fixed;
    right:20px;
    bottom:90px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#ff8c00;
    color:#fff;
    font-size:20px;
    cursor:pointer;
    display:none;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    z-index:9998;
    transition:.3s;
}

.scroll-top-btn:hover{
    transform:translateY(-4px);
    background:#ff6b00;
}

.scroll-top-btn.show{
    display:flex;
}

/* =========================================
   MEDIA QUERY: TABLET BREAKPOINT
========================================= */
@media (max-width: 1024px) {
    .product-slide{ grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .living-cards { left: 20px; right: 20px; gap: 16px; }
    .card-info h3 { font-size: 18px; }
}

/* =========================================
   MEDIA QUERY: MOBILE VIEW
========================================= */
@media (max-width: 768px){
    .header{ padding:15px; }
    .nav-links{ display:none; }
    .content{ padding-right:20px; }
    .content h1{ font-size:38px; }
    .content p{ font-size:16px; }
    
    .slide{ 
        padding-left:25px; 
        background-size: cover;
        background-position: center;
    }

    .slide1{ background-image:url('images/hero/slide1-mobile.webp'); }
    .slide2{ background-image:url('images/hero/slide2-mobile.webp'); }
    .slide3{ background-image:url('images/hero/slide3-mobile.webp'); }
    .slide4{ background-image:url('images/hero/slide4-mobile.webp'); }
    .slide5{ background-image:url('images/hero/slide5-mobile.webp'); }

    .products-section{ padding: 40px 15px; }
    .products-section .section-title{ margin-bottom: 24px; }
    .products-section .section-title h2{ font-size: 34px; line-height: 1.2; }
    .products-section .section-title p{ font-size: 16px; line-height: 1.6; margin-top: 12px; }

    .product-slide{ grid-template-columns: repeat(2, 1fr); gap: 15px; }
    
    .product-card{ 
        height: auto; 
        min-height: 190px; 
        border-radius: 15px; 
    }
    
    .image-wrapper{ 
        height: 145px; 
    }
    .image-wrapper picture img{ 
        height: 145px; 
        object-fit: contain; 
    }
    
    .normal-img { 
        padding: 6px; 
    }
    
    .product-card h3{ 
        font-size: 13px; 
        line-height: 1.4; 
        padding: 8px 10px 12px; 
        opacity: 1 !important; 
        transform: none !important; 
    }

    .smart-living-section { padding: 40px 15px; }
    .section-header { margin-bottom: 24px; }
    .section-header h2 { font-size: 32px; }
    .section-description { margin-top: 12px; }
    .living-categories { gap: 12px; margin-bottom: 24px; }

    .living-showcase { overflow: hidden; border-radius: 20px; margin-bottom: 0; }
    .living-background { height: 520px; }

    .living-cards {
        display: block;
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: 20px;
    }
    .living-card { display: none; }
    
    .living-card.active {
        display: flex;
        align-items: center;
        gap: 16px;
        position: static;
        background: rgba(255, 255, 255, 0.96);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-radius: 18px;
        padding: 16px;
        transform: none;
        box-shadow: 0 12px 30px rgba(0,0,0,0.22);
    }

    .card-thumb { 
        flex: 0 0 125px; 
        height: 125px; 
        border-radius: 12px;
        overflow: hidden;
    }
    .card-thumb img { 
        width: 100%; 
        height: 100%; 
        object-fit: cover;
    }

    .card-info { padding: 0; flex: 1; }
    .card-info h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px 0; color: #111; }
    .card-info p { font-size: 13px; line-height: 1.45; margin-bottom: 0; min-height: 0; color: #444; }

    .whatsapp-float{ width:52px; height:52px; font-size:26px; right:15px; bottom:15px; }
    .scroll-top-btn{ width:50px; height:50px; font-size:18px; right:15px; bottom:78px; }
}