/* --- CSS Variables & Reset --- */
:root {
    --color-teal-50: #f0fdfa;
    --color-teal-100: #ccfbf1;
    --color-teal-500: #14b8a6;
    --color-teal-600: #0d9488;
    --color-teal-700: #0f766e;
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-600: #475569;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    
    --font-serif: 'Libre Baskerville', Georgia, serif;
    --font-sans: 'Outfit', system-ui, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-slate-800);
    background-color: var(--color-slate-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-slate-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--space-sm);
}

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

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

p {
    margin-bottom: var(--space-sm);
    color: var(--color-slate-600);
}

.eyebrow {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-teal-600);
    margin-bottom: var(--space-xs);
}

.large-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: var(--color-slate-800);
    line-height: 1.5;
    margin: var(--space-md) 0;
}

.attribution {
    font-size: 0.875rem;
    color: var(--color-slate-500);
    font-weight: 500;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    font-size: 1rem;
}

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

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

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--color-teal-700);
}

.full-width {
    width: 100%;
    margin-top: var(--space-sm);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-slate-200);
    padding: var(--space-sm) 0;
}

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

.logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-teal-700);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-links a {
    font-weight: 500;
    color: var(--color-slate-600);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-teal-600);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-slate-800);
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: var(--space-md);
        border-bottom: 1px solid var(--color-slate-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.85) 0%, rgba(30, 41, 59, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-top: var(--space-xl);
}

.hero-content h1 {
    color: white;
}

.hero-sub {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* --- About --- */
.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.feature-list {
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 500;
    color: var(--color-slate-700);
}

.feature-list svg {
    color: var(--color-teal-600);
    flex-shrink: 0;
}

/* --- Menu --- */
.menu-section {
    background-color: white;
}

.section-header {
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.menu-card {
    background-color: var(--color-slate-50);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.menu-img {
    height: 220px;
    overflow: hidden;
}

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

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

.menu-info {
    padding: var(--space-md);
}

/* --- Community --- */
.community {
    background: linear-gradient(135deg, var(--color-slate-800) 0%, var(--color-teal-700) 100%);
    color: white;
    text-align: center;
}

.community-content {
    max-width: 800px;
    margin: 0 auto;
}

.community h2 {
    color: white;
}

.community .large-quote {
    color: white;
}

.community .attribution {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Visit --- */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .visit-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.visit-info address {
    font-style: normal;
    margin-bottom: var(--space-md);
}

.visit-info .phone-link {
    color: var(--color-teal-600);
    font-weight: 600;
}

.hours h3 {
    margin-bottom: var(--space-sm);
}

.hours ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.hours li {
    display: flex;
    justify-content: space-between;
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-slate-200);
}

.map-img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-slate-900);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-brand h3 {
    color: white;
    margin-bottom: var(--space-xs);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* --- Animations --- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-teal-600);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: all 0.6s ease;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.revealed {
    opacity: 1 !important;
    transform: none !important;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 0;
    }
}

/* Focus styles */
:focus-visible {
    outline: 3px solid var(--color-teal-500);
    outline-offset: 2px;
}
