:root {
    --color-primary: #333333;
    /* Main Text */
    --color-secondary: #666666;
    /* Secondary Text */
    --color-accent: #BDD200;
    /* TMC Lime */
    --color-bg: #FFFFFF;
    /* Pure White */
    --color-surface: #FAFAFA;
    /* Very Light Grey */

    --font-heading: 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;

    --container-width: 1200px;
    /* Wider, cleaner */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 48px;
    --spacing-xl: 60px;
    /* Reduced for tighter spacing */
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-primary);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
    /* Slightly smaller, more refined */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.2;
}

/* Header */
.header {
    background-color: transparent;
    padding: 30px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* No border, no background initially for cleanest look, or white */
    background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    /* Adjust based on actual logo aspect ratio */
    display: block;
}

.nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.nav a:hover {
    color: var(--color-accent);
}

.nav-cta {
    color: var(--color-accent) !important;
}

/* Sections Global */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    font-weight: 400;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: var(--spacing-lg);
    text-align: center;
}

.hero-image-wrapper {
    width: 100%;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    position: relative;
    /* Context for absolute positioning */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 70vh;
}

.hero-message {
    position: absolute;
    bottom: 100px;
    right: 40px;
    font-family: 'Zen Kurenaido', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #FFF;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    text-align: right;
    width: auto;
    white-space: nowrap;
    z-index: 10;
    font-style: normal;
}

.hero-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(-10px) translateX(-8px) rotate(-3deg) scale(0.7);
    animation: writeChar 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes writeChar {
    0% {
        opacity: 0;
        transform: translateY(-10px) translateX(-8px) rotate(-3deg) scale(0.7);
    }

    30% {
        opacity: 0.3;
        transform: translateY(-5px) translateX(-4px) rotate(-1deg) scale(0.85);
    }

    60% {
        opacity: 0.8;
        transform: translateY(0) translateX(0) rotate(1deg) scale(1.08);
    }

    80% {
        opacity: 1;
        transform: translateY(0) translateX(0) rotate(-0.5deg) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
}

/* Hero Carousel */
.hero-carousel {
    padding-top: 140px;
    padding-bottom: var(--spacing-lg);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 600px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide .hero-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.hero-secondary-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Zen Kurenaido', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    color: #FFF;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7);
    text-align: center;
    white-space: nowrap;
    z-index: 10;
    margin: 0;
}


/* About */
.about {
    /* Background moved to wrapper */
    padding: var(--spacing-lg) 0;
}

.concept-wrapper {
    background-image: url('assets/concept_bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 40px;
    /* Padding moved here */
    width: 100%;
}


.about-content {
    max-width: 500px;
    /* Slightly narrower to fit whitespace */
    margin-right: auto;
    margin-left: 0;
    /* Align left */
    padding-top: var(--spacing-sm);
    font-size: 1.1rem;
    color: #333;
    /* Darker for better visibility on white */
    font-weight: 700;
    /* Thicker text as requested */
}




/* Specific alignment for Concept section headers */
.concept-wrapper .section-header {
    max-width: 500px;
    margin-right: auto;
    margin-left: 0;
    margin-bottom: 0;
    /* Tighten up if needed */
}

/* Why App Section */
.app-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: var(--spacing-lg);
}

.app-visual {
    width: 100%;
    height: auto;
    display: block;
}

.app-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    /* or center if preferred, but user said "easy to read" */
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    max-width: 600px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-message-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.app-message-body {
    font-size: 1rem;
    color: var(--color-secondary);
    line-height: 1.8;
}

/* Menu Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: var(--spacing-lg);
}

.product-card {
    cursor: pointer;
    text-align: center;
    /* Center align menu names */
}

.product-image-wrapper {
    width: 100%;
    background-color: #f0f0f0;
    aspect-ratio: 1 / 1;
    /* Square images like Blue Bottle */
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    /* Clean background if images are transparent */
    background-color: transparent;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure whole plate is visible, fits "images can be smaller" */
    display: block;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e5e5e5;
    /* Placeholder grey */
}

/* Hover effect on image */
.product-card:hover .product-placeholder {
    background-color: #dcdcdc;
    transition: background-color 0.3s;
}

.product-info {
    text-align: left;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.product-price {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
}

.toppings-list h4 {
    margin-bottom: 15px;
    font-size: 1rem;
}

.toppings-list ul {
    display: flex;
    gap: 20px;
}

.toppings-list li {
    font-size: 0.9rem;
    color: var(--color-secondary);
    border-bottom: 1px solid #eee;
    padding-bottom: 2px;
}

/* Seasonal Menu Note */
.menu-note {
    margin-top: var(--spacing-lg);
    padding: 30px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.menu-note-icon {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
}

.menu-note-text {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    color: var(--color-primary);
    font-weight: 400;
}

.menu-note-text strong {
    font-weight: 700;
}

/* Menu Disclaimer */
.menu-disclaimer {
    margin-top: var(--spacing-md);
    font-size: 0.85rem;
    color: #999;
    text-align: center;
    line-height: 1.6;
}

/* Signature Curry Section */
.signature-curry {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid #eee;
}

.signature-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.signature-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    font-weight: 400;
}

.signature-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.signature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.signature-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.signature-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.signature-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-primary);
}

