:root {
    /* Colors */
    --bg-color: #1a1818;
    /* Very dark warm grey */
    --bg-secondary: #242121;
    --text-color: #e6e6e6;
    --text-muted: #a0a0a0;
    --accent-color: #cca474;
    /* Muted Gold */
    --border-color: rgba(204, 164, 116, 0.2);
    /* Thin gold line */
    --white: #ffffff;
    --black: #000000;

    /* Fonts */
    --font-serif: 'Cormorant Garamond', serif;
    /* Updated Font */
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;

    /* Transitions */
    --transition: 0.3s ease;

    /* New Theme Ops */
    --bg-red: #4a0404;
    /* Deep Burgundy from reference */
    --text-white: #ffffff;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}




a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--accent-color);
    margin-top: 10px;
}

.text-center {
    text-align: center;
}

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    /* Ensure all properties animate */
    text-transform: uppercase;
    font-family: var(--font-sans);
    font-weight: 500;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-4px);
    /* Lift effect for ALL buttons */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow */
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #b08d55;
    /* Darker shade */
    border-color: #b08d55;
    color: var(--white);
    /* Text turns white on hover */
}

.btn-outline {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Header */


/* ... (preserving lines 183-562 omitted for brevity if not changing) ... */

/* Contacts Styles Refined */
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    background: #1e1b1b;
    /* Subtle dark card bg */
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contacts-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    /* Align icon with top of text */
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.contact-icon {
    background-color: rgba(204, 164, 116, 0.1);
    padding: 12px;
    border-radius: 50%;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.contact-details p,
.contact-phone {
    font-size: 1.1rem;
    color: var(--white);
    font-family: var(--font-serif);
}

.contact-phone {
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.contact-phone:hover {
    color: var(--accent-color);
}

.map-container {
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    filter: grayscale(100%) contrast(1.1);
    /* Stylized map */
    transition: filter 0.5s ease;
}

.map-container:hover {
    filter: grayscale(0%);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 24, 24, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* Logo */
.logo {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
    /* Subtle zoom on hover */
}

/* Nav */
.main-nav ul {
    display: none;
    /* Hidden on mobile by default */
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    margin-bottom: 6px;
    transition: var(--transition);
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin: 20px 0;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered content */
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/koka_hero_bg_1770137546891.png');
    /* New premium BG */
    background-size: cover;
    background-position: center;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    letter-spacing: 10px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--white);
    /* Animation handled by AOS or custom definition below if deeper control needed */
}

.hero-slogan {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* About Section */
.about-grid {
    display: grid;
    gap: 40px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Promotions Section */
.promotions-section {
    background-color: var(--bg-secondary);
}

.promotions-grid {
    display: grid;
    gap: 30px;
}

.promotion-card {
    background: #2a2727;
    /* Plain gray/dark background */
    border: 1px solid transparent;
    /* Transparent border to prevent layout shift */
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.6s ease;
    box-shadow: none;
    z-index: 1;
}

.promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333 0%, #222 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.promotion-content {
    position: relative;
    z-index: 2;
}

.promotion-card:hover {
    border-color: var(--accent-color);
    /* Gold border on hover */
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3), 0 15px 40px rgba(0, 0, 0, 0.4);
}

.promotion-card:hover::before {
    opacity: 1;
}

.promotion-card h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.promotion-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .promotions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Menu Section */
.menu-section {
    background-color: var(--bg-secondary);
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 25px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.tab-btn:hover::before {
    width: 100%;
}

.tab-btn.active {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
}

.tab-btn:hover {
    color: var(--bg-color);
    border-color: var(--accent-color);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Updated Menu Item Layout */
.menu-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
    padding: 15px;
    border-radius: 8px;
}

/* .menu-item.with-image handles specific spacing via flex gap */

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-3px);
}

.menu-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-item-content {
    flex-grow: 1;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.menu-item-title {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    color: var(--white);
    transition: var(--transition);
}

.menu-item:hover .menu-item-title {
    color: var(--accent-color);
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.menu-item-price {
    font-weight: 600;
    color: var(--accent-color);
    white-space: nowrap;
    margin-left: 10px;
}

.link-styled {
    display: inline-block;
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 2px;
    transition: var(--transition);
    margin-top: 20px;
}

.link-styled:hover {
    color: var(--white);
    border-bottom-color: var(--white);
    transform: translateY(-2px);
}

/* Gallery - Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    /* Essential for overlay positioning */
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.3s ease;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Darkens image */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 5px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.05);
    /* Smoother zoom */
    filter: brightness(0.7);
    /* Extra darkening for contrast */
}

/* Paper Menu Styles */
.paper-menu-group {
    margin-bottom: 30px;
}

.paper-group-title {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    display: inline-block;
}

.paper-menu-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.paper-menu-item {
    display: flex;
    align-items: baseline;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: default;
}

.paper-menu-item:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.paper-name {
    flex-shrink: 0;
    margin-right: 10px;
}

.paper-dots {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
    margin: 0 5px;
    position: relative;
    top: -5px;
    transition: border-color 0.3s ease;
}

.paper-menu-item:hover .paper-dots {
    border-bottom-color: var(--accent-color);
}

.paper-price {
    font-weight: 600;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-left: 10px;
}

/* REDESIGNED CONTACTS & FOOTER */

.contacts-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    background-color: var(--bg-color);
}

.contacts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contacts-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.contact-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.contact-icon {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.map-container {
    width: 100%;
    height: 400px;
    margin-top: 0;
    margin-bottom: 0;
    display: block;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(90%);
}

/* REDESIGNED CONTACTS & FOOTER */

/* ... (keep existing contacts styles) ... */

.site-footer {
    background-color: #111;
    padding: 20px 0;
    margin-top: 0;
    border-top: none;
    text-align: center;
}

.footer-logo img {
    height: 50px;
    /* Adjust size as needed */
    width: auto;
    display: block;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: var(--text-muted);
    transition: var(--transition);
    transform: scale(1);
    display: inline-block;
    /* Required for transform */
}

.footer-socials a:hover {
    color: var(--accent-color);
    transform: scale(1.2) rotate(5deg);
    /* Added slight rotation for more dynamic feel */
    filter: drop-shadow(0 0 5px rgba(204, 164, 116, 0.5));
    /* Added glow */
}

.footer-copyright {
    color: #666;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }

    .main-nav ul {
        display: flex;
        gap: 30px;
    }

    .main-nav a {
        position: relative;
    }

    .main-nav a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 1px;
        background-color: var(--accent-color);
        transition: width 0.3s ease;
    }

    .main-nav a:hover::after,
    .main-nav a.active::after {
        width: 100%;
    }

    .main-nav a.active {
        color: var(--accent-color);
    }

    .mobile-menu-toggle {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 60px;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .promotions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contacts Adjustments for Desktop */
    .contacts-wrapper {
        gap: 0;
    }

    .map-container {
        height: 500px;
    }
}

/* Navbar Hover Effect */
@media (min-width: 768px) {
    .main-nav a:hover {
        color: var(--accent-color);
        text-shadow: 0 0 5px rgba(204, 164, 116, 0.4);
    }
}

/* FULL MENU PAGE STYLES */
.full-menu-header {
    padding: 120px 0 40px;
    background: radial-gradient(circle at center, #242121 0%, #1a1818 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
}

.full-menu-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-spacer {
    width: 100px;
    /* Approximate width of back link for balance */
    display: none;
    /* Hidden on mobile by default */
}

@media (min-width: 768px) {
    .header-spacer {
        display: block;
    }
}

.full-menu-section {
    padding: 40px 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
    font-weight: 500;
    text-decoration: none;
    width: 150px;
    /* Fixed width for alignment */
}

.back-link:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

.full-menu-header .section-title {
    margin: 0;
    flex-grow: 1;
    text-align: center;
    font-size: 2.5rem;
}

.full-menu-header .section-title::after {
    display: none;
}

/* Menu Categories */
.menu-category-title {
    color: var(--accent-color);
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-family: var(--font-serif);
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.menu-category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

.menu-item-price {
    display: block;
    margin-top: 10px;
    font-size: 1.1rem;
    /* Larger price */
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.lang-dropdown button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
}

/* Scrollbar for dropdown */
.lang-dropdown::-webkit-scrollbar {
    width: 4px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 2px;
}

/* Mobile Menu Adjustments */
.mobile-nav .lang-switcher {
    margin: 20px auto 0;
    width: fit-content;
}

.mobile-nav .lang-dropdown {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
    text-align: center;
}

.mobile-nav .lang-switcher.active .lang-dropdown {
    max-height: 500px;
    margin-top: 10px;
}

.mobile-nav .lang-dropdown button {
    text-align: center;
    padding: 10px;
    font-size: 16px;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-dropdown button {
    text-align: right;
}

[dir="rtl"] .about-grid {
    direction: rtl;
}

[dir="rtl"] .about-text {
    text-align: right;
}

[dir="rtl"] .hero-content {
    text-align: center;
}

[dir="rtl"] .contact-item {
    flex-direction: row;
}

[dir="rtl"] .contact-icon {
    margin-left: 15px;
}