:root {
    --primary: #5D4037; /* Rich brown */
    --primary-dark: #3E2723;
    --secondary: #D7CCC8; /* Light taupe */
    --accent: #FF9800; /* Warm orange */
    --white: #ffffff;
    --text-light: #78909C;
    --text-dark: #263238;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --border-color: #EFEBE9;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-light {
    background-color: var(--secondary) !important;
}

section {
    position: relative;
    overflow: hidden;
}

.price {
    color: var(--accent);
    font-weight: 600;
}

.price-lg {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.5rem;
}

.rating {
    color: var(--accent);
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--text-light);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    background-color: var(--secondary);
    position: relative;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    background-color: #5D4037;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid #5D4037;
    border-radius: 0.5rem;
    z-index: -1;
}

/* ===== FEATURES SECTION ===== */
.feature-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background-color: var(--accent);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.feature-card {
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--white);
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    border-top: 3px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ===== MENU SECTION ===== */
.menu-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.btn-filter {
    background-color: var(--secondary);
    color: var(--text-dark);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-filter.active,
.btn-filter:hover {
    background-color: var(--primary);
    color: var(--white);
}

.menu-card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.menu-img {
    height: 200px;
    object-fit: cover;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    overflow: hidden;
}

.btn-quantity {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-dark);
}

#quantity {
    width: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
}

#quantity:focus {
    outline: none;
}

/* ===== TEAM SECTION ===== */
.team-card {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--white);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.team-img-container {
    position: relative;
    overflow: hidden;
}

.team-img-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.team-img-container:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.team-info {
    padding: 1.5rem;
    border-top: 3px solid var(--primary);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonial-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.testimonial-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--secondary);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin: 1.5rem 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -50px;
}

.carousel-control-next {
    right: -50px;
}

.carousel-indicators {
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-400);
    opacity: 0.5;
}

.carousel-indicators button.active {
    background-color: var(--primary);
    opacity: 1;
}

/* ===== PARTNERS SECTION ===== */
.partners-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.partner-logo {
    flex: 0 0 auto;
    width: 200px;
    height: 100px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ===== GALLERY SECTION ===== */
.gallery-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(93, 64, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 1.5rem;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== CONTACT SECTION ===== */
.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-form-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary);
}

.form-control {
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-300);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(93, 64, 55, 0.25);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text-light);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    background-color: var(--primary);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent);
}

.social-links i {
    font-size: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 3rem;
}

.footer-bottom a {
    color: var(--accent);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .feature-badge {
        left: 20px;
    }
}

@media (min-width: 992px) {
    .hero-image-container::before {
        top: -25px;
        right: -25px;
    }
    
    .gallery-item img {
        height: 250px;
    }
}

/* Custom Additions */
.btn {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.card {
    border: none;
    transition: var(--transition);
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.bg-light {
    background-color: #F5F5F5 !important;
}

.hero {
    background-color: #EFEBE9;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border: 5px solid white;
    border-radius: 5px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}