:root {
    --bg-color: #F5F0E8;
    --text-color: #2C2C2C;
    --accent-color: #D4A574;
    --dark-bg: #1A1A1A;
    --light-text: #F5F0E8;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; }
h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('img/hero-bg.jpg') center/cover no-repeat;
    color: var(--light-text);
}
.hero-content { z-index: 2; padding: 20px; }
.subtitle { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--light-text);
    color: var(--light-text);
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.cta-button:hover { background: var(--light-text); color: var(--dark-bg); }

/* Sections */
.section { padding: 100px 0; }
.section-title { position: relative; display: inline-block; left: 50%; transform: translateX(-50%); }
.section-title::after {
    content: ''; display: block; width: 60px; height: 1px;
    background: var(--accent-color); margin: 20px auto 0;
}

/* About */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { width: 100%; border-radius: 4px; filter: sepia(20%); }

/* Practices */
.practices { background: #EFEAE0; }
.practices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.practice-card {
    background: var(--bg-color); padding: 40px 20px; text-align: center;
    transition: transform 0.3s; border: 1px solid transparent;
}
.practice-card:hover { transform: translateY(-10px); border-color: var(--accent-color); }
.card-icon { font-size: 2rem; color: var(--accent-color); margin-bottom: 20px; }

/* Philosophy */
.philosophy { background: var(--bg-color); }
.philosophy-block {
    max-width: 800px; margin: 0 auto 60px; padding: 40px;
    background: white; border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.philosophy-block h3 {
    font-size: 1.8rem; color: var(--accent-color);
    margin-bottom: 20px; text-align: center;
}
.philosophy-block p { font-size: 1.05rem; line-height: 1.8; text-align: justify; }
.philosophy-quote { max-width: 800px; margin: 60px auto 0; }
.philosophy blockquote {
    font-family: var(--font-heading); font-size: 1.8rem; font-style: italic;
    margin: 40px 0; padding: 40px;
    border-left: 3px solid var(--accent-color);
    background: #EFEAE0; text-align: center;
}
.philosophy blockquote cite {
    display: block; margin-top: 20px;
    font-size: 1rem; font-style: normal; color: var(--accent-color);
}

/* Gallery */
.gallery { 
    background: linear-gradient(to bottom, var(--bg-color), #EFEAE0);
    padding: 120px 0;
}
.gallery-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: -2rem;
    margin-bottom: 4rem;
    font-style: italic;
}
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    overflow: hidden;
}
.carousel-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
    min-width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
}
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--light-text);
    padding: 60px 40px 30px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 300;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}
.carousel-slide.active .slide-caption {
    transform: translateY(0);
    opacity: 1;
}
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    color: var(--text-color);
}
.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D4C5B0;
    cursor: pointer;
    transition: all 0.3s;
}
.dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}
.dot:hover { background: var(--accent-color); }
.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}
.thumbnail {
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
}
.thumbnail:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}
.thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
    transform: scale(1.05);
}
.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Values */
.values { background: white; }
.values-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px;
}
.value-item {
    text-align: center; padding: 30px 20px;
    border: 1px solid #E8E0D5; border-radius: 4px; transition: 0.3s;
}
.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.value-item h4 { font-size: 1.4rem; color: var(--accent-color); margin-bottom: 15px; }
.value-item p { font-size: 0.95rem; line-height: 1.6; }

/* Schedule */
.schedule-item {
    display: flex; justify-content: space-between; padding: 20px 0;
    border-bottom: 1px solid #D4C5B0;
}
.schedule-day { font-weight: 600; }
.schedule-practice { color: var(--accent-color); }
.schedule-note {
    text-align: center; margin-top: 40px;
    font-style: italic; color: var(--accent-color);
}

/* Contact */
.contact { background: var(--dark-bg); color: var(--light-text); }
.contact-content { text-align: center; }
.contact-item { margin: 10px 0; }
.contact .cta-button { border-color: var(--accent-color); color: var(--accent-color); }
.contact .cta-button:hover { background: var(--accent-color); color: var(--dark-bg); }
.contact-logo {
    max-width: 250px; display: block;
    margin: 0 auto 40px; background: var(--bg-color);
    padding: 10px; border-radius: 4px;
}

/* Footer */
.footer { text-align: center; padding: 40px; font-size: 0.8rem; opacity: 0.6; }

/* Animations */
.fade-in { animation: fadeIn 1s ease forwards; opacity: 0; transform: translateY(20px); }
.fade-in-delay { animation: fadeIn 1s ease 0.3s forwards; opacity: 0; transform: translateY(20px); }
.fade-in-delay-2 { animation: fadeIn 1s ease 0.6s forwards; opacity: 0; transform: translateY(20px); }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s all ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); }
.scroll-indicator span {
    display: block; width: 20px; height: 30px;
    border: 1px solid var(--light-text); border-radius: 15px; position: relative;
}
.scroll-indicator span::before {
    content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 4px; background: var(--light-text); border-radius: 50%;
    animation: scroll 1.5s infinite;
}
@keyframes scroll { 0% { top: 5px; opacity: 1; } 100% { top: 20px; opacity: 0; } }

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .about-content { grid-template-columns: 1fr; }
    .philosophy-block { padding: 25px; margin-bottom: 30px; }
    .philosophy-block h3 { font-size: 1.4rem; }
    .philosophy-block p { font-size: 0.95rem; text-align: left; }
    .philosophy blockquote { font-size: 1.2rem; padding: 20px; }
    .carousel-slide img { height: 350px; }
    .slide-caption { font-size: 1.2rem; padding: 40px 25px 20px; }
    .carousel-nav { width: 40px; height: 40px; }
    .carousel-nav.prev { left: 10px; }
    .carousel-nav.next { right: 10px; }
    .thumbnail { width: 80px; height: 60px; }
    .gallery { padding: 80px 0; }
    .schedule-item { flex-direction: column; gap: 5px; }
}
