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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #FBF9F6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Colors */
:root {
    --primary: #E67E22;
    --secondary: #8B4513;
    --secondary-light: #A0522D;
    --bg-light: #FBF9F6;
    --bg-medium: #E8E4DF;
    --accent: #D2691E;
}

/* Typography */
h1, h2, h3, h4 { color: var(--secondary); font-weight: 700; }
a { text-decoration: none; }

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}
.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

/* Header & Nav */
.header {
    background: var(--bg-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img { height: 50px; width: auto; }
.logo-img.white { filter: brightness(0) invert(1); }

.desktop-nav { display: flex; gap: 30px; align-items: center; }
.nav-link { 
    color: var(--secondary); 
    font-weight: 700; 
    font-size: 14px; 
    letter-spacing: 1px;
}
.nav-link:hover { color: var(--primary); }

/* Buttons */
.btn-primary, .btn-secondary, .gift-card-btn {
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}
.btn-primary:hover { 
    background: var(--accent); 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}
.btn-secondary:hover { 
    background: white; 
    color: var(--primary); 
    transform: translateY(-2px);
}

.gift-card-btn {
    background: var(--primary);
    color: white;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}
.gift-card-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Top Banner */
.top-banner {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 14px;
}
.top-banner a { color: white; text-decoration: underline; }

/* Mobile Menu */
.mobile-menu-btn { 
    display: none; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 10001;
}
.mobile-menu-btn:hover {
    background-color: rgba(230, 126, 34, 0.1);
}
.mobile-menu-btn span { 
    display: block; 
    width: 25px; 
    height: 3px; 
    background: var(--secondary); 
    margin: 4px 0; 
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: var(--bg-light);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 10000;
    padding: 0;
    overflow-y: auto;
    visibility: hidden;
}
.mobile-menu-overlay.active { 
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    background: transparent; 
    padding: 20px; 
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}
.mobile-menu-header .logo {
    display: flex;
    align-items: center;
}
.mobile-menu-header .logo img {
    height: 50px;
    width: auto;
    /* Show actual logo without filter */
}
.mobile-menu-close { 
    background: none; 
    border: none; 
    color: var(--secondary); 
    font-size: 30px; 
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}
.mobile-menu-close:hover {
    background-color: rgba(139, 69, 19, 0.1);
}

.mobile-nav { 
    display: flex; 
    flex-direction: column; 
    gap: 0; 
    padding: 30px 20px 40px;
}
.mobile-nav-link { 
    font-size: 18px; 
    color: var(--secondary); 
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    padding: 20px 0;
    font-weight: 700;
    transition: color 0.3s ease;
    text-decoration: none;
}
.mobile-nav-link:hover {
    color: var(--primary);
}
.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-gift-card-btn {
    background: var(--primary) !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 25px !important;
    text-align: center !important;
    margin-top: 30px !important;
    border: none !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: block !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3) !important;
}
.mobile-gift-card-btn:hover {
    background: var(--accent) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4) !important;
}

/* Hero */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.hero-background {
    position: absolute; inset: 0;
    background: linear-gradient(rgb(33 24 14), rgb(18 8 0 / 44%)), url(bora-cafe-home-background.webp) center / cover;
    z-index: -1;
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 20px; color: var(--bg-light);}
.hero-buttons { display: flex; gap: 20px; justify-content: center; margin-top: 30px; }

/* Welcome */
.welcome { padding: 80px 0; background: white; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; text-align: center; margin-top: 40px; }
.feature .emoji { font-size: 40px; display: block; margin-bottom: 10px; }
.feature span { font-weight: 700; color: var(--secondary); font-size: 13px; }

