/**
 * Lotus Restaurant - Premium Stylesheet
 * Modern, Responsive Dark Theme with Professional Aesthetics
 */

/* ============================================
   CSS Variables & Root Styles
   ============================================ */
:root {
    /* Color Palette */
    --primary-color: #d4af37;
    --secondary-color: #1a1a1a;
    --accent-color: #ffff00;
    --light-bg: #1e1e1e;
    --white: #ffffff;
    --text-dark: #ffffff;
    --text-light: #cccccc;
    --border-color: #333333;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ============================================
   Global Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: White;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -2px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-color);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: var(--spacing-sm);
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    background-color: var(--secondary-color);
    color: White;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.logo-section {
    flex-shrink: 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color) !important;
    font-weight: 700;
    transition: color var(--transition-fast);
}

.logo:hover {
    color: var(--accent-color) !important;
}

.logo-text {
    font-size: 1.5rem;
    font-family: var(--font-primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    flex: 1;
    justify-content: center;
}

/* Bulletproof Navigation Link Colors */
.nav-menu a,
.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.nav-menu a:hover,
.nav-link:hover {
    color: #ffff00 !important;
}

.nav-menu a::after,
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffff00 !important;
    transition: width var(--transition-fast);
}

.nav-menu a:hover::after,
.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all var(--transition-fast);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid transparent;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-small {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.85rem;
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: 1rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    /* Changed the 0 to 5% to create the left and right gaps */
    padding: var(--spacing-2xl) 5%; 
    background: linear-gradient(135deg, #111111 0%, #2a2a2a 100%);
    color: White;
    min-height: 600px;
    box-sizing: border-box; /* Ensures the new padding doesn't stretch the screen */
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
}

.hero-description {
    font-size: 1.1rem;
    color: White;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* ============================================
   Featured Dishes Section
   ============================================ */
.featured-dishes {
    padding: var(--spacing-2xl) 0;
    background-color: var(--secondary-color);
}

.featured-dishes h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-2xl);
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.dish-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-align: center;
    border: 1px solid var(--border-color);
}

.dish-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.dish-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.dish-card:hover img {
    transform: scale(1.1);
}

.dish-card h3 {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
    color: var(--primary-color);
}

.dish-card p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.about-text h3 {
    font-size: 1.25rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: White;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--text-light);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Locations Section
   ============================================ */
.locations-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--secondary-color);
}

.locations-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.location-card {
    background-color: var(--light-bg);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-top: 4px solid var(--primary-color);
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.location-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.location-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.location-card address {
    font-style: normal;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: White;
}

.location-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.location-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.feature {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8941e 100%);
    color: #1a1a1a;
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.cta-section h2 {
    color: #1a1a1a;
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: #1a1a1a;
    color: var(--primary-color);
    border-color: #1a1a1a;
}

.cta-section .btn-primary:hover {
    background-color: #000000;
    color: White;
}

.cta-section .btn-secondary {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.cta-section .btn-secondary:hover {
    background-color: #1a1a1a;
    color: var(--primary-color);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: #111111;
    color: White;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    padding: var(--spacing-2xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.footer-column p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: all var(--transition-fast);
    font-weight: bold;
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-light);
}

.contact-info {
    list-style: none;
    color: var(--text-light);
}

.contact-info li {
    margin-bottom: var(--spacing-md);
}

.contact-info strong {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.4);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.copyright-text a {
    color: var(--primary-color);
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Focus Styles
   ============================================ */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
/* ============================================
   Logo Alignment Styles
   ============================================ */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the subtitle below the top row */
    text-decoration: none;
}

.logo-top-row {
    display: flex;
    align-items: center; /* Vertically centers the image and text */
    justify-content: center;
    gap: 12px; /* Controls the space between the flower and the text */
}

.logo-img {
    width: 35px; /* Adjust this value if your logo is too big or small */
    height: auto;
    object-fit: contain;
}

/* Ensure the subtitle has a little breathing room from the top row */
.logo-subtitle {
    margin-top: 2px;
}
/* ========================================================
   FINAL DELIVERY ICONS SIZE - HIGHEST PRIORITY
   ======================================================== */

.delivery-buttons .btn-app img.delivery-icon,
.btn-app img.delivery-icon {
    width: 34px !important;
    height: 34px !important;
    object-fit: contain !important;
    margin-right: 10px !important;
    vertical-align: middle;
}

/* Top Bar Icons */
.top-delivery-link img {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain !important;
}

/* Mobile */
@media (max-width: 768px) {
    .delivery-buttons .btn-app img.delivery-icon,
    .btn-app img.delivery-icon {
        width: 30px !important;
        height: 30px !important;
    }
    
    .top-delivery-link img {
        width: 28px !important;
        height: 28px !important;
    }
}

/* Extra Safety Override */
.order-now-section img,
.top-delivery-bar img {
    max-width: 34px !important;
    max-height: 34px !important;
}