/* RESET */

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

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    line-height: 1.6;
    padding-top: 80px;
}
html, body { overflow-x: hidden; }
/* HEADER */

h3,h4{
    font-size: 18px;
}
p{
    font-size: 16px;
}

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

    background: #3b2a22;
    padding: 15px 40px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

/* NAVIGATION */

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

nav a.active {
    color: #d4af37;
}

/* SHOP BUTTON */

.shop_now a {
    background: #d4af37;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* HERO */

.hero {
    height: 70vh;
    background: url(images/design1.jpg) center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

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

.hero p {
    margin-top: 10px;
}

/* BUTTON */

.btn {
    background: #d4af37;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
}

/* SERVICES */

.services {
    padding: 80px 40px;
    text-align: center;
}

.services h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card i {
    color: #d4af37;
    font-size: 30px;
}

.service-card h3 {
    margin: 15px 0;
}

/* EXPERIENCE SLIDER */

.experience {
    padding: 80px 40px;
    text-align: center;
    background: #fff;
}

.experience h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.experience p {
    color: #555;
    margin-bottom: 40px;
}

.slider {
    position: relative;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}


/* BUTTONS */

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    background: #d4af37;
}

/* CONTACT INFO */

.contact-info {
    padding: 80px 40px;
    background: #fff;
    text-align: center;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 40px;
    color: #555;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

.contact-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 28px;
    color: #d4af37;
    margin-bottom: 10px;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card a {
    color: #333;
    text-decoration: none;
}

.contact-card a:hover {
    color: #d4af37;
}

/* GOOGLE MAP */

.map-section {
    padding: 80px 40px;
    text-align: center;
    background: #f9f9f9;
}

.map-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.map-container {
    max-width: 1000px;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* MOBILE */

@media(max-width:768px) {

    .map-container iframe {
        height: 350px;
    }

}

@media(max-width:412px) {

    .map-container iframe {
        height: 250px;
    }

}

/* WHATSAPP FLOAT BUTTON */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ABOUT PAGE */

.about-banner {
    height: 48vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(images/about.jpg) center/cover;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.about-section {
    padding: 80px 40px;
    background: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* TESTIMONIALS */

.testimonials {
    padding: 80px 40px;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* PRODUCTS */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 80px 40px;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* CONTACT */

.contact-banner {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(images/contact.jpg) center 65%/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.contact-section {
    display: flex;
    justify-content: center;
    padding: 60px;
}

.contact_form {
    background: #3b2a22;
    color: white;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

.contact_form input,
.contact_form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: none;
}

.btn-primary {
    background: #d4af37;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 20px;
    background: #3b2a22;
    color: white;
    margin-top: 40px;
}

/* HAMBURGER */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 4px;
}

/* TABLET */

@media(max-width:768px) {

    nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 220px;
        background: #3b2a22;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    nav ul {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    nav ul li a {
        display: block;
        padding: 10px;
    }

    nav.active {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    /* Ensure content sits right below the fixed header */
    body {
        padding-top: 65px;
    }
    
    .hero h1 {
        font-size: 32px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .shop_now {
        display: none;
    }

    .slide img {
        height: 350px;
    }
}

/* MOBILE */

@media(max-width:412px) {

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

    .services,
    .about-section,
    .testimonials {
        padding: 40px 20px;
    }

    .product-grid {
        padding: 40px 20px;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .service-card img {
        height: 180px;
    }

    .experience h2 {
        font-size: 24px;
    }

    .slide img {
        height: 250px;
    }
}

.container h2{
    font-size: 28px;
    margin-bottom: 20px;
}
.products-layout {
    display: flex;
    gap: 40px;
}

/* SIDEBAR */
.sidebar {
    width: 220px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.sidebar h3 {
    margin-bottom: 15px;
    color: #3b2a22;
    font-size: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.price-btn, .category-btn {
    width: 60%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #d4af37;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.price-btn:hover, .category-btn:hover, .category-btn.active {
    background: #b8952d;
}
.btn:hover {
    background: #b8952d;
}
/* SEARCH BAR */
.search-bar input {
    width: 50%;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    flex: 1;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

.product-card .price {
    color: #3b2a22;
    font-weight: bold;
    margin-bottom: 10px;
}
.product-card.furniture h3{
    font-size: 18px;
}
.product-card.gypsum h3{
    font-size: 18px;
}
.product-card.chandeliers h3{
    font-size: 18px;
}   
/* RESPONSIVE */
@media(max-width:1024px) {
    /* Reduce top padding so the fixed header doesn't create extra space */
    body {
        padding-top: 70px;
    }

    .products-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        margin-bottom: 20px;
    }
    .search-bar input {
        width: 80%;
    }
}
.products-banner {
    height: 45vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(images/product-banner2.jpg) center 75vh/cover;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
@media (max-width:768px) {
    .products-banner {
        height: 40vh;
        width: 100%;
        background-position: center 75vh;
    }
    .product-banner h1 {
        font-size: 28px;
    }
    .product-banner p {
        font-size: 16px;
    }
}
@media (max-width:412px) {
    /* Reduce top padding so the fixed header doesn't create extra space */
    body {
        padding-top: 60px;
    }

    .products-banner {
        height: 35vh;
        max-width: 100%;
        background-position: center 75vh;
    }
    .product-banner h1 {
        font-size: 24px;
    }
    .product-banner p {
        font-size: 14px;
    }
    
}
.products-section .search-bar {
    margin-top: 40px; 
}

@media (max-width:768px) {
    .products-section .search-bar {
        margin-top: 30px;
    }
}

@media (max-width:412px) {
    .products-section .search-bar {
        margin-top: 20px;
    }
}