/* CAROUSEL (Fixed with Auto-scroll) */
.food-gallery-v2 { padding: 80px 0; background: var(--bg-light); }
.carousel-container {
    width: 100%;
    overflow: hidden; /* Hide scrollbar for auto-scroll */
    padding-bottom: 20px;
}
.gallery-carousel {
    display: flex;
    gap: 20px;
    /* Auto-scroll animation */
    width: max-content; 
    animation: scroll 30s linear infinite;
    padding: 10px 5px;
}
.gallery-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-item {
    width: 300px; /* Fixed width */
    flex-shrink: 0; /* Prevent shrinking */
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.gallery-image { width: 100%; height: 350px; object-fit: cover; }
.gallery-description { padding: 20px; }
.gallery-description h3 { font-size: 18px; color: var(--primary); margin-bottom: 5px; }
.gallery-description p { font-size: 14px; color: #666; line-height: 1.5; }

/* Gift Card */
.gift-card-section { background: linear-gradient(135deg, var(--primary), #F39C12); padding: 60px 0; color: white; }
.gift-card-content { background: white; padding: 40px; border-radius: 12px; display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; }
.gift-card-text { color: #333; flex: 1; min-width: 250px; }
.btn-gift-large { background: var(--primary); color: white; text-decoration: none; padding: 15px 30px; border-radius: 8px; }

/* Hours & Functions */
.hours, .functions { padding: 80px 0; background: white; }
.hours-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.hours-card, .contact-card { background: var(--bg-light); padding: 30px; border-radius: 12px; }
.hours-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.hour-item { display: flex; justify-content: space-between; border-bottom: 1px solid #ddd; padding-bottom: 5px; }

/* Functions */
.functions { padding: 80px 0; background: white; }
.function-content { text-align: center; }
.function-content .section-subtitle {
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}
.event-types { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
    gap: 15px; 
    justify-content: center; 
    margin: 30px 0; 
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.event-type { 
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.08), rgba(160, 82, 45, 0.03)); 
    padding: 20px 15px; 
    border-radius: 10px; 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(230, 126, 34, 0.1);
}
.event-type:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.12);
    border-color: rgba(230, 126, 34, 0.2);
}
.event-icon { font-size: 28px; display: block; margin-bottom: 10px; }
.event-type span {
    font-weight: 600;
    color: var(--secondary);
    font-size: 13px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .event-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 400px;
    }
    .event-type {
        padding: 15px 10px;
    }
    .event-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }
    .event-type span {
        font-size: 12px;
    }
}
.function-cta {
    margin-top: 40px;
}

/* Booking */
.booking { background: var(--bg-medium); padding: 80px 0; text-align: center; }
.booking-widget { background: white; padding: 20px; border-radius: 12px; max-width: 800px; margin: 0 auto; }
.booking-iframe { width: 100%; min-height: 600px; border: none; }

/* Footer */
.footer { background: var(--secondary); color: white; padding: 60px 0 20px; }
.footer-content { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 40px; 
    margin-bottom: 40px; 
}
.footer a { color: #ddd; transition: color 0.3s ease; }
.footer a:hover { color: var(--primary); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 13px; line-height: 1.6; }
.footer-bottom a { color: var(--primary); font-weight: 600; }
.footer-bottom a:hover { color: white; }

/* Footer logo - show properly without filter */
.footer .logo {
    text-align: center;
    margin-bottom: 20px;
}
.footer .logo img {
    height: 80px;
    width: auto;
    /* Removed filter to show actual logo */
}

.footer-brand p {
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    color: #ddd;
}

/* Footer navigation styling */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    padding: 5px 0;
    transition: color 0.3s ease;
}
.footer h4 {
    margin-bottom: 20px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

/* Footer contact styling */
.footer .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    font-size: 16px;
}
.footer .contact-item .location-icon,
.footer .contact-item .email-icon {
    color: var(--primary);
    font-size: 18px;
}
.footer .contact-item a {
    color: #ddd;
}

/* Social icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.social-icon:hover {
    background: var(--primary);
}
.social-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

/* Hours section styling */
.hours-card, .contact-card { 
    background: var(--bg-light); 
    padding: 30px; 
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hours-card:hover, .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.hours-card h3, .contact-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 25px;
    font-weight: 700;
}

.hours-card h3 .icon, .contact-card h3 .icon {
    color: var(--primary);
    font-size: 24px;
}

.hours-list { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}
.hour-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    font-size: 16px;
}
.hour-item:last-child {
    border-bottom: none;
}
.hour-item .time {
    color: var(--primary);
    font-weight: 700;
}

.contact-info {
    text-align: left;
}
.contact-info .address {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}
.contact-item.email {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}
.contact-item.email .email-icon {
    color: var(--primary);
    font-size: 20px;
}
.contact-item.email a {
    color: var(--secondary);
    text-decoration: none;
}
.contact-item.email a:hover {
    color: var(--primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 300px; text-align: center; }
    
    /* Show gift card button on mobile only */
    .mobile-only-gift-card {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-only-gift-card {
        display: none;
    }
}