:root {
    /* Mountain & Sea Ink Wash Theme Colors */
    --bg-dark: #fbf9f4; /* Light parchment/rice paper */
    --text-light: #2c2c2c; /* Deep ink black */
    --primary-color: #c93a2c; /* Cinnabar red */
    --primary-hover: #e04a3c;
    --accent-color: #508a73; /* Jade green */
    --border-color: #d1c7b8;
    
    --logo-gradient: linear-gradient(135deg, var(--primary-color), var(--text-light));
    
    --font-heading: 'Noto Serif TC', 'Noto Serif JP', serif;
    --font-body: 'Noto Serif JP', 'Noto Serif TC', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle parchment texture if needed */
}

/* Animations */
.lang-text {
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.lang-fade-out {
    opacity: 0;
    filter: blur(2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px; /* Fixed height for calculations */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(251, 249, 244, 1) 0%, rgba(251, 249, 244, 0) 100%);
    z-index: 1000; /* Higher than dropdown */
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px; /* Adjusted to fit the 80px navbar */
    width: auto;
    object-fit: contain;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

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

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Above mobile menu overlay */
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg); background: var(--primary-color); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg); background: var(--primary-color); }

.lang-switcher button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: color 0.3s;
    font-weight: bold;
}

.lang-switcher button:hover, .lang-switcher button.active {
    color: var(--primary-color);
}

.divider-txt {
    color: #999;
    margin: 0 0.2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* Soft overlay on the ink wash bg */
    background: linear-gradient(rgba(251, 249, 244, 0.4), rgba(251, 249, 244, 0.8)), url('images/hero_bg.png') no-repeat center center/cover;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.1);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4a4a4a;
    letter-spacing: 2px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--accent-color);
}

.arrow-down {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
    margin-top: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1rem;
}

.divider {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 3rem auto;
}

/* About Section */
.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 2;
}

/* Maids Carousel Section */
.maids-section {
    background-color: #f2eee6; /* Slightly darker parchment */
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1000px;
    height: 450px;
    width: 100%;
    margin-top: 2rem;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    width: 320px;
    height: 400px; /* 4:5 ratio */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    background: #fff;
}

.carousel-item img.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.frame-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('images/frame.png') no-repeat center center/100% 100%;
    mix-blend-mode: multiply; /* Perfect for black ink on white background */
    pointer-events: none;
    opacity: 0.9;
}

/* Carousel States */
.carousel-item.active {
    transform: translateX(0) scale(1.1) translateZ(0);
    opacity: 1;
    z-index: 10;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(201, 58, 44, 0.2);
}

.carousel-item.prev {
    transform: translateX(-65%) scale(0.8) translateZ(-100px);
    opacity: 0.6;
    z-index: 5;
    filter: sepia(30%) grayscale(20%);
}

.carousel-item.next {
    transform: translateX(65%) scale(0.8) translateZ(-100px);
    opacity: 0.6;
    z-index: 5;
    filter: sepia(30%) grayscale(20%);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-size: 4rem;
    cursor: pointer;
    z-index: 20;
    transition: color 0.3s, transform 0.2s;
}

.carousel-btn:hover {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.2);
}

.prev-btn { left: 8%; }
.next-btn { right: 8%; }

.maid-info-display {
    text-align: center;
    margin-top: 3rem;
    transition: opacity 0.3s ease;
}

.maid-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.maid-desc {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ig-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--text-light);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
    letter-spacing: 1px;
}

.ig-link:hover {
    transform: scale(1.05);
    background: var(--primary-color);
}

/* Menu Section */
.menu-section {
    background-color: var(--bg-dark);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.menu-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.menu-item h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.menu-item p.desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.menu-item .price {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
}

/* Info Section */
.info-section {
    background: linear-gradient(rgba(242, 238, 230, 0.95), rgba(242, 238, 230, 0.95)), url('images/hero_bg.png') no-repeat center bottom/cover;
    border-top: 1px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.info-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
}

.info-card h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--text-light);
    color: var(--bg-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-right {
        position: absolute;
        top: 0; 
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(251, 249, 244, 0.95);
        backdrop-filter: blur(10px);
        padding: calc(80px + 2rem) 0 2rem 0; /* 80px (navbar height) + 2rem padding */
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        z-index: -1; /* Goes behind the parent .navbar background */
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

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

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .nav-links a {
        margin-left: 0;
    }

    .lang-switcher {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-color);
        width: 80%;
        text-align: center;
    }

    .hero-title { font-size: 2.5rem; }
    
    .carousel-item.prev { transform: translateX(-50%) scale(0.7); }
    .carousel-item.next { transform: translateX(50%) scale(0.7); }
    
    .prev-btn { left: 0; }
    .next-btn { right: 0; }
}
