/* ============================================
   Maiko Matcha Cafe - Premium Matcha Experience
   High-end Japanese-inspired Design
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #1a3c2a;
    --primary-light: #2d6b4a;
    --primary-dark: #0e2318;
    --accent: #c9a96e;
    --accent-light: #d4bc7a;
    --accent-dark: #b08d4a;
    --bg: #faf6ef;
    --bg-alt: #f0ebe0;
    --bg-dark: #1a1a1a;
    --text: #2c2c2c;
    --text-light: #666;
    --text-muted: #999;
    --white: #ffffff;
    --border: #e5e0d5;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Cormorant Garamond', 'Noto Serif JP', 'Noto Serif SC', serif;
    --font-body: 'Inter', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
}

/* ---------- 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(--text);
    background-color: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
}

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

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px var(--shadow);
    padding: 10px 0;
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
    transition: opacity var(--transition);
}

.logo a:hover {
    opacity: 0.8;
}

.navbar.scrolled .logo a {
    color: var(--primary);
}

.logo .logo-sub {
    display: block;
    font-size: 0.65rem;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: -2px;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.navbar.scrolled .nav-links a {
    color: var(--text);
}

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

.navbar.scrolled .nav-links a:hover {
    color: var(--accent-dark);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled .lang-switcher {
    border-left-color: var(--border);
}

.lang-switcher a {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 3px 8px;
    border-radius: 4px;
    transition: all var(--transition);
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .lang-switcher a {
    color: var(--text-muted);
}

.navbar.scrolled .lang-switcher a:hover,
.navbar.scrolled .lang-switcher a.active {
    color: var(--primary);
    background: rgba(26, 60, 42, 0.08);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .menu-toggle span {
    background: var(--text);
}

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

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.hero.loaded .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 20, 14, 0.5) 0%,
        rgba(10, 20, 14, 0.3) 50%,
        rgba(10, 20, 14, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-content .hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    padding: 8px 20px;
    border: 1px solid rgba(201, 169, 110, 0.4);
    border-radius: 30px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-content h1 em {
    font-style: italic;
    font-weight: 600;
    color: var(--accent-light);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Page Hero (smaller, for inner pages) */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero .hero-bg {
    transform: scale(1);
}

.page-hero .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(10, 20, 14, 0.6) 0%,
        rgba(10, 20, 14, 0.4) 100%
    );
}

.page-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.page-hero .hero-content p {
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

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

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

.btn-dark:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 60, 42, 0.3);
}

.btn-gold-outline {
    background: transparent;
    color: var(--accent-dark);
    border: 1.5px solid var(--accent);
}

.btn-gold-outline:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--primary-dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 16px;
}

.section-dark .section-badge {
    color: var(--accent);
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-header h2 em {
    font-style: italic;
    font-weight: 600;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

/* Decorative line */
.deco-line {
    width: 50px;
    height: 1.5px;
    background: var(--accent);
    margin: 20px auto;
}

/* ---------- Menu Cards ---------- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.menu-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all var(--transition);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow-lg);
}

.menu-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.menu-card-img .card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
}

.menu-card-body {
    padding: 24px;
}

.menu-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.menu-card-body .card-cal {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.menu-card-body p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Menu Category Tab */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 10px 28px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
}

.menu-tab:hover,
.menu-tab.active {
    color: var(--primary-dark);
    background: var(--accent);
    border-color: var(--accent);
}

/* Menu List Style */
.menu-list {
    max-width: 800px;
    margin: 0 auto;
}

.menu-category {
    margin-bottom: 50px;
}

.menu-category h3 {
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
}

.menu-category .cat-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-info h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.menu-item-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.menu-item-cal {
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
    margin-left: 20px;
}

/* ---------- About / Story ---------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-grid.reverse {
    direction: rtl;
}

.story-grid.reverse > * {
    direction: ltr;
}

.story-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.story-img .img-accent {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--accent);
    border-radius: 16px;
    z-index: -1;
}

.story-text .story-badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 16px;
    display: block;
}

.story-text h2 {
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.story-text h2 em {
    font-style: italic;
    font-weight: 600;
}

.story-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 16px;
}

.story-text .highlight-box {
    background: var(--bg-alt);
    border-left: 3px solid var(--accent);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
}

.story-text .highlight-box p {
    font-style: italic;
    color: var(--primary);
    margin-bottom: 0;
}

/* ---------- Features / Values ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    font-size: 1.8rem;
}

.section-dark .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-dark .feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

.section-dark .feature-card p {
    color: rgba(255, 255, 255, 0.65);
}

/* ---------- Locations ---------- */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.location-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all var(--transition);
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-lg);
}

