/* Base Styles */
:root {
    --primary-color: #7D5A50;
    --primary-light: #B4846C;
    --secondary-color: #E5B299;
    --accent-color: #FDF6F0;
    --text-color: #333333;
    --text-light: #777777;
    --background-color: #FFFFFF;
    --background-alt: #F9F5F2;
    --border-color: #E0D5CF;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-main: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Noto Serif JP', Georgia, serif;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-color: #A87E6B;
    --primary-light: #C9A695;
    --secondary-color: #815F50;
    --accent-color: #3D3333;
    --text-color: #F0E6E0;
    --text-light: #BEB5B0;
    --background-color: #2A2325;
    --background-alt: #362D2F;
    --border-color: #4A4142;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: var(--transition);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn, .btn-small {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn:hover, .btn-small:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Header Styles */
header {
    background-color: var(--background-color);
    padding: 15px 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

/* Theme Toggle */
#theme-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--background-alt);
    transition: var(--transition);
}

#theme-toggle:hover {
    background-color: var(--border-color);
    transform: rotate(15deg);
}

#theme-toggle .sun-icon {
    display: none;
}

#theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] #theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] #theme-toggle .moon-icon {
    display: none;
}

/* Hero Section */
.hero {
    background-color: var(--accent-color);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: blur(3px);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.page-header {
    background-color: var(--accent-color);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Content Sections */
main {
    padding: 60px 0;
    background-color: var(--background-color);
    transition: var(--transition);
}

.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.intro-text h2 {
    margin-bottom: 20px;
}

.intro-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.featured-posts {
    margin-bottom: 60px;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 30px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.post-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.post-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

.post-card .btn-small {
    margin: 0 20px 20px;
}

/* Checklist Section */
.massage-checklist {
    background-color: var(--background-alt);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-bottom: 60px;
    box-shadow: var(--box-shadow);
}

.massage-checklist h2 {
    text-align: center;
    margin-bottom: 30px;
}

.checklist-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.checklist-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checklist-item input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checklist-item label {
    cursor: pointer;
    flex: 1;
}

/* Blog Posts Styles */
.blog-posts {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.post-content h2 {
    margin-bottom: 10px;
}

.post-meta {
    display: flex;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* About Page Styles */
.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.team-section, .values-section {
    margin-bottom: 60px;
}

.team-section h2, .values-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.team-member h3 {
    padding: 20px 20px 5px;
    margin-bottom: 5px;
}

.team-member p:first-of-type {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.team-member p:last-of-type {
    padding: 0 20px 20px;
    color: var(--text-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(125, 90, 80, 0.1);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info {
    background-color: var(--background-alt);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    margin-right: 15px;
    background-color: rgba(125, 90, 80, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    color: var(--primary-color);
}

.info-text h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-text p {
    color: var(--text-light);
    margin-bottom: 0;
}

.social-connect {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--background-alt);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(125, 90, 80, 0.1);
}

.form-check {
    display: flex;
    align-items: flex-start;
}

.form-check input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-check label {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-light);
}

.map-section {
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Modal Styles */
.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--box-shadow);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon svg {
    color: var(--success-color);
}

.modal-content h2 {
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.close-btn {
    background-color: var(--primary-color);
}

/* Footer Styles */
footer {
    background-color: var(--accent-color);
    padding: 60px 0 20px;
    color: var(--text-color);
    position: relative;
    transition: var(--transition);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-logo h3 {
    margin-bottom: 10px;
}

.footer-links h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

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

.footer-links ul li a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 15px 0;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 10px 20px 10px 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.btn-cookie {
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-cookie.accept {
    background-color: var(--success-color);
    color: white;
}

.btn-cookie.customize {
    background-color: var(--background-alt);
    color: var(--text-color);
}

.btn-cookie.reject {
    background-color: var(--text-light);
    color: white;
}

.btn-cookie:hover {
    opacity: 0.9;
}

.cookie-more {
    display: block;
    font-size: 0.8rem;
    margin-top: 5px;
    color: var(--text-light);
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    .intro, .contact-section {
        grid-template-columns: 1fr;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-image img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 10px;
    }
    
    nav {
        margin-top: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .team-grid, .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .cookie-more {
        margin-top: 10px;
    }
}