.signature-text p {
    margin: 0;
}

/* Locations */
.locations-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.location-item h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 8px;
    display: inline-block;
}

.loc-address {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.loc-details p {
    font-size: 0.9rem;
    color: var(--color-secondary);
    line-height: 1.6;
    margin-bottom: 4px;
}

.loc-label {
    font-weight: 700;
    color: #999;
    font-size: 0.8rem;
    margin-right: 8px;
    display: inline-block;
    min-width: 60px;
}

/* Footer */
.footer {
    padding: var(--spacing-xl) 0 40px;
    border-top: 1px solid #eee;
    margin-top: var(--spacing-xl);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-bottom {
    font-size: 0.75rem;
    color: #aaa;
}

/* Mobile Nav & Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}


@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: var(--spacing-md);
    }

    .hero-image-wrapper {
        height: 400px;
        margin-bottom: var(--spacing-sm);
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        max-height: none;
    }

    .hero-message {
        font-size: 1.5rem;
        /* Reduced to ensure fit without wrapping */
        bottom: 60px;
        right: 20px;
        max-width: 100%;
        line-height: 1.3;
        white-space: nowrap;
        /* Forced single line as requested */
        text-align: right;
    }

    .hero-secondary-message {
        font-size: 2rem;
    }

    .locations-list,
    .contents-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        /* Smaller gap for 2 columns on mobile */
    }

    .signature-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .signature-title {
        font-size: 1.5rem;
    }

    .signature-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .menu-note {
        padding: 20px 0;
    }

    .menu-note-text {
        font-size: 0.95rem;
    }

    .header {
        padding: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .nav {
        display: flex;
        /* Flex context for stacking */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        padding-top: 60px;
    }

    .nav.nav-open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav a {
        font-size: 1.2rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
    }

    .concept-wrapper {
        padding: 60px 20px;
    }

    .about-content {
        max-width: 100%;
    }


    /* App Section Mobile Fix */
    .app-visual {
        height: 500px;
        /* Maintain vertical height */
        object-fit: cover;
    }

    .app-content {
        position: relative;
        /* Stack below image or overlay? User said "Main thing is image height" */
        /* If we keep absolute, it covers the image. Let's keep it consistent but maybe adjust position if needed. */
        /* Actually, in the screenshot it looked misaligned. Let's stick to absolute but ensure image is tall enough. */
        bottom: 20px;
        left: 20px;
        right: 20px;
        /* Ensure it fits width */
        width: auto;
        max-width: none;
    }
}


/* Contents Section */
.contents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Contents Grid Mobile Override */
@media (max-width: 768px) {
    .contents-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
}

.content-card {
    background-color: #FAFAFA;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.2s ease;
    overflow: hidden;
    /* Ensure image doesn't overflow corners */
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border-color: var(--color-accent);
}

.content-link {
    display: flex;
    flex-direction: column;
    /* Stack image and text */
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.content-image-wrapper {
    width: 100%;
    height: 200px;
    /* Fixed height for image area */
    overflow: hidden;
}

.content-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .content-img {
    transform: scale(1.05);
}

.content-body {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    width: 100%;
    /* Ensure full width */
    flex-grow: 1;
}

.content-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    white-space: nowrap;
}

.content-text p {
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-weight: 700;
}

.content-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

/* Contents grid mobile reset handled in main media query block */

/* Office Section */
/* .office-link is now just a wrapper div, no hover effect needed */
.office-link {
    display: block;
    margin-bottom: 40px;
    /* Separator for delivery methods */
}

/*
.office-link:hover .office-wrapper {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}
Removed as per "no link" request
*/

.office-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    /* transition: all 0.2s ease;  Removed transition */
}

.office-visual {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.office-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    /* Darker for readability */
    padding: 80px 40px 40px;
    color: #fff;
}

.office-message-title {
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.office-desc {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: #fff;
    /* White */
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 1.6;
}

/* Removed .office-content .read-more as it is deleted */

/* Delivery Methods */
.delivery-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.delivery-card {
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.delivery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.delivery-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.delivery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

.delivery-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.delivery-subtitle {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.delivery-desc {
    font-size: 0.95rem;
    color: var(--color-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: left;
}

.btn-delivery {
    display: inline-block;
    background-color: var(--color-accent);
    color: #333;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    font-size: 0.95rem;
}

.btn-delivery:hover {
    background-color: #aebf00;
    /* Slightly darker lime */
    color: #333;
}

/* Specific Media Query for Delivery Methods */
@media (max-width: 768px) {
    .delivery-methods {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .delivery-card {
        padding: 0;
        border: none;
        box-shadow: none;
        background-color: transparent;
        text-align: left;
        /* Align left on mobile for better readability? Or keep center? Prompt image looks centered-ish but let's stick to center for cards unless text is long. */
        /* Actually, let's keep text-align center generally but desc is left. */
        margin-bottom: 40px;
    }

    .delivery-card:hover {
        transform: none;
        box-shadow: none;
    }

    .delivery-desc {
        text-align: left;
    }

    .btn-delivery {
        display: block;
        width: 100%;
        text-align: center;
    }
}
