/* Furniche Custom Styles */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2B48C;
    --accent-color: #F5DEB3;
    --text-dark: #2C2C2C;
    --text-light: #6C757D;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Override Bootstrap primary color */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

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

.btn-primary:hover {
    background-color: #6B3410;
    border-color: #6B3410;
}

/* Modern Header Styles */
.modern-header {
    background: #8b4513;
    border-bottom: 3px solid #6B3410;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.modern-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.modern-header.scrolled {
    background: #8b4513;
    box-shadow: 0 6px 30px rgba(139, 69, 19, 0.4);
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.brand-tagline {
    font-size: 0.75rem;
    color: #F5DEB3;
    font-style: italic;
    margin-top: -2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.logo-img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #FFFFFF !important;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #F5DEB3 !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #F5DEB3;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
    left: 10%;
}

.contact-info {
    background: rgba(245, 222, 179, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 2px solid #F5DEB3;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 222, 179, 0.3);
    background: rgba(245, 222, 179, 0.3);
}

.contact-item {
    font-size: 0.85rem;
    color: #FFFFFF;
    font-weight: 500;
}

.contact-item i {
    font-size: 1rem;
    color: #F5DEB3;
}

/* Responsive Header */
@media (max-width: 991px) {
    .contact-info {
        margin-top: 1rem;
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .contact-item {
        margin-bottom: 0.5rem;
    }
    
    .contact-item:last-child {
        margin-bottom: 0;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .brand-tagline {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .contact-info {
        padding: 0.5rem 1rem;
    }
    
    .contact-item {
        font-size: 0.8rem;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-section .display-4 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Product Gallery Styles */
.category-section {
    margin-bottom: 4rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 19, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.zoom-icon {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

/* Product Card Content */
.product-content {
    padding: 1.5rem;
    text-align: center;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 300px;
        padding: 3rem 0;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .category-section h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section .display-4 {
        font-size: 1.75rem;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .whatsapp-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--accent-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.lb-data .lb-number {
    color: var(--secondary-color);
}

/* Badge Styles */
.badge {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

/* Contact Section */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6B3410 100%) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B3410;
}