/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #8b4513;
    --secondary-color: #d2691e;
    --accent-color: #a0522d;
    --light-color: #f5f5dc;
    --dark-color: #5d4037;
    --text-color: #333;
    --light-text: #fff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-weight: bold;
    font-size: 24px;
}

.logo-text {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.logo-text span {
    color: var(--secondary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1506634064465-7dab4de896ed?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--light-text);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

/* ===== SECTIONS COMMON STYLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-padding {
    padding: 80px 0;
}

/* ===== PRODUCTS PREVIEW SECTION ===== */
.products-preview {
    background-color: #fff;
}

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

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-img {
    height: 200px;
    width: 100%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--primary-color);
}

.product-card:nth-child(1) .product-img {
    background-color: #e8f4f8;
}

.product-card:nth-child(2) .product-img {
    background-color: #f8f4e8;
}

.product-card:nth-child(3) .product-img {
    background-color: #f0e8f8;
}

.product-card:nth-child(4) .product-img {
    background-color: #e8f8f0;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-content p {
    color: #666;
    margin-bottom: 15px;
}

.product-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.product-link:hover {
    color: var(--primary-color);
}

/* ===== ABOUT PREVIEW SECTION ===== */
.about-preview {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 17px;
}

.about-image {
    flex: 1;
    height: 400px;
    background-color: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

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

.footer-logo .logo-text {
    color: var(--light-text);
}

.footer-logo p {
    margin-top: 15px;
    color: #ccc;
}

.footer-links h3, .footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light-text);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

/* ===== PRODUCT PAGE STYLES ===== */
.page-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb li {
    margin: 0 5px;
}

.breadcrumb a {
    color: var(--light-text);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    opacity: 0.8;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-detail-img {
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--primary-color);
}

.product-detail-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-detail-content p {
    margin-bottom: 20px;
    font-size: 17px;
}

.features {
    margin: 30px 0;
}

.features h3 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.features ul {
    list-style-position: inside;
    margin-left: 20px;
}

.features li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.specifications table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.specifications th, .specifications td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.specifications th {
    background-color: #f5f5f5;
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== PRODUCTS LIST PAGE ===== */
.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.products-list .product-card {
    height: 100%;
}

/* ===== ABOUT PAGE ===== */
.about-page .about-content {
    flex-direction: column;
    gap: 40px;
}

.about-page .about-image {
    width: 100%;
    height: 400px;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.mission, .vision {
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.mission {
    background-color: #f0f7ff;
}

.vision {
    background-color: #fff8f0;
}

.mission h3, .vision h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== CONTACT PAGE ===== */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.1);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 40px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .product-detail-img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        height: 300px;
        width: 100%;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 70px 0;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .product-detail-img {
        height: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366; /* WhatsApp green */
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E; /* Darker green */
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

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

/* Pulsing animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 22px;
        bottom: 15px;
        right: 15px;
    }
}