/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Premium Palette */
    --primary-brown: #2C1503;   /* Deep Coffee */
    --accent-gold: #C69C6D;     /* Muted Gold/Latte */
    --gold-hover: #b08d55;
    --light-cream: #FDFBF7;     /* Off-white background */
    --text-main: #333333;       /* Soft Black */
    --white: #FFFFFF;
    
    /* Effects */
    --shadow-card: 0 15px 30px rgba(44, 21, 3, 0.08);
    --shadow-hover: 0 20px 40px rgba(44, 21, 3, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--light-cream);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-brown);
    font-weight: 700;
    line-height: 1.2;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }

/* =========================================
   2. GLOBAL UTILITIES
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

/* Premium Section Headers */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.sub-title {
    display: block;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.main-title {
    font-size: 2.8rem;
    position: relative;
    z-index: 1;
}

/* =========================================
   3. NAVIGATION (Desktop First)
   ========================================= */
.navbar {
    background: var(--white);
    height: 90px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.logo-box { display: flex; align-items: center; gap: 15px; }
.logo-img {
    height: 65px;
    width: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-brown);
}
.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    color: var(--primary-brown);
}

/* Desktop Menu Links */
.nav-menu { display: flex; gap: 40px; align-items: center; }
.nav-link {
    color: var(--primary-brown);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0;
    background: var(--accent-gold); transition: 0.3s;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--accent-gold); }

/* Header CTA Button */
.btn-header {
    background: var(--primary-brown);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(44, 21, 3, 0.2);
    border: 2px solid transparent;
}
.btn-header:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 21, 3, 0.3);
}

/* HAMBURGER (STRICTLY HIDDEN ON DESKTOP) */
.hamburger { 
    display: none !important; /* Force hidden on large screens */
    cursor: pointer; 
    color: var(--primary-brown); 
    font-size: 1.8rem; 
}

/* =========================================
   4. HERO SECTION (Updated)
   ========================================= */
.hero {
    height: 90vh;
    /* Darker, Premium Cafe Image */
    background: linear-gradient(rgba(18, 10, 2, 0.75), rgba(18, 10, 2, 0.6)), url('https://images.pexels.com/photos/2983101/pexels-photo-2983101.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: -1px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 4.2rem;
    margin-bottom: 20px;
    font-weight: 800;
}
.hero-content span { 
    color: var(--accent-gold); /* Gold text instead of yellow */
    font-style: italic;
}
.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* HERO BUTTON FIX (This was the broken part before) */
.btn-hero {
    display: inline-block; /* Fixes the broken background on mobile */
    background: var(--accent-gold);
    color: var(--white);
    padding: 18px 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    border: 2px solid var(--accent-gold);
    text-decoration: none;
} /* <--- CLOSING BRACE IS NOW HERE! */

.btn-hero:hover { 
    background: transparent; 
    color: var(--accent-gold); 
}

/* =========================================
   5. ABOUT / STORY
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    padding-left: 30px;
    padding-bottom: 30px;
}
.about-img-wrapper::before {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 80%; height: 80%;
    border: 8px solid var(--accent-gold);
    z-index: 0;
}
.about-img {
    position: relative;
    z-index: 1;
    border-radius: 5px;
    box-shadow: var(--shadow-card);
}

.about-content p { font-size: 1.1rem; margin-bottom: 20px; color: #555; }

.features-row {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.feature-item {
    text-align: center;
    flex: 1;
    padding: 25px 15px;
    background: var(--white);
    border: 1px solid #eee;
    transition: 0.3s;
    border-radius: 8px;
}
.feature-item:hover { border-color: var(--accent-gold); transform: translateY(-5px); }
.feature-item i { font-size: 2rem; color: var(--primary-brown); margin-bottom: 10px; }
.feature-item h5 { font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }

/* =========================================
   6. FRANCHISE PLANS
   ========================================= */
.franchise-section { background: var(--white); }

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.plan-card {
    background: var(--white);
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}
.plan-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
    border-color: transparent;
}

/* Premium Highlight */
.plan-card.premium { border: 2px solid var(--accent-gold); }
.badge {
    background: var(--accent-gold);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-header {
    padding: 40px 30px 20px;
    text-align: center;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}
.plan-header h3 { font-size: 1.5rem; margin-bottom: 5px; }
.plan-header p { font-size: 0.9rem; color: #777; }
.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-brown);
    margin: 15px 0;
}

.plan-body { padding: 30px; flex-grow: 1; }
.plan-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: #555;
}
.plan-list i { color: var(--accent-gold); }

.btn-select {
    width: 100%;
    padding: 20px;
    border: none;
    background: var(--primary-brown);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}
.btn-select:hover { background: var(--accent-gold); }

/* =========================================
   7. DYNAMIC MENU
   ========================================= */
.menu-section {
    position: relative;
    background: url('https://images.pexels.com/photos/5410400/pexels-photo-5410400.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background-image 0.5s ease-in-out;
}
.menu-overlay { background: rgba(255, 255, 255, 0.92); padding: 100px 0; min-height: 100%; }

.menu-container { max-width: 800px; margin: 0 auto; }

.menu-category {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: 0.3s;
}
.menu-category.active { 
    transform: scale(1.02); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
    border-left: 5px solid var(--primary-brown);
}

.menu-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-header h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 15px; margin: 0; }
.menu-header i { color: #aaa; transition: 0.3s; }

.menu-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: #fdfdfd;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 30px;
    border-top: 1px solid #eee;
}
.menu-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; color: #555; }
.menu-item::before { content: ''; width: 6px; height: 6px; background: var(--accent-gold); border-radius: 50%; }

