/* ===== CSS Variables ===== */
:root {
    --color-bg: #fafbf8;
    --color-bg-alt: #f0f4ef;
    --color-primary: #2d5a4a;
    --color-primary-light: #4a7c6a;
    --color-accent: #7ba88f;
    --color-text: #2c3e2e;
    --color-text-muted: #5a6b5c;
    --color-border: #e2e8e4;
    --font-serif: 'Cormorant Garamond', 'Noto Serif SC', serif;
    --font-sans: 'Outfit', 'Noto Sans SC', sans-serif;
    --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 251, 248, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.lang-switch {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition);
}

.lang-switch:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(250,251,248,0.92) 0%, rgba(240,244,239,0.85) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-primary-light);
    margin-bottom: 0.5rem;
    letter-spacing: 0.15em;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    background: var(--color-primary);
    color: white !important;
    padding: 0.9rem 2rem;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background var(--transition);
}

.btn-primary:hover {
    background: var(--color-primary-light);
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 1;
}

.hero-shape {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 168, 143, 0.2) 0%, rgba(45, 90, 74, 0.06) 50%, rgba(123, 168, 143, 0.1) 100%);
    border-radius: 50%;
    animation: hero-pulse 8s ease-in-out infinite;
}

.hero-shape::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(123, 168, 143, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

@keyframes hero-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

/* ===== Gallery Strip ===== */
.gallery-strip {
    overflow: hidden;
    padding: 2.5rem 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.gallery-strip-inner {
    display: flex;
    gap: 1rem;
    animation: gallery-scroll 30s linear infinite;
}

.gallery-item {
    flex-shrink: 0;
    width: 280px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: opacity var(--transition);
    position: relative;
    color: inherit;
}

.gallery-item-img-wrap {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-label {
    display: block;
    padding: 0.85rem 0.5rem 0;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    letter-spacing: 0.06em;
}

.gallery-item-img-wrap {
    position: relative;
}

.gallery-item-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(45, 90, 74, 0.04) 100%);
    pointer-events: none;
}

.gallery-item:hover {
    opacity: 0.9;
}

.gallery-item img {
    filter: saturate(0.85) contrast(0.98) brightness(1.02);
    transition: filter var(--transition);
}

.gallery-item:hover img {
    filter: saturate(1) contrast(1) brightness(1);
}

@keyframes gallery-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Intro Section ===== */
.intro {
    padding: 6rem 2rem;
    background: var(--color-bg-alt);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.intro-card {
    background: white;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.intro-card-img {
    height: 180px;
    overflow: hidden;
}

.intro-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.intro-card:hover .intro-card-img img {
    transform: scale(1.05);
}

.intro-card .intro-icon,
.intro-card h3,
.intro-card p {
    padding: 0 1.5rem;
}

.intro-card .intro-icon {
    padding-top: 1.5rem;
}

.intro-card p {
    padding-bottom: 1.5rem;
}

.intro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(45, 90, 74, 0.08);
}

.intro-icon {
    display: block;
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.intro-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.intro-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.cta-section .cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.cta-desc {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all var(--transition);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

/* ===== Footer ===== */
.footer {
    padding: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ===== Page: About ===== */
.page-header {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.page-header-img {
    position: relative;
    background: var(--color-bg-alt);
}

.page-header-bg {
    position: absolute;
    inset: 0;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.page-header-img .page-title,
.page-header-img .page-subtitle {
    position: relative;
    z-index: 1;
}

.about-visual {
    padding: 0 2rem 3rem;
}

.about-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-visual-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-visual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-visual-wide {
    grid-column: span 2;
    aspect-ratio: 21/9;
}

.page-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 2.5rem 0 1rem;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* ===== Page: Business ===== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.business-card {
    background: white;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all var(--transition);
}

.business-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.business-card-link:hover {
    border-color: var(--color-accent);
    box-shadow: 0 12px 40px rgba(45, 90, 74, 0.1);
    transform: translateY(-4px);
}

.business-card-img {
    height: 160px;
    overflow: hidden;
}

.business-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-card-link:hover .business-card-img img {
    transform: scale(1.08);
}

.business-card .business-icon,
.business-card h3,
.business-card p,
.business-card .business-arrow {
    padding: 0 1.5rem;
}

.business-card .business-icon {
    padding-top: 1.5rem;
}

.business-card .business-arrow {
    display: block;
    padding-bottom: 1.5rem;
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.business-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.business-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.business-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* ===== Page: Contact ===== */
.contact-section {
    padding: 4rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-info {
    background: var(--color-bg-alt);
    padding: 2.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.contact-item span {
    font-size: 1rem;
    color: var(--color-text);
}

.contact-emails {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-emails a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1rem;
}

.contact-emails a:hover {
    text-decoration: underline;
}

.contact-addresses {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

/* ===== Brand Detail Pages ===== */
.brand-page-header {
    padding: 8rem 2rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.brand-back {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.brand-back:hover {
    text-decoration: underline;
}

.brand-grid-section {
    padding: 4rem 2rem;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-grid-4 {
    max-width: 900px;
}

.brand-item {
    text-align: center;
    transition: transform var(--transition);
}

.brand-item:hover {
    transform: translateY(-4px);
}

.brand-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* ===== Mobile Menu ===== */
.menu-toggle {
    display: none;
    order: 1;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-primary);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0,0,0,0.06);
        transition: right var(--transition);
        z-index: 99;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.2);
        z-index: 98;
    }

    .nav-overlay.active {
        display: block;
    }

    .nav-links li {
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links a {
        font-size: 1rem;
    }

    .hero-visual {
        display: none;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .about-visual-grid {
        grid-template-columns: 1fr;
    }

    .about-visual-wide {
        grid-column: span 1;
    }

    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .brand-logo {
        width: 140px;
        height: 140px;
    }
}
