/* Root variables - Serene Zen Theme */
:root {
    --bg-primary: #FAF8F5;
    --bg-secondary: #EFECE6;
    --text-main: #232F27;
    --text-muted: #536257;
    --accent-gold: #C5A880;
    --accent-olive: #687968;
    --accent-white: #FFFFFF;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --max-width: 1100px;
}

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1,
h2,
h3,
h4,
.brand-logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header styles */
.navbar {
    background-color: rgba(250, 248, 245, 0.95);
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-group svg {
    width: 40px;
    height: 40px;
}

.brand-title {
    font-size: 1.3rem;
    color: var(--text-main);
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.7rem;
    color: var(--accent-olive);
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-btn {
    background-color: var(--accent-olive);
    color: var(--accent-white) !important;
    padding: 10px 24px !important;
    border-radius: 4px;
}

.nav-btn:hover {
    background-color: var(--text-main);
}

/* Hero section */
.hero {
    position: relative;
    padding: 100px 0 140px 0;
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    text-align: justify;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-olive);
    color: var(--accent-white);
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(104, 121, 104, 0.2);
}

.btn-primary:hover {
    background-color: var(--text-main);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-main);
    padding: 15px 35px;
    border-radius: 4px;
    border: 1px solid var(--text-main);
    margin-left: 16px;
}

.btn-secondary:hover {
    background-color: rgba(35, 47, 39, 0.05);
}

/* Section styling */
.section {
    padding: 100px 0;
}

.section-alt {
    background-color: var(--bg-secondary);
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid layout */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

/* Cards */
.card-zen {
    background-color: var(--accent-white);
    border-radius: 6px;
    padding: 40px;
    border: 1px solid rgba(197, 168, 128, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.card-zen:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(197, 168, 128, 0.1);
}

.card-zen h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--text-main);
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
    padding-bottom: 12px;
}

.card-zen p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: justify;
}

/* Step list */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.step-item {
    display: flex;
    gap: 24px;
}

.step-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-gold);
    line-height: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ style */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--accent-white);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: 4px;
    padding: 24px;
}

.faq-q {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: var(--accent-olive);
}

.faq-a {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-left: 28px;
    text-align: justify;
}

/* Studio profile */
.studio-profile {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table th,
.profile-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.profile-table th {
    font-family: var(--font-serif);
    color: var(--accent-olive);
    width: 30%;
    font-weight: 700;
}

.profile-table td {
    color: var(--text-main);
}

.map-container {
    height: 350px;
    border-radius: 6px;
    border: 1px solid rgba(197, 168, 128, 0.3);
    overflow: hidden;
}

/* Form Styling */
.contact-form {
    background-color: var(--bg-primary);
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 6px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--accent-white);
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 4px;
    font-family: var(--font-sans);
    color: var(--text-main);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-olive);
}

/* Footer style */
.footer {
    background-color: var(--text-main);
    color: var(--bg-primary);
    padding: 80px 0 40px 0;
    border-top: 2px solid var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.15rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.footer-col p {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.65);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.65);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(250, 248, 245, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(250, 248, 245, 0.5);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background-color: var(--text-main);
    color: var(--bg-primary);
    border: 1px solid var(--accent-gold);
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    z-index: 1000;
    display: none;
}

.cookie-banner-title {
    font-family: var(--font-serif);
    color: var(--accent-gold);
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.cookie-banner-desc {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: rgba(250, 248, 245, 0.85);
}

.cookie-banner-btns {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cookie-btn {
    background-color: var(--accent-gold);
    color: var(--text-main);
    border: none;
    padding: 8px 16px;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.cookie-btn-ghost {
    background-color: transparent;
    color: var(--bg-primary);
    border: 1px solid rgba(250, 248, 245, 0.3);
    padding: 7px 15px;
    border-radius: 2px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* Responsive grid changes */
@media(max-width: 768px) {

    .hero-grid,
    .grid-3,
    .grid-2,
    .studio-profile,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 16px 24px;
        gap: 16px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
}