@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Noto+Serif+JP:wght@400;600;700&display=swap');

:root {
    --color-winered: #722F37;
    --color-beige: #F5E6D3;
    --color-gold: #C9A96E;
    --color-drkbrown: #3E2723;
    --color-white: #FFFFFF;
    
    --font-jp: 'Noto Serif JP', serif;
    --font-en: 'Cormorant Garamond', serif;
}

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

body {
    font-family: var(--font-jp);
    color: var(--color-drkbrown);
    background-color: var(--color-beige);
    line-height: 1.8;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.en {
    font-family: var(--font-en);
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-winered);
    margin-bottom: 0.5rem;
    font-family: var(--font-en);
}

.section-title p {
    font-size: 1rem;
    color: #666;
    letter-spacing: 0.1em;
}

/* Header Focus */
header {
    background-color: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    text-align: center;
}

.logo a {
    font-family: var(--font-en);
    font-size: 2.5rem;
    color: var(--color-winered);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.logo p {
    font-size: 0.8rem;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    padding-bottom: 1rem;
}

nav a {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--color-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

nav a:hover,
nav a.active {
    color: var(--color-winered);
}

main {
    margin-top: 140px; /* Header space */
    min-height: calc(100vh - 140px - 200px);
}

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

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    text-align: center;
}

.hero-content h1 {
    font-family: var(--font-en);
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* Sections Common */
section {
    padding: 6rem 5%;
}

.bg-white {
    background-color: var(--color-white);
}

.bg-beige {
    background-color: var(--color-beige);
}

/* Chef Section */
.chef-story {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.chef-img {
    flex: 1;
}

.chef-img img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.chef-text {
    flex: 1;
}

.chef-text h3 {
    font-size: 1.8rem;
    color: var(--color-winered);
    margin-bottom: 1.5rem;
}

/* Seasonal Recommendations */
.seasonal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.item-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.item-card:hover {
    transform: translateY(-10px);
}

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

.item-info {
    padding: 1.5rem;
    text-align: center;
}

.item-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-winered);
}

/* Course Preview */
.course-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--color-white);
    border: 1px solid var(--color-gold);
    border-radius: 5px;
}

.course-item h3 {
    font-size: 1.5rem;
    color: var(--color-drkbrown);
}

.course-item .price {
    font-family: var(--font-en);
    font-size: 1.5rem;
    color: var(--color-winered);
    font-weight: 600;
}

/* Fixed Reserve Button */
.btn-reserve-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-winered);
    color: var(--color-white);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(114, 47, 55, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-reserve-fixed:hover {
    background-color: #5a252c;
    color: var(--color-gold);
    transform: translateY(-3px);
}

/* Voices */
.voices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.voice-card {
    background: var(--color-beige);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.voice-card::before {
    content: '“';
    font-family: var(--font-en);
    font-size: 5rem;
    color: var(--color-gold);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 10px;
}

/* Instagram */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.insta-item img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--color-drkbrown);
    color: var(--color-white);
    padding: 4rem 5% 2rem;
    text-align: center;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.copy {
    font-size: 0.8rem;
    color: #aaa;
}

/* Pages Header */
.page-header {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-header img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 0;
}

.page-header h1 {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    font-family: var(--font-en);
    font-size: 3.5rem;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}

/* Menu Page */
.menu-category {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.menu-category h3 {
    font-size: 1.8rem;
    color: var(--color-winered);
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.menu-category h3 span {
    font-size: 1.2rem;
    color: var(--color-drkbrown);
    font-family: var(--font-jp);
    font-weight: normal;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 0.5rem;
    align-items: flex-end;
}

.menu-item .name {
    font-size: 1.1rem;
    font-weight: 600;
}

.menu-item .price {
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-winered);
}

.courses-section {
    max-width: 1000px;
    margin: 0 auto;
}

.course-box {
    background: var(--color-white);
    padding: 3rem;
    border: 1px solid var(--color-gold);
    margin-bottom: 2rem;
    text-align: center;
}

.course-box h4 {
    font-size: 2rem;
    color: var(--color-winered);
    margin-bottom: 0.5rem;
}

.course-box .course-price {
    font-family: var(--font-en);
    font-size: 1.8rem;
    color: var(--color-drkbrown);
    margin-bottom: 2rem;
}

.course-content {
    font-size: 1.1rem;
    line-height: 2;
}

/* Wine Page */
.sommelier {
    display: flex;
    gap: 3rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.sommelier img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--color-beige);
}

.sommelier-text h3 {
    color: var(--color-winered);
    margin-bottom: 1rem;
}

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

.pairing-card {
    text-align: center;
    background: var(--color-white);
    padding: 3rem 2rem;
    border: 1px solid var(--color-gold);
    border-radius: 8px;
}

.pairing-card h4 {
    color: var(--color-winered);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.pairing-card p {
    color: var(--color-drkbrown);
}

.pairing-card hr {
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px dashed var(--color-gold);
}

/* Reserve Page */
.reserve-wrapper {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reserve-info {
    flex: 1;
}

.reserve-info h3 {
    color: var(--color-winered);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.info-box {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.info-box h4 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-beige);
    padding-bottom: 0.5rem;
}

.reserve-form-container {
    flex: 1.5;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group label span {
    color: red;
    font-size: 0.8rem;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-jp);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

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

.btn-submit {
    display: block;
    width: 100%;
    background: var(--color-winered);
    color: var(--color-white);
    border: none;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition);
    margin-top: 2rem;
}

.btn-submit:hover {
    background: #5a252c;
    color: var(--color-gold);
}

.error-msg {
    color: red;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error select {
    border-color: red;
    background: #fffafa;
}
.form-group.error .error-msg {
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .reserve-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .chef-story, .sommelier {
        flex-direction: column;
    }
    .seasonal-grid, .voices-grid, .pairing-grid {
        grid-template-columns: 1fr;
    }
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .course-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .courses-section .course-box {
        padding: 2rem 1rem;
    }
}
