/* ============================================
   S & T's Morgan City — Stylesheet
   ============================================ */

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

:root {
    /* Teal Palette */
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    /* Slate Palette */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    /* Functional */
    --white: #ffffff;
    --black: #000000;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

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

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

ul {
    list-style: none;
}

/* --- Utility --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 24px;
}

.text-teal {
    color: var(--teal-600);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

.btn--primary:hover {
    background-color: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn--ghost {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--large {
    padding: 18px 36px;
    font-size: 1rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: all var(--transition-medium);
}

.nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav__logo-mark {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--teal-600);
    background-color: var(--teal-600);
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.nav__logo-text {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--slate-700);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color var(--transition-fast);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal-600);
    transition: width var(--transition-fast);
}

.nav__link:hover {
    color: var(--teal-600);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    background-color: var(--teal-600);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.nav__cta:hover {
    background-color: var(--teal-700);
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle-line {
    width: 24px;
    height: 2px;
    background-color: var(--slate-700);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--slate-900);
    background-image: url('https://images.pexels.com/photos/15889816/pexels-photo-15889816.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 6, 23, 0.88) 0%,
        rgba(15, 23, 42, 0.82) 50%,
        rgba(17, 94, 89, 0.75) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero__title-accent {
    color: var(--teal-300);
    font-style: italic;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--slate-300);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--slate-400);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--slate-400), transparent);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

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

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.about__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about__image-wrapper:hover img {
    transform: scale(1.03);
}

.about__content {
    padding: 16px 0;
}

.about__text {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background-color: var(--slate-50);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.feature-card:hover {
    background-color: var(--teal-50);
    transform: translateX(4px);
}

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

.feature-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.feature-card__desc {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.5;
}

/* --- Menu --- */
.menu {
    padding: var(--section-padding) 0;
    background-color: var(--slate-50);
}

.menu__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.menu__subtitle {
    font-size: 1.0625rem;
    color: var(--slate-500);
}

.menu__categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.menu__category {
    background-color: var(--white);
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-fast);
    border: 1px solid var(--slate-100);
}

.menu__category:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--teal-100);
}

.menu__category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--slate-100);
}

.menu__category-header svg {
    color: var(--teal-600);
}

.menu__category-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
}

.menu__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu__item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-800);
}

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

.menu__note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-400);
    font-style: italic;
}

/* --- Atmosphere --- */
.atmosphere {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.atmosphere__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.atmosphere__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.atmosphere__card {
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-fast);
    border: 1px solid var(--slate-100);
}

.atmosphere__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.atmosphere__card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.atmosphere__card:hover img {
    transform: scale(1.05);
}

.atmosphere__card-content {
    padding: 28px;
}

.atmosphere__card-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.atmosphere__card-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* --- Visit --- */
.visit {
    padding: var(--section-padding) 0;
    background-color: var(--slate-900);
}

.visit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit__info {
    padding-top: 16px;
}

.visit__info .section-title {
    color: var(--white);
}

.visit__details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 40px 0;
}

.visit__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.visit__detail-icon {
    flex-shrink: 0;
    color: var(--teal-400);
    margin-top: 2px;
}

.visit__detail-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: 6px;
}

.visit__detail-value {
    font-size: 1.0625rem;
    color: var(--slate-200);
    line-height: 1.7;
}

.visit__detail-value a {
    color: var(--teal-300);
    transition: color var(--transition-fast);
}

.visit__detail-value a:hover {
    color: var(--teal-200);
}

.visit__map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
    min-height: 450px;
}

/* --- Footer --- */
.footer {
    background-color: var(--slate-950);
    padding: 64px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer__logo-mark {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    background-color: var(--teal-600);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.footer__logo-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-300);
}

.footer__tagline {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer__heading {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 20px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__list a {
    font-size: 0.9375rem;
    color: var(--slate-400);
    transition: color var(--transition-fast);
}

.footer__list a:hover {
    color: var(--teal-400);
}

.footer__list li {
    font-size: 0.9375rem;
    color: var(--slate-400);
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--slate-800);
    text-align: center;
}

.footer__copy {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .about__grid {
        gap: 48px;
    }
    
    .menu__categories {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }
    
    /* Mobile Navigation */
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
    }
    
    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav__link {
        font-size: 1.0625rem;
    }
    
    .nav__cta {
        text-align: center;
        display: block;
    }
    
    /* Hero */
    .hero {
        background-attachment: scroll;
    }
    
    .hero__content {
        padding: 100px 24px 60px;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* About */
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__image-wrapper {
        order: -1;
    }
    
    /* Menu */
    .menu__categories {
        grid-template-columns: 1fr;
    }
    
    /* Atmosphere */
    .atmosphere__grid {
        grid-template-columns: 1fr;
    }
    
    /* Visit */
    .visit__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit__map {
        min-height: 300px;
    }
    
    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .btn--large {
        padding: 14px 28px;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
