:root {
    --primary: #703535;
    --primary-dark: #6B3410;
    --primary-light: #A0522D;
    --secondary: #D2B48C;
    --secondary-dark: #C19A6B;
    --light: #F5F5DC;
    --dark: #3E2723;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
    --white: #ffffff;
    --black: #000000;
}

/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    padding-top: 120px;
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary);
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    display: block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.py-6 {
    padding: 6rem 0;
}

/* Top Banner */
.top-banner {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1030;
}

.top-banner i {
    margin-right: 5px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    max-height: 80px;
    transition: all 0.3s ease;
}


@media (max-width: 768px) {
.navbar-brand img {
    max-height: 80px;
    transition: all 0.3s ease;
}
}

.navbar.scrolled .navbar-brand img {
    max-height: 20px;
}

.navbar.scrolled .navbar-brand img {
    max-height: 40px;
}

.navbar-toggler-icon {
    background-color: #000;
}

.nav-link {
    font-weight: 600;
    padding: 8px 15px !important;
    color: var(--dark);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-link:before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-link:hover:before {
    visibility: visible;
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 180px 0 150px;
    text-align: center;
    position: relative;
    margin-top: -120px;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('../images/wave-overlay.png') repeat-x;
    background-size: contain;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--secondary);
    display: inline-block;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 30px;
}

/* Categories */
.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    background: var(--white);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

.category-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-info {
    padding: 25px;
    text-align: center;
}

.category-info h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.5rem;
}

.category-info p {
    margin-bottom: 20px;
    color: var(--gray);
}

/* Products */
.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    height: 100%;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.product-card:hover {
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.15);
    transform: translateY(-10px);
    border-color: rgba(139, 69, 19, 0.3);
}

.product-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.03);
}

.product-body {
    padding: 25px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 600;
    min-height: 50px;
}

.product-description {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 60px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.add-to-cart {
    width: 50%;
    margin-top: 10px;
    padding: 10px;
    font-size: 0.7rem;
}

/* How It Works */
.step {
    padding: 40px 25px;
    background: var(--white);
    border-radius: 10px;
    height: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: all 0.5s ease;
    text-align: center;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.1);
}

.step-icon {
    width: 90px;
    height: 90px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.2);
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    background: var(--primary-dark);
    transform: rotateY(180deg);
}

.step h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.step p {
    color: var(--gray);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 69, 19, 0.1);
}

.rating {
    color: #FFC107;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--secondary);
}

.testimonial-author h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Delivery Area */
.delivery-area {
    position: relative;
    overflow: hidden;
}

.delivery-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.delivery-list {
    list-style: none;
    padding: 0;
}

.delivery-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.delivery-list i {
    color: var(--secondary);
}

/* Contact */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(139, 69, 19, 0.2);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.25);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--primary);
}

.footer-logo {
    max-height: 100px;
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.payment-methods {
    max-width: 250px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Basket Sidebar */
.basket-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.basket-sidebar.open {
    right: 0;
}

.basket-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary);
    color: var(--white);
}

.basket-header h4 {
    margin: 0;
    color: var(--white);
    font-size: 1.3rem;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.basket-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.basket-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    animation: slideIn 0.3s ease forwards;
}

.basket-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.basket-item-info {
    flex: 1;
}

.basket-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.basket-item-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.basket-item-actions {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.basket-item-actions button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 8px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.basket-item-actions button:hover {
    color: var(--primary-dark);
}

.basket-item-quantity {
    min-width: 25px;
    text-align: center;
}

.empty-basket {
    text-align: center;
    padding: 80px 0;
    color: var(--gray);
}

.empty-basket i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #eee;
}

.basket-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background-color: var(--light-gray);
}

.basket-summary {
    margin-bottom: 20px;
}

.basket-subtotal,
.basket-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.basket-subtotal {
    font-size: 0.9rem;
    color: var(--gray);
}

.basket-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
    
    .hero {
        padding: 150px 0 120px;
        margin-top: -100px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .basket-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .top-banner {
        font-size: 0.7rem;
        padding: 5px 0;
    }
    
    .hero {
        padding: 120px 0 100px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}