/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B0000;
    --secondary-color: #FFD700;
    --accent-color: #006400;
    --text-dark: #1d2a3b;
    --text-light: #6b7280;
    --white: #ffffff;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    min-height: 100vh;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), 
                url('./food-background-placeholder.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #f5f5f5; /* Fallback color */
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    position: relative;
}

.hero-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.logo-container {
    margin-bottom: 4rem;
    animation: fadeInDown 1s ease-out;
    position: relative;
    z-index: 2;
}

.logo {
    width: 400px;
    height: 400px;
    object-fit: contain;
    margin: 0 auto 2rem auto;
    display: block;
    transition: var(--transition);
    border-radius: 50%;
    background: transparent;
    mix-blend-mode: multiply;
}

.logo:hover {
    transform: scale(1.05);
}

.company-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.8);
}

.company-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--accent-color);
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.8);
}

/* Action Tabs */
.action-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
    z-index: 2;
}

.action-tab {
    padding: 1.5rem 3rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 60px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.action-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.action-tab:hover::before {
    left: 100%;
}

.reserve-tab {
    background: var(--primary-color);
    color: var(--white);
}

.reserve-tab:hover {
    background: #6B0000;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.call-tab {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.call-tab:hover {
    background: #E6C200;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Square Image Section */
.image-section {
    background: var(--white);
    padding: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.6s both;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.image-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.image-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.square-image {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.square-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border: 3px dashed #ccc;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
}

.image-placeholder:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
}

/* Logo Fallback */
.logo-fallback {
    animation: fadeIn 0.5s ease;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.action-tab:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-section {
        min-height: 90vh;
        padding: 1rem 0;
        background-attachment: scroll;
    }

    .action-tabs {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        justify-content: center;
    }

    .action-tab {
        width: 280px;
        height: 60px;
        padding: 0;
    }

    .logo {
        width: 300px;
        height: 300px;
    }

    .image-section {
        padding: 2rem 1rem;
    }

    .square-image,
    .image-placeholder {
        max-width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 80vh;
        background-attachment: scroll;
    }

    .action-tab {
        width: 280px;
        height: 50px;
        padding: 0;
        font-size: 1rem;
    }

    .logo {
        width: 200px;
        height: 200px;
    }

    .company-title {
        font-size: 2rem;
    }

    .company-subtitle {
        font-size: 1rem;
    }

    .square-image,
    .image-placeholder {
        max-width: 250px;
        height: 250px;
    }
}

/* Print Styles */
@media print {
    .action-tabs {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        box-shadow: none;
    }
    
    .image-section {
        box-shadow: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #ffffff;
        --accent-color: #000000;
    }
    
    .action-tab {
        border: 2px solid var(--text-dark);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .action-tab::before {
        display: none;
    }
} 