:root{
    --primary:#A32124;     /* logo red */
    --secondary:#C89F65;   /* lighter red */
    --dark:#1f1f1f;
    --light:#f8f8f8;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#ffffff;
    color:#333;
}

/* NAVBAR */

nav{

    position:fixed;

    width:100%;

    top:0;

    z-index:1000;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 8%;

    background:rgba(0,0,0,0.75);

}

.logo img{
    width:190px;
    height:auto;
    display:block;
    border-radius:12px;
    box-shadow:0 3px 12px rgba(0,0,0,.15);
}

.nav-links{
    display:flex;
    list-style:none;
    gap:25px;
}

.nav-links a{
    text-decoration:none;
    color:white;
    transition:.3s;
}

.nav-links a:hover{
    color:var(--secondary);
}

/* HERO */

header{

    height:100vh;

    background:
    linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.55)
    ),
    url("images/hero-plywood.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    display:flex;

    justify-content:center;

    align-items:center;
}

.hero{
    text-align:center;
    color:white;
}

.hero h1{
    font-size:64px;
    margin-bottom:15px;
}

.hero p{
    font-size:20px;
    margin-bottom:25px;
}

.btn{
    display:inline-block;
    padding:14px 32px;
    border-radius:40px;
    background:var(--primary);
    color:white;
    text-decoration:none;
    transition:.3s;
}

.btn:hover{
    background:#861b1d;
    transform:translateY(-2px);
}

/* SECTIONS */

#about p{
    max-width:900px;
    margin:0 auto;
    line-height:1.7;
    font-size:17px;
    color:#555;
    text-align:center;
}

#about .about-tagline{
    margin-top:5px;
    font-size:20px;
    color: var(--primary);
    font-weight:600;
}

#about strong{
    color: var(--primary);
}

.section{
    padding:70px 8%;
}

.section h2{
    text-align:center;
    color:var(--primary);
    font-size:38px;
    margin-bottom:25px;
    position:relative;
}

.section p{
    max-width:900px;
    margin:0 auto;
    line-height:1.9;
    font-size:18px;
    color:#555;
    text-align:justify;
    text-align-last:center;
}

.section-subtitle{
    margin-bottom:40px !important;
}

/* PRODUCT GRID */

.products-grid{
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(3, 1fr);

    gap:30px;
}


.product-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    cursor:pointer;
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-3px);
}

.product-header{
    position:relative;
}

.product-image{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.product-title{
    position:absolute;
    bottom:0;
    left:0;
    right:0;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.8)
    );

    color:white;

    padding:20px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.product-title h3{
    font-size:28px;
}

.expand-icon{
    font-size:30px;
    font-weight:bold;
    transition:.3s;
}

.product-details{
    max-height:0;
    overflow:hidden;

    transition:
        max-height .5s ease,
        padding .5s ease;

    padding:0 25px;
}

.product-card.active .product-details{
    max-height:400px;
    padding:25px;
}

.product-card.active .expand-icon{
    transform:rotate(45deg);
}

.product-details p{
    margin-bottom:15px;
    line-height:1.7;
}

.product-details h4{
    color:var(--primary);
    margin-bottom:10px;
}

.product-details ul{
    padding-left:20px;
}

.product-details li{
    margin-bottom:8px;
}

/* CONTACT */

.contact{
    background:#222;
    color:white;
    text-align:center;
    padding:80px 8%;
}

.contact h2{
    color:var(--secondary);
    margin-bottom:40px;
}

.contact p{
    margin-bottom:15px;
}

.contact a{
    color:var(--secondary);
    text-decoration:none;
}

.contact-container p{
    margin-bottom:15px;
}


.social-links{

    margin-top:35px;
    margin-bottom:35px;

    display:flex;
    justify-content:center;
    gap:20px;

}

.company-name{
    color: var(--secondary);
    font-weight: 600;
}


.location-link{
    text-decoration:none;
    color:inherit;
    display:inline-block;
}

.location-link:hover{
    opacity:0.9;
}

.location-link .fa-location-dot{
    color:#d6d6d6;
    font-size:22px;
    margin-right:8px;
}

.location-link:hover .fa-location-dot{
    transform:scale(1.1);
    transition:.3s;
}


/* FOOTER */

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:20px;
}

/* WHATSAPP */

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    background:#25D366;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:
    0 5px 15px rgba(0,0,0,.35);

    z-index:999;

    transition:.3s;

}


.whatsapp img{

    width:42px;

    height:42px;

    object-fit:contain;

}


.whatsapp:hover{

    transform:scale(1.15);

    background:#128C7E;

}

/* MOBILE */

@media(max-width:768px){

    .hero h1{
        font-size:40px;
    }

    .hero p{
        font-size:16px;
    }

    .nav-links{
        display:none;
    }
}

@media(max-width:992px){

    .products-grid{
        grid-template-columns:repeat(2, 1fr);
    }

}


@media(max-width:600px){

    .products-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .logo img{

        width:150px;

    }

}