/* ===================================
   Champagne Seafood Restaurant
   Fresh & Airy Design System
   =================================== */

/* CSS Custom Properties */
:root {
    --color-midnight: #0F4C75;
    --color-midnight-light: #1B6B9A;
    --color-midnight-dark: #0A3A5C;
    --color-mint: #E8F6F3;
    --color-mint-light: #F0FAF8;
    --color-mint-dark: #B8E0D6;
    --color-cream: #FDFBF7;
    --color-sand: #F5F0E8;
    --color-text: #2C3E50;
    --color-text-light: #5D6D7E;
    --color-white: #FFFFFF;
    --color-border: #E8E8E8;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(15, 76, 117, 0.08);
    --shadow-md: 0 4px 20px rgba(15, 76, 117, 0.12);
    --shadow-lg: 0 8px 40px rgba(15, 76, 117, 0.15);
    
    --transition: all 0.3s ease;
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-midnight);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-midnight);
    background: var(--color-mint);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--color-midnight-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-midnight);
    border: 2px solid var(--color-midnight);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-midnight);
}

.nav-logo-sea {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text-light);
    font-style: italic;
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
}

.nav-link:hover {
    color: var(--color-midnight);
}

.nav-cta {
    background: var(--color-midnight);
    color: var(--color-white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.nav-cta:hover {
    background: var(--color-midnight-light);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--color-midnight);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-mint-light) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-midnight);
    background: var(--color-mint);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-midnight);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--color-mint-dark);
    border-radius: 50%;
    opacity: 0.5;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--color-white);
}

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

.about-text {
    max-width: 560px;
}

.about-description {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

.about-feature svg {
    color: var(--color-midnight);
    flex-shrink: 0;
}

.about-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

/* Menu Section */
.menu {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-mint-light) 0%, var(--color-cream) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.menu-category {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    background: transparent;
    border: 2px solid var(--color-border);
    border-radius: 2rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-text);
}

.menu-category:hover,
.menu-category.active {
    background: var(--color-midnight);
    border-color: var(--color-midnight);
    color: var(--color-white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-item {
    display: flex;
    gap: 1.5rem;
    background: var(--color-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.menu-item img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    flex-shrink: 0;
}

.menu-item-content {
    padding: 1.25rem 1.25rem 1.25rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-item-name {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-midnight);
}

.menu-item-desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.menu-cta {
    text-align: center;
    padding: 3rem;
    background: var(--color-midnight);
    border-radius: 1rem;
    color: var(--color-white);
}

.menu-cta p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

.menu-cta .btn-primary:hover {
    background: var(--color-mint);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--color-white);
}

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

.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-mint-light) 0%, var(--color-cream) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-description {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
}

.contact-detail svg {
    color: var(--color-midnight);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-detail h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-midnight);
}

.contact-detail p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--color-midnight);
    font-weight: 500;
}

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

.contact-form-wrapper {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-midnight);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: 0.5rem;
    background: var(--color-cream);
    color: var(--color-text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-midnight);
    background: var(--color-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success svg {
    color: #22c55e;
    margin-bottom: 1rem;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-midnight);
}

.form-success p {
    color: var(--color-text-light);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 1rem;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
}

.footer-logo-sea {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-mint-dark);
    font-style: italic;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--color-mint-dark);
}

.footer-contact a:hover {
    color: var(--color-white);
}

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

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-cream);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        flex-direction: column;
    }
    
    .menu-item img {
        width: 100%;
        height: 200px;
    }
    
    .menu-item-content {
        padding: 1.25rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .menu-categories {
        gap: 0.5rem;
    }
    
    .menu-category {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .menu-item,
    .gallery-item {
        transition: var(--transition);
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-midnight);
    outline-offset: 2px;
}
