/* ============================================
   Japan Express — Custom Styles
   ============================================ */

/* CSS Custom Properties */
:root {
    --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-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;

    --warm-50: #fffbeb;
    --warm-100: #fef3c7;
    --warm-200: #fde68a;
    --warm-500: #f59e0b;
    --warm-600: #d97706;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 20px 40px -6px rgba(15, 23, 42, 0.1), 0 8px 16px -8px rgba(15, 23, 42, 0.06);

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate-700);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--teal-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--teal-700);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
}

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

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

.btn-primary {
    background: var(--teal-600);
    color: #ffffff;
    border-color: var(--teal-600);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--teal-600);
    border-color: var(--teal-600);
}

.btn-secondary:hover {
    background: var(--teal-50);
    color: var(--teal-700);
    transform: translateY(-2px);
}

.btn-light {
    background: #ffffff;
    color: var(--teal-700);
    border-color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.btn-light:hover {
    background: var(--teal-50);
    color: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

/* ============================================
   Section Shared
   ============================================ */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    background: var(--teal-50);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--slate-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--slate-800);
    font-weight: 700;
}

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

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

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

.nav-links a {
    color: var(--slate-600);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--slate-900);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(13, 148, 136, 0.65) 50%,
        rgba(15, 23, 42, 0.78) 100%
    );
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--teal-200);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

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

.hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-actions .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    font-weight: 600;
}

.trust-item svg {
    color: var(--teal-300);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ============================================
   Menu Section
   ============================================ */
.menu-section {
    background: var(--slate-50);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.menu-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.menu-card-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.menu-card-body {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.menu-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-600);
}

.menu-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--slate-800);
    margin-bottom: 6px;
}

.menu-card-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.menu-cta {
    text-align: center;
}

.menu-cta-note {
    margin-top: 16px;
    font-size: 0.9375rem;
    color: var(--slate-400);
}

/* ============================================
   Specialties Section
   ============================================ */
.specialties-section {
    background: #ffffff;
}

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

.specialty-card {
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.specialty-card:hover {
    background: #ffffff;
    border-color: var(--teal-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.specialty-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-600);
    border-radius: var(--radius-md);
    color: #ffffff;
    margin-bottom: 20px;
}

.specialty-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--slate-800);
    margin-bottom: 10px;
}

.specialty-card p {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: var(--slate-50);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--slate-50);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-img-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    color: var(--teal-600);
    opacity: 0.2;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

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

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

.about-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin: 32px 0 40px;
}

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

.stat-number {
    font-size: 1.5rem;
}

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

.about-content .btn {
    margin-top: 8px;
}

/* ============================================
   Catering Section
   ============================================ */
.catering-section {
    background: var(--slate-900);
    padding: 100px 0;
}

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

.catering-content .section-tag {
    background: rgba(255, 255, 255, 0.08);
    color: var(--teal-300);
}

.catering-content .section-title {
    color: #ffffff;
    text-align: left;
    margin-bottom: 20px;
}

.catering-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 32px;
}

.catering-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.catering-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 1rem;
}

.catering-features svg {
    color: var(--teal-400);
    flex-shrink: 0;
}

.catering-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.catering-cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
}

.catering-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.catering-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/5;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 56px;
}

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--slate-50);
    padding: 24px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

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

.contact-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-600);
    border-radius: var(--radius-md);
    color: #ffffff;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.contact-card a {
    color: var(--teal-600);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--teal-700);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--slate-50);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--slate-800);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--slate-800);
    background: #ffffff;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-full);
    color: var(--teal-600);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--slate-800);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--slate-500);
    margin-bottom: 24px;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--slate-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-hours h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer-links a:hover {
    color: var(--teal-300);
    text-decoration: none;
}

.footer-hours p {
    font-size: 0.9375rem;
    margin-bottom: 6px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
}

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

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition-base);
        pointer-events: none;
    }

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

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-trust {
        gap: 20px;
    }

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

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

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

    .about-img-secondary {
        right: 0;
        bottom: -24px;
    }

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

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

    .about-content {
        text-align: center;
    }

    .about-content .btn {
        margin: 8px auto 0;
    }

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

    .catering-content .section-title {
        text-align: center;
    }

    .catering-cta {
        justify-content: center;
    }

    .catering-image {
        order: -1;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

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

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

    .section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-badge {
        font-size: 0.8125rem;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .specialty-card {
        padding: 24px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .scroll-indicator {
        animation: none;
    }
}
