:root {
    --text-light: #F2F0E9; 
    --text-dark: #2C332C;  
    --text-muted: #7A857A; 
    --bg-stone: #F5F4F0;   
    --bg-forest: #1A221A;  
    --emerald: #102A1C; 
    --text-dark-green: #1A3322;
    --sage: #8A9A5B;
    --gold: #C5A059;       
    --glass-nav: rgba(255, 255, 255, 0.95); 
    --font-body: 'Manrope', sans-serif;
    --font-head: 'Zen Old Mincho', serif;
}

html { 
    scroll-behavior: smooth; 
}

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

body {
    background-color: var(--bg-stone);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}

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

img, video {
    max-width: 100%;
    height: auto;
}

/* --- NAVIGATION --- */
.nav-wrapper { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    padding: 20px 80px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 1000; 
    transition: transform 0.4s ease, background 0.4s ease, padding 0.4s ease; 
}

.nav-wrapper.nav-scrolled { 
    background: var(--glass-nav); 
    backdrop-filter: blur(10px); 
    padding: 15px 80px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
}

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

.logo img { 
    height: 50px; 
    width: auto; 
}

.logo-text { 
    font-family: var(--font-head); 
    font-weight: 700; 
    letter-spacing: 2px; 
    color: #fff; 
    text-transform: uppercase; 
    font-size: 1.1rem; 
    transition: color 0.3s; 
}

.nav-scrolled .logo-text { 
    color: var(--text-dark); 
}

.nav-links { 
    display: flex; 
    gap: 40px; 
    list-style: none; 
}

.nav-link { 
    color: rgba(255,255,255,0.9); 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: 500; 
}

.nav-scrolled .nav-link { 
    color: var(--text-dark); 
}

.nav-link:hover { 
    color: var(--gold); 
}

/* --- HERO --- */
.hero { 
    height: 100vh; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    position: relative; 
    color: var(--text-light); 
}

.hero-bg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-image: url('../assets/hero-mountain-kneeling.jpg'); 
    background-size: cover; 
    background-position: center; 
    z-index: -1; 
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(180deg, rgba(16,42,28,0.6) 0%, rgba(16,42,28,0.9) 100%); 
    z-index: 0; 
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    padding: 0 20px; 
}

.hero-badge { 
    display: inline-flex; 
    align-items: center; 
    padding: 8px 24px; 
    border-radius: 50px; 
    background: rgba(255, 255, 255, 0.08); 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.15); 
    margin-bottom: 40px; 
    font-size: 0.75rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    font-weight: 600; 
}

.hero-title { 
    font-family: var(--font-head); 
    font-size: clamp(2.5rem, 8vw, 6rem); 
    line-height: 1.1; 
    font-weight: 400; 
    margin-bottom: 30px; 
}

.hero-title span { 
    font-style: italic; 
    color: var(--gold); 
}

.hero-sub { 
    font-size: clamp(1rem, 3vw, 1.2rem); 
    max-width: 700px; 
    margin: 0 auto 40px; 
    opacity: 0.85; 
    line-height: 1.7; 
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background: var(--emerald);
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    border-radius: 2px;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--emerald);
    border-color: var(--gold);
}

/* --- SECTIONS --- */
.content-section { 
    padding: 120px 5%; 
}

.bg-white { background-color: #fff; }
.bg-stone { background-color: var(--bg-stone); }
.bg-forest { background-color: var(--bg-forest); }
.bg-emerald { background-color: var(--emerald); color: var(--text-light); }
.text-dark-green { color: var(--text-dark-green) !important; }
.text-light { color: var(--text-light) !important; }

.section-header { 
    text-align: center; 
    margin-bottom: 70px; 
}

.section-title { 
    font-family: var(--font-head); 
    font-size: clamp(2rem, 5vw, 2.8rem); 
    color: inherit; 
    margin-bottom: 20px; 
    font-weight: 400; 
}

.section-subtitle {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
}

.zen-line { 
    width: 50px; 
    height: 1px; 
    background: var(--gold); 
    margin: 0 auto; 
    opacity: 0.6; 
}

.zen-line-short {
    width: 30px; 
    height: 1px; 
    background: var(--gold); 
    margin: 15px auto; 
}

/* --- PHILOSOPHY & PATHWAYS --- */
.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: var(--text-dark-green);
}

.philosophy-content p {
    margin-bottom: 25px;
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.pathway-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 4px;
}

.pathway-card h4 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    color: var(--emerald);
}

.pathway-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- THE JOURNEY --- */
.about-container { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 80px; 
    max-width: 1100px; 
    margin: 0 auto; 
}

.about-image { 
    width: 45%; 
    height: 650px; 
    object-fit: cover; 
    border-radius: 200px 200px 0 0; 
    filter: sepia(0.1) contrast(1.1); 
}

.about-text { 
    width: 55%; 
}

.about-text h3 { 
    font-family: var(--font-head); 
    font-size: clamp(1.8rem, 4vw, 2.2rem); 
    margin-bottom: 40px; 
    font-weight: 400; 
}

.bio-subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-dark-green);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* --- SERVICES MENU --- */
.menu-clean-container {
    max-width: 900px;
    margin: 0 auto;
}

.menu-category {
    margin-bottom: 80px;
}

.category-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 4vw, 2rem);
    color: var(--emerald);
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 15px;
}

.category-focus {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 5px;
    font-weight: 400;
    font-family: var(--font-body);
}

