/* -------------------------------------------------------
GENERAL RESET & VARIABLES
------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  background: #f4ecdf;
  color: #2c2016;
  font-family: 'Inter', sans-serif;
}

:root {
  --bg-main: #f4ecdf;
  --bg-alt: #efe3d4;
  --bg-accent: #e3d2bf;

  --text-main: #2c2016;
  --text-muted: #6d5a49;

  --accent-ember: #ff7b3e;     /* primary glow orange */
  --accent-ember-light: #ffa56b;
  --accent-fire: #ff5a2f;      /* deeper fire tone */
}

/* Ember mode: breathwork */
html[data-mode="ember"] {
  --accent-active: var(--accent-ember);
}

/* Kahore mode: fire arts */
html[data-mode="kahore"] {
  --accent-active: var(--accent-fire);
}

/* -------------------------------------------------------
GLOBAL ELEMENTS
------------------------------------------------------- */

body {
  line-height: 1.65;
  background: var(--bg-main);
  color: var(--text-main);
}

img, video {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-active);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* -------------------------------------------------------
CONTAINERS
------------------------------------------------------- */

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

.container.narrow {
  max-width: 720px;
}

/* -------------------------------------------------------
HEADER
------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(244,236,223,0.96);
  backdrop-filter: blur(10px);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(140,110,80,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-text {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

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

.nav a {
  margin-left: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

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

.nav .btn {
  margin-left: 1.2rem;
}

/* -------------------------------------------------------
SOCIAL ICONS
------------------------------------------------------- */

.social-links {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.icon {
  width: 22px;
  height: 22px;
  fill: var(--text-main);
  transition: fill 0.3s ease;
}

.social-links a:hover .icon {
  fill: var(--accent-active);
}

/* -------------------------------------------------------
BUTTONS
------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.75rem 1.3rem;
  background: var(--accent-active);
  color: #2c2016;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.btn:hover {
  background: var(--accent-ember-light);
  color: #2c2016;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

.btn.outline {
  background: transparent;
  border: 2px solid var(--accent-active);
  color: var(--accent-active);
  box-shadow: none;
}

.btn.outline:hover {
  border-color: var(--accent-ember-light);
  color: var(--accent-ember-light);
}

.btn.wide {
  width: 100%;
  text-align: center;
}

/* -------------------------------------------------------
HERO
------------------------------------------------------- */

.hero { position: relative; height: 85vh; display: flex; align-items: center; justify-content: center; padding: 0 1rem; background-color: var(--bg-main); background-image: none; background-size: cover; background-position: center; transition: background-image 0.6s ease-in-out; border-bottom: 1px solid rgba(140,110,80,0.25); }

html[data-mode="kahore"] .hero {
  background-image: url("assets/gallery/kahore-hero.jpg");
  background-color: #8B4513; /* new warm top tone */
}

.hero-overlay { background: rgba(244,236,223,0.98); width: 100%; height: 100%; display:flex; align-items:center; justify-content:center; flex-direction:column; padding: 2rem; }

.hero-content { text-align: center; max-width: 760px; }

.hero-label {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-active);
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin: 0.6rem 0 0.8rem;
}

.tagline {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.scroll-indicator {
  margin-top: 1.5rem;
  font-size: 1.6rem;
  opacity: 0.6;
  transition: opacity 0.3s;
  color: var(--text-main);
}

.scroll-indicator:hover {
  opacity: 1;
}

/* -------------------------------------------------------
IDENTITY TABS (OPTION 1)
------------------------------------------------------- */

.hero-tabs {
  display: inline-flex;
  background: #efe3d4;
  border-radius: 999px;
  padding: 0.25rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(140,110,80,0.35);
}

.hero-tab {
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #7a5b3a;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-tab.active {
  background: var(--accent-active);
  color: #2c2016;
}

/* small identity toggle in header is removed in this Option 1 */

/* -------------------------------------------------------
SECTIONS
------------------------------------------------------- */

.section {
  padding: 4rem 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section.accent {
  background: var(--bg-accent);
}

.subhead {
  margin: 2rem 0 1rem;
  font-weight: 700;
  color: var(--accent-active);
  letter-spacing: 0.5px;
}

.space-top {
  margin-top: 3rem;
}

/* -------------------------------------------------------
ABOUT
------------------------------------------------------- */

.about-media {
  max-width: 500px;
  margin: 0 auto 2rem;
}

.about-img {
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}

/* -------------------------------------------------------
CARDS (OFFERINGS)
------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #f8efe3;
  border-radius: 14px;
  padding: 1.6rem;
  border: 1px solid rgba(140,110,80,0.25);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card:hover {
  border-color: var(--accent-active);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.price {
  color: var(--accent-active);
  font-weight: 700;
  margin-top: 1rem;
}

/* -------------------------------------------------------
PHOTO GRID
------------------------------------------------------- */

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

 .portfolio-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-grid img:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

/* -------------------------------------------------------
VIDEO GRID
------------------------------------------------------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem;
}

.video-card {
  position: relative;
}

.video-card img {
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

.video-badge {
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
  background: rgba(44,32,22,0.78);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 999px;
  color: #f9f3eb;
}

/* -------------------------------------------------------
TESTIMONIALS
------------------------------------------------------- */

.quote {
  margin-bottom: 2rem;
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  background: #f9f1e6;
  border: 1px solid rgba(140,110,80,0.25);
}

.quote blockquote {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.quote figcaption {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------
BOOKING FORM
------------------------------------------------------- */

.contact {
  margin-top: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label span {
  display: block;
  margin-bottom: 0.4rem;
}

input, textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(140,110,80,0.4);
  background: #fdf7ee;
  color: var(--text-main);
}

/* -------------------------------------------------------
FAQ
------------------------------------------------------- */

details {
  background: #f9f1e6;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid rgba(140,110,80,0.35);
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

/* -------------------------------------------------------
FOOTER
------------------------------------------------------- */

.footer {
  background: #efe3d4;
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(140,110,80,0.3);
}

.footer .small {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.footer-links a {
  margin: 0 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* -------------------------------------------------------
MISC
------------------------------------------------------- */

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

/* -------------------------------------------------------
RESPONSIVE
------------------------------------------------------- */

@media (max-width: 768px) {
  .hero { position: relative; height: 85vh; display: flex; align-items: center; justify-content: center; padding: 0 1rem; background-color: var(--bg-main); background-image: none; background-size: cover; background-position: center; transition: background-image 0.6s ease-in-out; border-bottom: 1px solid rgba(140,110,80,0.25); }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}


/* Mode-scoped visibility */
.mode-ember { display: none; }
.mode-kahore { display: none; }
html[data-mode="ember"] .mode-ember { display: block; }
html[data-mode="kahore"] .mode-kahore { display: block; }


html[data-mode="kahore"] .hero-overlay {
  background: radial-gradient(
    circle at top,
    rgba(139, 69, 19, 0.35),
    rgba(10, 4, 1, 0.90)
  );
}


/* Breathwork photos: smaller, centered grid */
.breath-grid{
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  justify-items: center;
}


.video-card a{
  display:block;
  position:relative;
}
