/* ================================
   Casa de Marrocos - Luxury Website
   ================================ */

/* ========== CSS Variables ========== */
:root {
    /* Colors */
    --primary-color: #D4A373;
    --secondary-color: #8B4513;
    --accent-color: #C19A6B;
    --dark-bg: #1a1410;
    --light-bg: #FFF8F0;
    --text-dark: #2C2416;
    --text-light: #FFFFFF;
    --gold: #D4AF37;
    --burgundy: #800020;
    --overlay: rgba(26, 20, 16, 0.85);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-arabic: 'Amiri', serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--light-bg);
    overflow-x: hidden;
}

body.rtl {
    direction: rtl;
    font-family: var(--font-arabic);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ========== Container & Layout ========== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

/* ========== Loading Screen ========== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: none; /* Hidden by default - no loading animation */
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

#loading-screen.hidden {
    display: none;
}

.loader {
    text-align: center;
    color: var(--primary-color);
}

.moroccan-pattern {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== Language Popup ========== */
.language-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.language-popup.active {
    opacity: 1;
    visibility: visible;
}

.language-popup-content {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    transform: scale(0.9);
    transition: var(--transition);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.language-popup.active .language-popup-content {
    transform: scale(1);
}

.language-popup-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.lang-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: var(--light-bg);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    transition: var(--transition);
    cursor: pointer;
    min-height: 100px;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 163, 115, 0.3);
}

.lang-btn i {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
    transition: var(--transition);
}

.lang-btn:hover i {
    color: white;
}

.lang-btn span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition);
}

.lang-btn:hover span {
    color: white;
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 20, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 70px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    justify-content: center;
}

.lang-btn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.lang-btn-nav:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-reserve {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-reserve:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 163, 115, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 163, 115, 0.5);
}

/* Special styling for PDF menu button */
.btn-menu-pdf {
    background: transparent !important;
    border: 3px solid var(--primary-color) !important;
    color: var(--secondary-color) !important;
    font-weight: 700;
}

.btn-menu-pdf:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 30px rgba(212, 163, 115, 0.5) !important;
}

/* Directions button - ensure white text */
.btn-directions {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
}

.btn-directions:hover {
    background: var(--accent-color) !important;
    color: white !important;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--secondary-color);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Changed from fixed for better mobile support */
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(26, 20, 16, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.accent {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 3vw, 2rem);
    display: block;
    margin-bottom: 10px;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 25px; opacity: 0.5; }
}

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

.section-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
}

/* ========== About Section ========== */
.about-section {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-pattern {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature-item p {
    font-size: 0.9rem;
    color: #888;
}

/* ========== Menu Section ========== */
.menu-section {
    background: var(--light-bg);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    background: white;
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.menu-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.menu-item-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 20, 16, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.menu-item:hover .menu-overlay {
    opacity: 1;
}

.menu-overlay i {
    color: white;
    font-size: 2rem;
}

.menu-item-content {
    padding: 25px;
}

.menu-item-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.menu-item-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.menu-cta {
    text-align: center;
    margin-top: 60px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-cta .btn {
    min-width: 250px;
    font-size: 1.1rem;
    padding: 18px 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

/* ========== Gallery Section ========== */
.gallery-section {
    background: white;
}

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

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 163, 115, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 3rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary-color);
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--light-bg);
    padding-bottom: 0 !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background: white;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.large-card {
    grid-column: span 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.info-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon i {
    font-size: 2rem;
    color: white;
    margin: 0;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.card-text {
    color: #666;
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.phone-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 15px;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--secondary-color);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: var(--primary-color);
    color: white !important;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-link:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--light-bg);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.hours-list li:hover {
    background: #f0e8dc;
    transform: translateX(5px);
}

.hours-list li span:first-child {
    color: var(--secondary-color);
    font-weight: 600;
}

.hours-list li span:last-child {
    color: #666;
    font-weight: 500;
}

.hours-list li.closed {
    opacity: 0.6;
}

.hours-list li.closed span {
    color: #999;
}

/* Social Section */
.social-section {
    text-align: center;
    padding: 50px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

.social-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.social-icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.social-section h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.social-links-contact {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(212, 163, 115, 0.3);
}

.social-item:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 10px 40px rgba(212, 163, 115, 0.5);
    background: linear-gradient(135deg, var(--secondary-color), var(--burgundy));
}

/* Full Width Map */
.contact-map-fullwidth {
    width: 100%;
    height: 450px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.contact-map-fullwidth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    z-index: 1;
}

.contact-map-fullwidth iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(0.2);
    transition: var(--transition);
}

.contact-map-fullwidth:hover iframe {
    filter: grayscale(0);
}

/* ========== Footer ========== */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin: 10px 0;
}

.footer-bottom i {
    color: var(--primary-color);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ========== Order Float Button ========== */
.order-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #1a1410;
    border: none;
    border-radius: 50px;
    padding: 0 18px;
    height: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(212, 163, 115, 0.5);
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.order-float i {
    font-size: 1rem;
}

.order-float:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 163, 115, 0.6);
}

/* ========== Order Modal ========== */
.order-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 6, 0.75);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.order-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.order-modal {
    background: #1e1712;
    border: 1px solid rgba(212, 163, 115, 0.2);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 30px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.order-modal-overlay.active .order-modal {
    transform: scale(1);
}

.order-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.order-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.order-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.order-modal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #1a1410;
    margin: 0 auto 16px;
}

.order-modal-header h2 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.order-modal-header p {
    color: #ffffff;
    font-size: 0.95rem;
}

