:root {
    --color-coffee: #4A2C2A;
    --color-dark-brown: #2B1A18;
    --color-beige: #E8DCC8;
    --color-caramel: #C89B6D;
    --color-white-soft: #FAF7F2;
    --color-text-dark: #2B1A18;
    --color-text-light: #FAF7F2;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --transition-standard: all 0.3s ease;
    --spacing-section: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white-soft);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-coffee);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-white-soft);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
}

.divider {
    height: 3px;
    width: 80px;
    background-color: var(--color-caramel);
    margin: 0 auto 3rem auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-caramel);
    color: var(--color-dark-brown);
}

.btn-primary:hover {
    background-color: var(--color-coffee);
    color: var(--color-white-soft);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    margin-top: 1rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-standard);
    padding: 1.5rem 0;
}

header.scrolled {
    background-color: rgba(43, 26, 24, 0.95); /* Dark brown with opacity */
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white-soft);
}

.logo .accent {
    color: var(--color-caramel);
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: rgba(250, 247, 242, 0.8);
    font-weight: 400;
    font-size: 1rem;
    position: relative;
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--color-caramel);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-caramel);
    transition: var(--transition-standard);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-menu-icon {
    display: none;
    color: var(--color-white-soft);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: var(--color-dark-brown);
    padding: 2rem 0;
    transition: var(--transition-standard);
    z-index: 999;
    text-align: center;
}

.mobile-nav.active {
    top: 70px; /* Adjust according to header height */
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav a {
    color: var(--color-white-soft);
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(43, 26, 24, 0.6), rgba(43, 26, 24, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 1rem;
}

.hero p {
    color: rgba(250, 247, 242, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* General Section Styles */
.section-padding {
    padding: var(--spacing-section) 0;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .divider {
    margin: 0 0 2rem 0;
}

.about-text h2 {
    text-align: left;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
}

/* Menu Section */
.menu {
    background-color: #F8F5F0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-standard);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.menu-img {
    height: 200px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .menu-img img {
    transform: scale(1.1);
}

.menu-info {
    padding: 1.5rem;
    text-align: center;
}

.menu-info h3 {
    margin-bottom: 0.5rem;
    color: var(--color-coffee);
}

.menu-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.price {
    display: block;
    color: var(--color-caramel);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

/* Features Section */
.features {
    background-color: var(--color-text-dark);
    color: var(--color-white-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-card {
    padding: 2rem;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--color-caramel);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--color-white-soft);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: rgba(250, 247, 242, 0.7);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    position: relative;
    border-top: 4px solid var(--color-caramel);
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--color-caramel);
    letter-spacing: 2px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    text-align: left;
}

.contact-info .divider {
    margin: 0 0 2rem 0;
}

.contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-list i {
    color: var(--color-caramel);
    width: 25px;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #888;
}

/* Footer */
footer {
    background-color: var(--color-dark-brown);
    color: rgba(250, 247, 242, 0.6);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.scroll-reveal, .scroll-reveal-left, .scroll-reveal-right, .scroll-reveal-up {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-out;
}

.scroll-reveal {
    transform: translateY(20px); 
}

.scroll-reveal-left {
    transform: translateX(-50px);
}

.scroll-reveal-right {
    transform: translateX(50px);
}

.scroll-reveal-up {
    transform: translateY(50px);
}

.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(0) !important;
}

/* Responsive */
@media (max-width: 900px) {
    .about-container, .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-right, .contact-left {
        order: -1; 
    }
    
    .about-image {
        order: -1; /* Image first on mobile */
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .hero {
        background-attachment: scroll; /* Fix for mobile bg attachment */
    }
}
