/* ============================================
   THE SAVORY SKILLET - Clean White Design
   Elderly-friendly, readable, modern with subtle animations
   ============================================ */

:root {
    --white: #ffffff;
    --off-white: #fafafa;
    --cream: #f5f5f0;
    --warm-gray: #8a8a82;
    --text-dark: #2d2d28;
    --text-medium: #4a4a44;
    --accent: #c4a35a;
    --accent-hover: #a88948;
    --shadow-soft: 0 2px 15px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.35s ease;
    --radius: 12px;
    --font-display: 'Lora', serif;
    --font-body: 'Source Sans 3', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    /* Safe area for notched phones */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

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

/* ============================================
   NAVIGATION - Logo in header
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    padding: 0.4rem 0 0.2rem 0;
    transition: var(--transition);
    padding-top: max(0.4rem, env(safe-area-inset-top));
}

.navbar.scrolled {
    padding: 0.3rem 0 0.15rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: block;
}

.nav-logo img {
    height: 160px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-logo:hover img {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.35s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 140px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--white);
}

.hero-container {
    width: 100%;
}

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

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.35rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 400px;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-family: var(--font-body);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.2s both;
}

.hero-image img {
    max-width: 100%;
    max-height: 700px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

/* ============================================
   SPECIALS SECTION
   ============================================ */

.specials-section {
    padding: 80px 0;
    background: var(--cream);
}

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

.special-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out both;
}

.special-card:nth-child(1) { animation-delay: 0.1s; }
.special-card:nth-child(2) { animation-delay: 0.2s; }
.special-card:nth-child(3) { animation-delay: 0.3s; }

.special-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.special-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.special-info {
    padding: 1.5rem;
}

.special-info h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.special-info p {
    color: var(--text-medium);
    font-size: 1rem;
}

/* ============================================
   POPULAR PICKS
   ============================================ */

.popular-section {
    padding: 80px 0;
    background: var(--white);
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.popular-card {
    background: var(--cream);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out both;
}

.popular-card:nth-child(1) { animation-delay: 0.05s; }
.popular-card:nth-child(2) { animation-delay: 0.1s; }
.popular-card:nth-child(3) { animation-delay: 0.15s; }
.popular-card:nth-child(4) { animation-delay: 0.2s; }

.popular-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.popular-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.popular-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    padding: 1rem 1.25rem;
    color: var(--text-dark);
    text-align: center;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 80px 0;
    background: var(--cream);
}

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

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

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

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */

.reviews-section {
    padding: 80px 0;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-hover);
}

.stars {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    font-style: italic;
    line-height: 1.7;
}

.review-author {
    font-size: 1rem;
    color: var(--warm-gray);
}

/* ============================================
   PAGE HERO (Menu, Gallery, Contact)
   ============================================ */

.menu-hero,
.gallery-hero,
.contact-hero {
    padding: 180px 0 60px;
    text-align: center;
    background: var(--cream);
}

.page-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
}

/* ============================================
   MENU PAGE
   ============================================ */

.menu-section {
    padding: 60px 0 80px;
}

.menu-category {
    margin-bottom: 4rem;
}

.category-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent);
}

.category-note {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.menu-group {
    margin-bottom: 2.5rem;
}

.group-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.group-note,
.group-add {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    gap: 1rem;
}

.menu-item .item-name {
    font-size: 1.1rem;
    color: var(--text-dark);
    flex: 1;
}

.menu-item .item-price {
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    font-size: 1rem;
}

/* ============================================
   GALLERY PAGE
   ============================================ */

.gallery-section {
    padding: 60px 0 80px;
}

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

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream);
    transition: var(--transition);
}

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

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
    padding: 60px 0 80px;
}

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

.contact-info h2,
.contact-map h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.info-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-medium);
    font-size: 1.05rem;
}

.info-card a {
    color: var(--accent-hover);
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    text-decoration: underline;
}

.map-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.info-note {
    font-size: 0.9rem !important;
    margin-top: 0.5rem;
    color: var(--warm-gray) !important;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.find-place-image {
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.find-place-image img {
    width: 100%;
    height: auto;
    display: block;
}

.map-note {
    margin-top: 1rem;
    text-align: center;
}

.map-note a {
    color: var(--accent-hover);
    text-decoration: none;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 25px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-display);
    margin-bottom: 0.75rem;
    color: var(--white);
}

.footer-section h4 {
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-tagline {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE - Mobile friendly
   ============================================ */

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 0;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .about-text .section-title {
        text-align: center;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Compact header for phone: smaller logo so content is visible */
    .nav-logo img {
        height: 56px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(280px, 85vw);
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: max(80px, env(safe-area-inset-top)) 1.5rem 2rem;
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.35s ease;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Touch-friendly nav links (min 44px height) */
    .nav-menu .nav-link {
        display: block;
        padding: 1rem 0;
        min-height: 48px;
        line-height: 1.4;
        font-size: 1.15rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Less top padding so hero content appears without scrolling */
    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .menu-hero,
    .gallery-hero,
    .contact-hero {
        padding: 100px 0 40px;
    }

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

    .hero-tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

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

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

    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .menu-item .item-price {
        margin-left: 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.05rem;
    }
}

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 1.25rem;
    }

    .category-title {
        font-size: 1.6rem;
    }

    .special-info,
    .info-card {
        padding: 1.25rem;
    }
}

/* ============================================
   MOBILE STICKY CTA BAR (phones only)
   ============================================ */

.mobile-cta-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--text-dark);
        padding: 0.75rem 1rem;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
        gap: 0.75rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }

    .mobile-cta-bar a {
        flex: 1;
        text-align: center;
        padding: 0.9rem 1rem;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        border-radius: 8px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transition: var(--transition);
    }

    .mobile-cta-bar .cta-call {
        background: var(--accent);
        color: var(--white);
    }

    .mobile-cta-bar .cta-call:hover {
        background: var(--accent-hover);
    }

    .mobile-cta-bar .cta-directions {
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
        border: 2px solid rgba(255, 255, 255, 0.4);
    }

    .mobile-cta-bar .cta-directions:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    /* Prevent content from hiding behind sticky bar */
    body {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}