.order-platforms {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.platform-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.platform-card:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.platform-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.platform-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.platform-name {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.platform-sub {
    font-size: 0.82rem;
    opacity: 0.65;
}

.platform-arrow {
    font-size: 0.85rem;
    opacity: 0.4;
    transition: var(--transition);
}

.platform-card:hover .platform-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Uber Eats */
.platform-card.uber {
    background: rgba(6, 6, 6, 0.6);
    color: #ffffff;
}
.platform-card.uber .platform-icon {
    background: #06C167;
    color: #000;
}
.platform-card.uber:hover {
    background: rgba(6, 193, 103, 0.12);
}

/* Glovo */
.platform-card.glovo {
    background: rgba(255, 200, 0, 0.06);
    color: #ffffff;
}
.platform-card.glovo .platform-icon {
    background: #FFC200;
    color: #000;
}
.platform-card.glovo:hover {
    background: rgba(255, 194, 0, 0.12);
}

/* Bolt */
.platform-card.bolt {
    background: rgba(52, 211, 153, 0.06);
    color: #ffffff;
}
.platform-card.bolt .platform-icon {
    background: #34D399;
    color: #000;
}
.platform-card.bolt:hover {
    background: rgba(52, 211, 153, 0.12);
}

/* ========== WhatsApp Float ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.whatsapp-float:hover {
    background: #128C7E;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .large-card {
        grid-column: span 1;
    }
    
    .hours-card {
        grid-column: span 2;
    }
    
    .contact-map-fullwidth {
        height: 400px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    /* Transparent navbar on mobile with more top padding */
    .navbar {
        background: transparent !important;
        backdrop-filter: none !important;
        padding: 45px 0 20px;
        box-shadow: none !important;
    }
    
    .navbar.scrolled {
        background: rgba(26, 20, 16, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        padding: 30px 0;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Logo centered on mobile */
    .nav-wrapper {
        justify-content: center;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-img {
        height: 70px;
        max-width: 280px;
    }
    
    .navbar.scrolled .logo-img {
        height: 55px;
    }
    
    .nav-actions {
        position: absolute;
        right: 20px;
    }
    
    /* Mobile Menu Styling */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 120px 40px 40px;
        transition: var(--transition);
        gap: 0;
        align-items: center;
        justify-content: flex-start;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }
    
    .nav-menu li a {
        display: block;
        padding: 20px 30px;
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--text-light);
        transition: var(--transition);
        width: 100%;
    }
    
    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: rgba(212, 163, 115, 0.1);
        color: var(--primary-color);
    }
    
    .nav-menu li a::after {
        display: none;
    }
    
    /* Language button in mobile menu */
    .lang-switcher {
        margin-top: 20px;
        border-bottom: none !important;
    }
    
    .lang-btn-nav {
        padding: 15px 40px;
        font-size: 1.1rem;
        border-radius: 30px;
    }
    
    .btn-reserve {
        display: none;
    }
    
    /* Hero */
    .hero {
        min-height: 100vh;
        background-attachment: scroll;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Language Popup - Tablet */
    .language-popup-content {
        padding: 35px 25px;
        max-width: 450px;
    }
    
    .language-popup-content h3 {
        font-size: 1.6rem;
    }
    
    .lang-btn {
        min-height: 95px;
    }
    
    /* Features */
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* Menu */
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-item-image {
        height: 220px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hours-card {
        grid-column: span 1;
    }
    
    .contact-map-fullwidth {
        height: 350px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .language-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
    
    /* Logo - centered and bigger for small mobile */
    .logo-img {
        height: 65px;
        max-width: 240px;
    }
    
    .navbar.scrolled .logo-img {
        height: 50px;
    }
    
    /* Mobile menu - full width on small screens */
    .nav-menu {
        width: 100%;
        max-width: 100%;
        padding: 100px 25px 40px;
    }
    
    .nav-menu li a {
        padding: 18px 20px;
        font-size: 1.2rem;
    }
    
    .lang-btn-nav {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Compact Language Popup for Mobile */
    .language-popup {
        padding: 15px;
    }
    
    .language-popup-content {
        padding: 25px 20px;
        border-radius: 20px;
        max-width: 100%;
        width: calc(100% - 30px);
    }
    
    .language-popup-content h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .language-grid {
        gap: 12px;
    }
    
    .lang-btn {
        padding: 15px 10px;
        border-radius: 12px;
        min-height: 85px;
    }
    
    .lang-btn i {
        font-size: 1.6rem;
        margin-bottom: 6px;
    }
    
    .lang-btn span {
        font-size: 0.9rem;
    }
    
    .contact-map-fullwidth {
        height: 300px;
    }
    
    .info-card {
        padding: 30px 25px;
    }
    
    .back-to-top,
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .whatsapp-float {
        bottom: 30px;
        right: 20px;
    }

    .order-float {
        bottom: 90px;
        right: 20px;
        height: 44px;
        padding: 0 14px;
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* ========== Print Styles ========== */
@media print {
    .navbar,
    .back-to-top,
    .whatsapp-float,
    .hamburger {
        display: none;
    }
}

/* ========== Mobile Landscape Fix ========== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ========== Extra Small Devices ========== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Ultra Compact Language Popup */
    .language-popup {
        padding: 10px;
    }
    
    .language-popup-content {
        padding: 20px 15px;
        border-radius: 18px;
        width: calc(100% - 20px);
    }
    
    .language-popup-content h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .language-grid {
        gap: 10px;
    }
    
    .lang-btn {
        padding: 12px 8px;
        border-radius: 10px;
        min-height: 75px;
    }
    
    .lang-btn i {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }
    
    .lang-btn span {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i {
        font-size: 1.7rem;
    }
}

/* ========== Accessibility ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========== Utility Classes ========== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