.location-map {
    height: 250px;
    background: var(--bg-alt);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    padding: 30px;
}

.location-info h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: var(--text-light);
}

.location-detail i {
    color: var(--accent-dark);
    font-size: 1rem;
    margin-top: 3px;
    min-width: 20px;
}

/* ---------- Contact Form ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.contact-form .form-desc {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text);
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(45, 107, 74, 0.1);
}

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

.contact-info-side h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-info-icon i {
    color: var(--white);
    font-size: 1.1rem;
}

.contact-info-text h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 4px;
}

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

.contact-info-text a {
    color: var(--primary-light);
}

.contact-info-text a:hover {
    color: var(--accent-dark);
}

/* ---------- Gallery / Image Grid ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

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

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

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.cta-banner .cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-banner .cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 60, 42, 0.9), rgba(14, 35, 24, 0.85));
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.6rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 16px;
}

.cta-content h2 em {
    font-style: italic;
    font-weight: 600;
    color: var(--accent-light);
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-lg);
}

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

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.testimonial-source {
    font-size: 0.78rem;
    color: var(--text-muted);
}

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

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

.footer-brand .logo a {
    font-size: 1.4rem;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 0;
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.88rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact p i {
    color: var(--accent);
    margin-top: 4px;
    min-width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ---------- HTML Class Aliases & Additional Styles ---------- */
/* Matches class names used across all HTML pages */

/* Hero with direct background-image on section */
.hero[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* CTA Banner with direct background-image */
.cta-banner[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Hero buttons alias */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Menu card image alias */
.menu-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

/* Menu badge alias */
.menu-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    z-index: 2;
}

/* Menu card content alias */
.menu-card-content {
    padding: 24px;
}

.menu-card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.menu-card-content p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Menu calories alias */
.menu-calories {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Story image alias */
.story-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

/* Story content alias */
.story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-content .section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 16px;
}

.story-content h2 {
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.story-content h2 em {
    font-style: italic;
    font-weight: 600;
}

.story-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 16px;
}

.story-content .highlight-box {
    background: var(--bg-alt);
    border-left: 3px solid var(--accent);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
}

.story-content .highlight-box p {
    font-style: italic;
    color: var(--primary);
    margin-bottom: 0;
}

/* Mobile nav active state alias */
.nav-links.active {
    right: 0;
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* Body menu open state */
body.menu-open {
    overflow: hidden;
}

/* Section padding for named sections */
.features,
.menu-highlights,
.our-story,
.testimonials,
.locations,
.contact-section,
.philosophy-section {
    padding: 100px 0;
}

.menu-highlights {
    padding: 100px 0;
}

/* Footer logo text styling */
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-logo .logo-sub {
    display: block;
    font-size: 0.65rem;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-top: -2px;
}

/* Footer links list styling */
.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li a,
.footer-contact li a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 0;
    transition: color var(--transition);
}

.footer-links li a:hover,
.footer-contact li a:hover {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 4px;
    min-width: 16px;
}

.footer-social ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-social li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-social li a:hover {
    color: var(--accent);
}

.footer-social li a i {
    font-size: 1.1rem;
}

/* Testimonial author aliases */
.author-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.author-location {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Section subtitle alias */
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Location info list styling */
.location-info ul {
    list-style: none;
}

.location-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.92rem;
    color: var(--text-light);
}

.location-info li i {
    color: var(--accent-dark);
    font-size: 1rem;
    margin-top: 3px;
    min-width: 20px;
}

.location-info li a {
    color: var(--primary-light);
    transition: color var(--transition);
}

.location-info li a:hover {
    color: var(--accent-dark);
}

.location-info .hours {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Footer credit */
.footer-credit {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Hero description */
.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonial quote */
.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

/* ---------- Scroll Animation ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .story-grid {
        gap: 40px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: var(--text);
        font-size: 1.1rem;
    }

    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .lang-switcher a {
        color: var(--text-muted);
    }

    .lang-switcher a:hover,
    .lang-switcher a.active {
        color: var(--primary);
        background: rgba(26, 60, 42, 0.08);
    }

    .hero {
        min-height: 90vh;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-hero {
        height: 40vh;
        min-height: 300px;
    }

    .page-hero .hero-content h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .story-grid,
    .story-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 30px;
    }

    .story-text h2,
    .story-content h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-btns,
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .section-header h2 {
        font-size: 1.7rem;
    }

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

    .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .menu-tabs {
        gap: 6px;
    }

    .menu-tab {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
}