.category-description {
    text-align: center;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.8;
    color: var(--text-dark-green);
    margin-bottom: 50px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.category-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: -30px;
    margin-bottom: 40px;
    font-style: italic;
}

.menu-row {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.menu-row-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    gap: 15px;
}

.menu-row-header h4 {
    font-family: var(--font-head);
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-dark-green);
    font-weight: 600;
}

.menu-price {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--gold);
    font-size: 1.1rem;
    white-space: nowrap;
}

.menu-row p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 90%;
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* --- WARRIOR FLAME (NEW & FIXED) --- */
.flame-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.flame-header {
    text-align: center;
    margin-bottom: 50px;
}

.flame-header h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 400;
}

.flame-header p {
    color: rgba(255,255,255,0.8);
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-top: 20px;
}

.flame-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(197, 160, 89, 0.3); /* Gold border */
    border-radius: 4px;
    padding: 60px;
    text-align: center;
}

.flame-content h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.flame-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.flame-offerings {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 40px;
}

.flame-offering-item h4 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--sage);
    margin-bottom: 10px;
}

.flame-offering-item p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 5px;
}

.flame-quote {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 40px;
}

.flame-disclaimer {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 40px;
    line-height: 1.5;
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-gold-outline:hover {
    background: var(--gold);
    color: var(--emerald);
}

/* --- TEMPLE RULES --- */
.rules-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

.rules-block {
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.05);
}

.rules-heading {
    font-family: var(--font-head);
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    color: var(--emerald);
    margin-bottom: 25px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 10px;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.rules-list li strong {
    color: var(--text-dark-green);
    display: block;
    margin-bottom: 5px;
}

/* --- FAQ --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-stone);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-family: var(--font-head);
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-dark-green);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #fff;
}

.faq-icon {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fff;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 10px;
}

.faq-item.active .faq-answer {
    max-height: 400px; 
    padding: 10px 25px 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --- BOOKING WIDGET --- */
.booking-widget-container {
    max-width: 1200px; 
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 0;
    overflow: hidden;
}

.booking-widget-container iframe {
    width: 100% !important;
    min-height: 850px !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
}

/* --- APOTHECARY --- */
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 40px; 
    max-width: 1200px; 
    margin: 0 auto; 
}
.product-card { text-align: center; }
.product-image { width: 100%; height: 400px; object-fit: cover; border-radius: 4px; margin-bottom: 20px; }
.product-title { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 5px; color: var(--text-dark); }
.product-price { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; display: block; }

.btn-outline {
    display: inline-block;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    padding: 12px 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- TESTIMONIALS --- */
.marquee-wrapper { width: 100%; overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: scroll-left 120s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonial-card { width: 500px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.05); padding: 50px; border-radius: 4px; text-align: center; flex-shrink: 0; }
.quote { font-family: var(--font-head); font-size: clamp(1.2rem, 3vw, 1.4rem); font-style: italic; line-height: 1.6; margin-bottom: 25px; color: var(--text-dark); }
.quote-author { font-family: var(--font-body); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 0.75rem; color: var(--gold); }

/* --- MOBILE CTA --- */
#mobile-cta { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--emerald); padding: 15px 20px; z-index: 990; display: none; justify-content: center; border-top: 1px solid var(--gold); }
#mobile-cta button { width: 100%; }

/* --- FOOTER --- */
footer { background: var(--emerald); color: var(--text-light); padding: 80px 5% 40px; border-top: 3px solid var(--gold); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; max-width: 1200px; margin: 0 auto; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 20px; max-width: 300px; }
.footer-logo { height: 60px; opacity: 0.9; }
.footer-col h4 { font-family: var(--font-head); color: var(--gold); margin-bottom: 25px; font-size: 1.1rem; letter-spacing: 1px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.8); margin-bottom: 15px; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* --- MEDIA QUERIES --- */

/* TABLET (1024px) */
@media (max-width: 1024px) {
    .content-section { padding: 100px 5%; }
    .about-container { gap: 40px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 50px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { max-width: 100%; }
}

/* MOBILE (768px & 900px combined logic) */
@media (max-width: 900px) {
    .nav-wrapper { padding: 15px 5%; justify-content: center; }
    .nav-links, .logo-text { display: none; }
    
    .content-section { padding: 80px 5%; }
    .section-header { margin-bottom: 50px; }
    
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons a { width: 100%; }
    
    .about-container { flex-direction: column; gap: 40px; }
    .about-image { width: 100%; height: 400px; border-radius: 150px 150px 0 0; }
    .about-text { width: 100%; text-align: center; }
    
    .menu-row-header { flex-direction: column; gap: 5px; }
    .menu-row p { max-width: 100%; }
    
    .rules-container { gap: 30px; }
    .rules-block { padding: 30px 20px; }
    
    .testimonial-card { width: 320px; padding: 30px 20px; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-brand p { margin: 20px auto 0; }
    
    #mobile-cta { display: flex; }
    
    body { padding-bottom: 70px; } 
    .booking-widget-container iframe { min-height: 950px !important; }
}

/* SMALL MOBILE (480px) */
@media (max-width: 480px) {
    .content-section { padding: 60px 5%; }
    .hero-badge { font-size: 0.65rem; padding: 6px 18px; }
    .btn-primary { padding: 15px 30px; font-size: 0.8rem; }
    .about-image { height: 300px; border-radius: 100px 100px 0 0; }
    .category-title { margin-bottom: 25px; }
    .menu-category { margin-bottom: 60px; }
    
    /* Ensure the flame card doesn't overflow */
    .flame-card { padding: 40px 20px; }
}