/* Parea Orleans Restaurant Styles - Following Master Guide Patterns */

/* CSS Variables for Greek Blue Brand Colors */
:root {
    --primary-color: #1e3a8a;      /* Greek blue primary */
    --primary-dark: #1e40af;       /* Darker blue for hover */
    --primary-light: #3b82f6;      /* Light blue accent */
    --secondary-color: #f8f9fa;    /* Light backgrounds */
    --text-dark: #2c2c2c;          /* Primary text */
    --text-gray: #666;             /* Secondary text */
    --white: #ffffff;              /* White backgrounds */
    --border-color: #e5e7eb;       /* Light borders */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --success-color: #059669;      /* Green for success states */
    --warning-color: #d97706;      /* Orange for warnings */
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--primary-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-light);
}

.nav-cta {
    background: var(--white);
    color: var(--primary-color) !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-light);
    color: var(--white) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Following Master Guide Progressive Alignment */
.hero {
    position: relative;
    height: 65vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 70px; /* Account for fixed navbar */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 600px;
}

/* Progressive hero text alignment - Master Guide pattern */
@media (min-width: 768px) {
    .hero-content { margin-left: 200px; }
}
@media (min-width: 1200px) {
    .hero-content { margin-left: 292px; }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Quick Contact Info Bar - Master Guide Pattern */
.quick-contact {
    background: #f8f9fa; /* Master Guide specified color */
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.quick-contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.contact-item span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Section Spacing - Master Guide Pattern */
.section {
    padding: 4rem 0;
}

/* Alternating section backgrounds for visual separation */
.menu,
.custom-messaging,
.catering,
.gallery,
.contact {
    background: #f1f5f9 !important; /* Light blue background */
}

/* Mobile spacing overrides - Master Guide Pattern */
@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .dishes.boxed .container {
        padding-top: 0;
        margin-top: 0;
    }
}

/* Popular Dishes Section - Master Guide Conveyor Pattern */
.dishes {
    background: var(--secondary-color);
    padding: 4rem 0;
}

.dishes.boxed {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.dishes h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.dishes-conveyor {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
}

.dish-card {
    flex: 0 0 350px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-4px);
}

.dish-image {
    height: 200px;
    overflow: hidden;
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.dish-content {
    padding: 1.5rem;
}

.dish-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.dish-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Menu Section */
.menu {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.menu h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.menu-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.menu-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Deals Section - Master Guide Pattern */
.deals {
    padding: 4rem 0;
    background: var(--secondary-color);
}

.deals .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.deals h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.deal-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-4px);
}

.deal-image {
    max-height: 423px;
    overflow: hidden;
}

.deal-image img {
    width: 100%;
    height: 100%;
}

.deal-content {
    padding: 2rem;
}

.deal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.deal-content h4 {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.deal-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.deal-terms {
    font-size: 0.85rem;
    color: var(--text-gray);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-bottom: 1.5rem !important;
}

.deal-order-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.deal-order-btn:hover {
    background: var(--primary-dark);
}

/* Custom Messaging Section - Master Guide Boxed Pattern */
.custom-messaging {
    padding: 4rem 0;
    background: var(--white);
}

.custom-messaging.boxed {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.custom-messaging h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.messaging-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.message-item {
    text-align: center;
    padding: 2rem;
    background: var(--secondary-color);
    border-radius: 12px;
}

.message-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.message-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Reservations Section */
.reservations {
    padding: 4rem 0;
    background: var(--secondary-color);
}

.reservations h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.reservations-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.reservations-info h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reservations-info p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.reservations-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.feature strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.reservations-cta {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.reservations-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reservations-cta p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.reservation-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Catering Section */
.catering {
    padding: 4rem 0;
    background: var(--white);
}

.catering h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.catering-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.catering-info h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.catering-info p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.catering-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.catering-feature {
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: 12px;
    text-align: center;
}

.catering-feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.catering-feature p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.catering-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Reviews Section */
.reviews {
    padding: 4rem 0;
    background: var(--secondary-color);
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.review-stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-card p {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-author {
    color: var(--primary-color);
    font-weight: 500;
}

/* Gallery Section */
.gallery {
    padding: 4rem 0;
    background: var(--white);
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* About Section */
.about {
    padding: 4rem 0;
    background: var(--secondary-color);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-image {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Hours Section */
.hours {
    padding: 4rem 0;
    background: var(--white);
}

.hours h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.hours-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.hours-info h3,
.delivery-info h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hours-list {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 2rem;
}

.hours-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-day:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: var(--text-dark);
}

.time {
    color: var(--success-color);
    font-weight: 500;
}

.time.closed {
    color: var(--warning-color);
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-option {
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: 12px;
}

.service-option h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-option p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.service-option small {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--secondary-color);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

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

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact p,
.footer-hours p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--primary-light);
    text-decoration: none;
}

/* Mobile Responsive - Master Guide Patterns */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .quick-contact-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .dishes-conveyor {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .messaging-grid {
        grid-template-columns: 1fr;
    }
    
    .reservations-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hours-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .catering-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .dish-card {
        flex: 0 0 280px;
    }
    
    .reservation-buttons {
        gap: 0.5rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* Animation for loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dish-card,
.deal-card,
.review-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0.8;
}

img.loaded {
    opacity: 1;
}
