/* ============================================
   Sully's GastroPub — Styles
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5C1F2B;
    --burgundy-light: #9A3A4A;
    --blush: #F5E6E0;
    --blush-light: #FBF5F2;
    --blush-dark: #E8D0C8;
    --cream: #FFF9F7;
    --warm-white: #FFFDFB;
    --text-dark: #2A1A1E;
    --text-mid: #5C3A42;
    --text-light: #8A6068;
    --text-muted: #B08088;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(123, 45, 59, 0.06);
    --shadow-md: 0 4px 20px rgba(123, 45, 59, 0.1);
    --shadow-lg: 0 8px 40px rgba(123, 45, 59, 0.12);
    --shadow-xl: 0 16px 60px rgba(123, 45, 59, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
}

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

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

ul {
    list-style: none;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--burgundy);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.875rem;
}

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

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 249, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: var(--transition);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--burgundy);
}

/* --- Navigation --- */
.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-mid);
    border-radius: 50px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--burgundy);
    background: rgba(123, 45, 59, 0.06);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--burgundy);
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

/* --- Hero --- */
.hero {
    padding-top: 76px;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 50%, var(--blush-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(123, 45, 59, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0 80px;
    position: relative;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(123, 45, 59, 0.08);
    border: 1px solid rgba(123, 45, 59, 0.15);
    color: var(--burgundy);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 28px;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-title em {
    font-style: italic;
    color: var(--burgundy);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.stat {
    display: flex;
    flex-direction: column;
    padding: 0 24px;
}

.stat:nth-child(1) { padding-left: 0; }
.stat:nth-child(3) { padding: 0 24px; }
.stat:nth-child(5) { padding-right: 0; }

.stat-number {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--blush-dark);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

.hero-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-img-accent {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

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

.hero-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(123, 45, 59, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
}

/* --- Marquee --- */
.marquee {
    background: var(--burgundy);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee span {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    letter-spacing: 0.05em;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
}

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

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Menu Section --- */
.menu-section {
    padding: 100px 0;
    background: var(--warm-white);
}

.menu-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.menu-cat {
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--blush-dark);
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-mid);
    cursor: pointer;
    transition: var(--transition);
}

.menu-cat:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.menu-cat.active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.menu-item {
    display: flex;
    gap: 20px;
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(123, 45, 59, 0.06);
    transition: var(--transition);
}

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

.menu-item-img {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

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

.menu-item:hover .menu-item-img img {
    transform: scale(1.08);
}

.menu-item-body {
    flex: 1;
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.menu-item-name {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
}

.menu-item-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--burgundy);
    background: rgba(123, 45, 59, 0.08);
    padding: 3px 10px;
    border-radius: 50px;
}

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

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background: var(--cream);
    overflow: hidden;
}

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

.about-images {
    position: relative;
    height: 650px;
}

.about-img-large {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 75%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

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

.about-accent-circle {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--blush-dark);
    opacity: 0.5;
    z-index: -1;
}

.about-content {
    max-width: 480px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(123, 45, 59, 0.06);
    transition: var(--transition);
}

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

.value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 45, 59, 0.08);
    border-radius: 50%;
    color: var(--burgundy);
}

.value-icon svg {
    width: 22px;
    height: 22px;
}

.value-card h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
}

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

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
    transition: var(--transition);
}

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

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

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

.gallery-item--wide {
    grid-column: span 6;
}

/* --- Visit Section --- */
.visit-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--blush) 0%, var(--cream) 100%);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.visit-info {
    max-width: 480px;
}

.visit-info .section-title {
    margin-bottom: 16px;
}

.visit-desc {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 36px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.visit-detail-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warm-white);
    border-radius: 50%;
    color: var(--burgundy);
    box-shadow: var(--shadow-sm);
}

.visit-detail-icon svg {
    width: 22px;
    height: 22px;
}

.visit-detail strong {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

.visit-detail a {
    color: var(--burgundy);
    transition: var(--transition);
}

.visit-detail a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

/* --- Footer --- */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

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

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

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

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

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-visual {
        height: 500px;
    }

    .about-grid {
        gap: 48px;
    }

    .about-images {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(255, 249, 247, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(123, 45, 59, 0.08);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        border-radius: var(--radius-sm);
    }

    .nav-menu li:last-child {
        margin-top: 8px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 40px 0 60px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
        order: -1;
    }

    .hero-img-main {
        width: 85%;
        height: 85%;
    }

    .hero-img-accent {
        width: 55%;
        bottom: 20px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-item {
        flex-direction: column;
    }

    .menu-item-img {
        width: 100%;
        height: 180px;
    }

    .menu-item-body {
        padding: 16px 20px 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        height: 400px;
        order: -1;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 180px);
    }

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

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

    .visit-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .menu-categories {
        gap: 8px;
    }

    .menu-cat {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item--tall,
    .gallery-item--wide {
        grid-column: span 1;
    }

    .gallery-item {
        height: 220px;
    }
}