/* =========================================
   8. TESTIMONIALS SLIDER
   ========================================= */
.testimonial-section { background: var(--light-cream); text-align: center; }

.slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    height: 350px;
}
.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.slide.active { opacity: 1; }

.quote-icon { font-size: 2.5rem; color: var(--accent-gold); margin-bottom: 20px; opacity: 0.4; }
.review-text { font-size: 1.3rem; font-style: italic; color: #444; margin-bottom: 30px; max-width: 90%; }
.reviewer-name { font-weight: 800; color: var(--primary-brown); font-size: 1.1rem; }
.reviewer-role { color: var(--accent-gold); text-transform: uppercase; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; }

/* =========================================
   9. CONTACT SECTION
   ========================================= */
.contact-section { padding: 0; }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Left: Dark Info */
.contact-left {
    background: #1e1e1e;
    color: white;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-item { display: flex; gap: 20px; margin-bottom: 30px; }
.contact-item i { color: var(--accent-gold); font-size: 1.5rem; margin-top: 5px; }
.contact-item h4 { color: white; margin-bottom: 5px; font-size: 1.1rem; }
.contact-item p, .contact-item a { color: #ccc; font-size: 0.95rem; line-height: 1.6; }
.contact-item a:hover { color: var(--accent-gold); }

.map-embed {
    width: 100%; height: 300px; border-radius: 8px; overflow: hidden;
    border: 2px solid #444; margin-top: 30px;
}

/* Right: Form */
.contact-right {
    background: white;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-title { font-size: 2.2rem; margin-bottom: 10px; color: var(--primary-brown); }

.form-group { margin-bottom: 25px; position: relative; }
.form-label { font-size: 0.8rem; font-weight: 700; color: var(--primary-brown); margin-bottom: 8px; display: block; }

.form-input {
    width: 100%;
    padding: 16px;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: 0.3s;
    font-family: inherit;
}
.form-input:focus { border-color: var(--accent-gold); outline: none; background: white; }
/* Validation Styling */
.form-input:valid { border-color: #ddd; }
.form-input:invalid { border-color: #ffcccc; }

.btn-submit {
    width: 100%;
    padding: 20px;
    background: var(--primary-brown);
    color: white;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 6px;
}
.btn-submit:hover { background: var(--accent-gold); }

#result { margin-top: 15px; text-align: center; font-weight: 600; }
.success-msg { color: green; }
.error-msg { color: red; }

/* =========================================
   10. FOOTER
   ========================================= */
footer { background: #111; padding: 60px 0; text-align: center; color: #555; }
.social-icons { margin-bottom: 25px; }
.social-icon {
    display: inline-flex; justify-content: center; align-items: center;
    width: 50px; height: 50px; background: rgba(255,255,255,0.05); color: white;
    border-radius: 50%; margin: 0 10px; font-size: 1.2rem; transition: 0.3s;
}
.social-icon:hover { background: var(--accent-gold); transform: translateY(-5px); }

/* =========================================
   11. WHATSAPP & ANIMATIONS
   ========================================= */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px; right: 30px;
    background: #25d366; color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    transition: 0.3s;
    animation: pulse 3s infinite;
}
.whatsapp-sticky:hover { transform: scale(1.1); }

@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); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   12. MOBILE ACTION BAR (SQUIRCLE)
   ========================================= */
.mobile-action-bar {
    display: none; /* Hidden by default on Desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999; /* Highest priority */
    background: transparent;
    padding: 15px; /* Spacing from screen edges */
    gap: 15px; /* Spacing between the two buttons */
    font-family: 'Poppins', sans-serif;
    pointer-events: none; /* Allows clicks to pass through empty space */
}

.action-btn {
    flex: 1; /* Split 50/50 */
    pointer-events: auto; /* Re-enable clicks */
    text-align: center;
    padding: 14px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    
    /* SQUIRCLE & SHADOW */
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.action-btn:active {
    transform: scale(0.97);
}

/* Call Button (Brand Brown) */
.call-btn {
    background: var(--primary-brown);
    background: linear-gradient(135deg, var(--primary-brown), #4a2c10);
}

/* WhatsApp Button (Official Green) */
.whatsapp-btn {
    background: #25d366;
    background: linear-gradient(135deg, #25d366, #1da851);
}

/* =========================================
   13. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hamburger { display: block !important; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 90px; left: 0; width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        align-items: flex-start;
    }
    .nav-menu.active { display: flex; animation: fadeInUp 0.3s forwards; }
    .nav-link { width: 100%; display: block; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
    .btn-header { width: 100%; text-align: center; margin-top: 20px; }
    
    .hero { height: auto; padding: 150px 20px 80px; }
    .hero-content h1 { font-size: 2.4rem; }
    .section-padding { padding: 60px 0; }
    .contact-left, .contact-right { padding: 40px 20px; }
    
    /* MOBILE ACTION BAR VISIBILITY */
    .mobile-action-bar { display: flex; }
    
    /* Hide the old sticky bubble on mobile */
    .whatsapp-sticky { display: none !important; }
    
    /* Add extra padding to footer */
    footer { padding-bottom: 90px; }
    
    /* FIX HERO BUTTON SIZING */
    .btn-hero {
        padding: 15px 30px;
        font-size: 0.9rem;
        width: 80%;
        max-width: 300px;
    }
}