/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

.hidden {
    display: none;
}

/* Typography */
.section-title {
    font-size: 6rem;
    line-height: .9;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: #1a1a1a;
    text-align: left;
    max-width: 900px;
    text-align: left;
    margin: 20px auto;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    background: #f5f5f5;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #666;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero{
    background-color: #e8e8e6;
    padding: 120px 5% 40px;
    display: flex;
    overflow-x: hidden;
}
.hero-left{
    width: 50%;
    margin: auto 20px auto 0;
}
.hero-title{
    font-size: 7rem;
    line-height: .8;
    letter-spacing: -.6rem;
}
.hero-subtitle{
    margin: 10px 0;
    color: #666;
}
.hero-right {
    position: relative;
    display: block;
    width: 40%;
    margin-inline: auto;
    margin-top: 60px;
    margin-bottom: 80px;
}
  
.hero-right > img {
    width: 100%;
    aspect-ratio: 9/10;
    height: auto;
    object-fit: cover;
    max-width: 450px;
    display: block;
    margin: auto;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    rotate: 8deg;
    margin-left: 60px;
}
  
.hero-right::after {
    content: "";
    background-image: url(../images/joe-hepburn-FvFjKJ-t1C0-unsplash.jpg);
    object-fit: cover;
    position: absolute;
    background-size: cover;
    background-position: center;
    top: 10px;
    display: block;
    width: 90%;
    height: 100%;
    background-color: #db8d59;
    /* background-image: linear-gradient(0deg, rgba(253, 219, 146, 1), rgba(209, 253, 254, 1)); */
    rotate: -10deg;
    z-index: 0;
    border-radius: 20px;
    opacity: .8;
}

/* .hero > img{
    width: 40%;
} */
.hero-cta{
    background-color: #111;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    display: block;
    width: fit-content;
    margin: 20px 0;
}
/* About Section */
.about {
    padding: 6rem 0;
    background: #fafafa;
}

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

.about-text {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    color: #333;
    text-align: left;
}

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

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.about-card p {
    color: #666;
    line-height: 1.7;
}

/* Menu Section */
.menu {
    padding: 6rem 0;
    background: white;
}

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

.menu-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.menu-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    margin-top: 4rem;
    text-align: left;
}

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

.menu-category {
    background: none;
    border: none;
    padding: 1rem 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.menu-category:hover,
.menu-category.active {
    color: #1a1a1a;
    border-left-color: #1a1a1a;
}

.menu-category-header {
    margin-bottom: 2rem;
}

.menu-category-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 1;
    max-height: 1000px; /* 十分大きく */
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
}
.menu-list.hidden{
    opacity: 0;
  max-height: 0;
  pointer-events: none;
}
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.menu-item-info {
    flex: 1;
}

.menu-item-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.menu-item-description {
    color: #666;
    line-height: 1.6;
    max-width: 400px;
}

.menu-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-left: 2rem;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: #fafafa;
}

.gallery-subtitle {
    text-align: left;
    font-size: 1.2rem;
    color: #666;
    /* margin-bottom: 4rem; */
    max-width: 900px;
    margin: 0 auto 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 4rem;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

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

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background: white;
}

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

.review-card {
    background: #fafafa;
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid #1a1a1a;
}

.review-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
    font-style: italic;
}

.review-author h4 {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Hours Section */
.hours {
    padding: 6rem 0;
    background: #fafafa;
}

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

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.day {
    font-weight: 600;
    color: #1a1a1a;
}

.time {
    color: #666;
}

.hours-note {
    color: #999;
    font-style: italic;
    margin-top: 2rem;
}

/* Location Section */
.location {
    background: white;
}

.location-info {
    padding: 6rem 0 4rem;
}
.location-info > .container{
    display: flex;
}

.location-details {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.location-address h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.location-address p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.location-map {
    width: 100%;
    height: 400px;
}

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

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cta-button.primary {
    background: white;
    color: #1a1a1a;
}

.cta-button.primary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #111;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}
@media (max-width: 860px) {
    .hero{
        display: flex;
        flex-direction: column-reverse;
        position: relative;
        padding: 120px 5% 100px;
        color: #1a1a1a;
        /* text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.1); */
    }
    .hero-title{
        font-size: 6rem;
    }
    .hero-left{
        position: absolute;
        z-index: 2;
        width: 80%;
        top: 150px;
    }
    .hero-right{
        margin-left: auto;
        margin-right: 0;
        width: 70%;
        margin-top: 30px;
        opacity: .75;
    }
    .hero-right > img{
        margin-left: 0;
    }
    .hero-right::after{
        margin-left: -60px;
    }
    .hero-content{
        /* text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.3); */
        text-align: left;
        font-size: 1.1rem;
        color: #fafafa;
        text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.1);
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        /* text-align: center; */
    }

    .menu-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-categories {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .menu-category {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 0.5rem 1rem;
        text-align: center;
    }

    .menu-category:hover,
    .menu-category.active {
        border-left: none;
        border-bottom-color: #1a1a1a;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}
@media (max-width: 560px) {
    .hero-right{
        width: 90%;
    }
    .hero-left{
        width: 90%;
    }
}

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

    .nav-container {
        padding: 0 15px;
    }

    .hero-content {
        /* padding: 0 15px; */
    }

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

    .menu-item {
        flex-direction: column;
        gap: 1rem;
    }

    .menu-item-price {
        margin-left: 0;
        align-self: flex-start;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-right{
        width: 130%;
    }
    .hero-title{
        font-size: 5.5rem;
    }
    .section-title{
        font-size: 4.3rem;
        text-align: left;
        width: 100%;
    }
    .location-info > .container{
        flex-direction: column;
    }
    .location-details{
        width: 100%;
        text-align: left;
    }
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
    .gallery-item img {
        transition: transform 0.5s ease;
    }

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

/* Focus styles for accessibility */
/* button:focus,
a:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

.nav-link:focus {
    outline: 2px solid #666;
} */


/* Buy Hover */
/*  */
/* Delete this when you make website */
/*  */
.buy-hover{
    position: fixed;
    bottom: 0;
    background-color: #fff;
    width: 100%;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 20px 0;
    text-align: center;
    z-index: 999;
    display: flex;
    justify-content: center;
    color: #1a1a1a;
    font-family: 'Open Sans', sans-serif;
    flex-direction: column;
}
.buy-hover > span{
    display: block;
    margin: auto 0;
}
.buy-hover-btns{
    display: flex;
    width: fit-content;
    margin: 20px auto 10px;
}
.buy-hover-btns > a{
    background-color: #e3fc03;
    color: #1a1a1a;
    font-size: .9rem;
    display: block;
    padding: 10px 40px 10px 30px;
    width: fit-content;
    text-align: center;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    align-items: center;
    justify-content: center;
    /* min-width: 160px; */
    position: relative;
    margin: auto 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}
.buy-hover-btns > a::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-top: 4px solid #000000;
    border-right: 4px solid rgb(0, 0, 0);
}
.buy-hover-btns > a:hover{
    background-color: #d4ed02;
    transform: translateY(-2px);
    transition: all .3s ease-in;
}
.buy-hover-btns > a.buy-hover-btns-back{
    background-color: #333;
    color: #fff;
    /* border: #1a1a1a 1px solid; */
}
.buy-hover-btns > a.buy-hover-btns-back::after{
    border-color: #fff;
}
@media (max-width: 600px) {
    .buy-hover{
        flex-direction: column;
    }
    .buy-hover > a{
        margin: 20px auto 0;
    }
    .buy-hover > span{
        font-size: .85rem;
    }
}