@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=EB+Garamond:wght@400;500&family=Yuji+Syuku&display=swap');

:root {
    --mebuki-forest: #39472F;
    --mebuki-brown: #5A3D28; /* Darkened from #6B4933 for better contrast on cream */
    --mebuki-cream: #F3ECDD;
    --mebuki-gold: #B58D52; /* Darkened from #C7A064 for better visibility */
    --mebuki-kraft: #C7A27B;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-japanese: 'Yuji Syuku', serif;
    --font-body: 'EB Garamond', serif;
}

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--mebuki-forest);
    color: var(--mebuki-cream);
    padding: 1rem;
    z-index: 100;
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 3px solid var(--mebuki-gold);
    outline-offset: 3px;
}
    background-color: var(--mebuki-cream);
    color: var(--mebuki-forest);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}


h1, h2, h3, .font-serif {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

.uppercase-tracking {
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.nav-logo .jp {
    font-family: var(--font-japanese);
    font-size: 1.5rem;
    line-height: 1;
}

.nav-logo .en {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--mebuki-brown);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--mebuki-forest);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--mebuki-brown);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--mebuki-forest);
    color: var(--mebuki-cream);
}

.btn-primary:hover {
    background-color: var(--mebuki-brown);
}

.btn-outline {
    border: 1px solid var(--mebuki-forest);
    color: var(--mebuki-forest);
}

.btn-outline:hover {
    background-color: var(--mebuki-forest);
    color: var(--mebuki-cream);
}

/* Story Section */
.story {
    background-color: var(--mebuki-cream);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.story-content .jp-desc {
    font-family: var(--font-japanese);
    font-size: 2rem;
    color: var(--mebuki-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.story-content p {
    margin-bottom: 1.5rem;
    color: var(--mebuki-brown);
}

.story-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.floating-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.floating-image:hover {
    transform: translateY(-20px);
}

/* Removed .story-visual .bg-text and .story-visual .inner-circle styles */


/* Shop Section */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    aspect-ratio: 3/4;
    background-color: rgba(199, 162, 123, 0.1);
    border: 1px solid rgba(199, 160, 100, 0.2);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--mebuki-forest);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 0.05;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--mebuki-brown);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(57, 71, 47, 0.3);
    background-color: transparent;
    font-family: var(--font-body);
    color: var(--mebuki-forest);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--mebuki-forest);
}

/* Footer */
.footer {
    background-color: var(--mebuki-forest);
    color: var(--mebuki-cream);
    padding: 4rem 0;
    text-align: center;
}

.footer .jp {
    font-family: var(--font-japanese);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.footer .en {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--mebuki-cream);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--mebuki-gold);
}

.footer-copy {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.4;
}

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

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(57, 71, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--mebuki-cream);
    padding: 3rem;
    border: 1px solid var(--mebuki-gold);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.5s ease;
}

.modal-overlay.visible .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-family: var(--font-heading);
    cursor: pointer;
    color: var(--mebuki-forest);
    font-size: 1.2rem;
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--mebuki-brown);
    margin-bottom: 2rem;
}

.modal-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.modal-form input {
    padding: 0.8rem;
    border: 1px solid rgba(57, 71, 47, 0.3);
    background: transparent;
    font-family: var(--font-body);
    width: 60%;
}

@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .nav-links {
        display: none;
    }
    .modal-form {
        flex-direction: column;
    }
    .modal-form input {
        width: 100%;
        margin-bottom: 1rem;
    }
}

