/* 
 * Blockers - Classic & Elegant Website Styles
 * Palette: Midnight Blue (#0F172A), Mint (#10B981), Cream (#F8FAFC)
 */

:root {
    --color-midnight: #0F172A;
    --color-midnight-light: #1E293B;
    --color-mint: #10B981;
    --color-mint-light: #D1FAE5;
    --color-cream: #F8FAFC;
    --color-text-dark: #1e293b;
    --color-text-light: #f8fafc;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    --spacing-section: 6rem;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream);
    color: var(--color-text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, .logo {
    font-family: var(--font-serif);
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-tag {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-mint);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: var(--spacing-section) 0;
}

.center-text {
    text-align: center;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: #64748b;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #059669; /* Darker mint */
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-mint);
    color: var(--color-mint);
}

.btn-outline:hover {
    background-color: var(--color-mint);
    color: var(--color-midnight);
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-text-light);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-cream);
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--color-mint);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-cream);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-midnight);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-link {
    color: var(--color-cream);
    font-size: 1.25rem;
    font-family: var(--font-serif);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.pexels.com/photos/6278886/pexels-photo-6278886.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-text-light);
    max-width: 800px;
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

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

/* Hero Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
    from { opacity: 0; transform: translateY(20px); }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--color-midnight);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #475569;
    font-size: 1.1rem;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 20px 20px 0px var(--color-mint-light);
}

/* Menu Section */
.menu {
    background-color: #fff;
}

.section-header {
    margin-bottom: 4rem;
}

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

.menu-card {
    background-color: var(--color-cream);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--color-mint);
}

.card-icon {
    width: 50px;
    height: 50px;
    color: var(--color-mint);
    margin-bottom: 1.5rem;
}

.menu-card h3 {
    font-size: 1.5rem;
    color: var(--color-midnight);
    margin-bottom: 1rem;
}

.menu-card p {
    color: #64748b;
}

/* Visual Break */
.visual-break {
    position: relative;
    padding: 8rem 0;
    background-image: url('https://images.pexels.com/photos/6268/restaurant-coffee-espresso-professional.jpg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=600');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: white;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.85);
}

.visual-break h2 {
    position: relative;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

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

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

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Contact Section */
.contact {
    background-color: var(--color-midnight);
    color: var(--color-cream);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: var(--color-mint);
}

.contact-info p {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.contact-details li {
    margin-bottom: 1.5rem;
}

.contact-details strong {
    display: block;
    color: var(--color-mint);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-details a, .contact-details span {
    color: var(--color-cream);
    font-size: 1.1rem;
}

.contact-details a:hover {
    color: var(--color-mint);
    text-decoration: underline;
}

/* Form */
.contact-form-container {
    background-color: var(--color-midnight-light);
    padding: 2.5rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-mint);
    background-color: rgba(255,255,255,0.1);
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    color: var(--color-mint);
}

/* Footer */
.footer {
    background-color: #020617; /* Even darker than midnight */
    color: #94a3b8;
    padding: 3rem 0;
    font-size: 0.9rem;
}

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

.footer-brand .logo-text {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-cream);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

/* Scroll Animations (Progressive Enhancement) */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item.tall, 
    .gallery-item.wide {
        grid-column: auto;
        grid-row: auto;
    }
    
    .gallery-item img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
