/* === YOGI OR NOT YOGI — Global Styles === */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --cream: #faf8f5;
  --warm-white: #ffffff;
  --sand: #e8ddd3;
  --terracotta: #c4845c;
  --terracotta-dark: #a96b42;
  --olive: #6b7c5e;
  --olive-light: #8a9e78;
  --charcoal: #2d2d2d;
  --text: #3a3a3a;
  --text-light: #6b6b6b;
  --font-script: 'Caveat', cursive;
  --font-body: 'Lato', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --max-width: 1400px;
  --nav-height: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--terracotta-dark); }

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

/* === HEADER & NAV === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}

.header-inner {
  max-width: none;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.logo {
  flex-shrink: 0;
  margin-right: 1rem;
}
.logo a {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--charcoal);
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.logo a:hover { color: var(--terracotta); }

.main-nav > ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: center;
}

.main-nav ul {
  list-style: none;
}

.main-nav > ul > li {
  position: relative;
  flex-shrink: 0;
}

.main-nav > ul > li > a,
.main-nav > ul > li > .nav-toggle {
  display: block;
  padding: 0.5rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.3s;
  white-space: nowrap;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > .nav-toggle:hover,
.main-nav > ul > li > a.active {
  color: var(--terracotta);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: wrap !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 200;
}

.main-nav > ul > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: flex !important;
  flex-direction: column !important;
}

.dropdown li {
  flex-shrink: unset;
}

.dropdown a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text);
  border-bottom: 1px solid var(--sand);
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--cream); color: var(--terracotta); }

/* Mobile nav */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 11px; }
.nav-burger span:nth-child(3) { top: 22px; }

@media (max-width: 900px) {
  .nav-burger { display: block; }
  .main-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: var(--cream);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    padding: 2rem;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li > a,
  .main-nav > ul > li > .nav-toggle {
    padding: 1rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--sand);
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--cream);
    display: none;
  }
  .dropdown.open { display: block; }
  .dropdown a { padding-left: 1.5rem; }
}

/* === HERO === */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250,248,245,0.92) 0%, rgba(250,248,245,0.6) 50%, rgba(250,248,245,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-family: var(--font-script);
  font-size: 4rem;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text .subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-text .tagline {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.hero-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--terracotta);
  transition: transform 0.3s, color 0.3s;
}
.hero-links a:hover { transform: translateX(8px); }
.hero-links a::before { content: '\2192'; }

.hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
  .hero-text h1 { font-size: 3rem; }
  .hero-image img { height: 300px; }
}

/* === SECTIONS === */
section { padding: 5rem 0; }
section:nth-child(even) { background: var(--warm-white); }

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.2rem;
  color: var(--text);
}

.about-text .highlight {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--terracotta);
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* === CARDS (services, blog, etc.) === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--warm-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.card-image {
  height: 220px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.card:hover .card-image img { transform: scale(1.05); }

.card-body {
  padding: 1.5rem;
}
.card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--charcoal);
}
.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* === CTA BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--terracotta);
  color: white;
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 132, 92, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}
.btn-outline:hover {
  background: var(--terracotta);
  color: white;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.contact-info a { color: var(--terracotta); }

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--charcoal);
  transition: all 0.3s;
}
.social-links a:hover {
  background: var(--terracotta);
  color: white;
  transform: translateY(-2px);
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--sand);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--warm-white);
  transition: border-color 0.3s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--terracotta);
}
.contact-form textarea { min-height: 150px; resize: vertical; }

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

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* === INSTAGRAM === */
.insta-section { text-align: center; }
.insta-link {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--terracotta);
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.08); }

/* === PAGE CONTENT === */
.page-hero {
  padding: 6rem 0 3rem;
  text-align: center;
  background: var(--warm-white);
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.page-hero .lead {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
}

.page-content {
  padding: 3rem 0 5rem;
}
.page-content .container { max-width: 800px; }
.page-content p { margin-bottom: 1.2rem; }
.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--charcoal);
  margin: 2.5rem 0 1rem;
}
.page-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--charcoal);
  margin: 2rem 0 0.8rem;
}
.page-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}
.page-content li { margin-bottom: 0.5rem; }

.page-content .featured-image {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* Two column layout for pages */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
}

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--warm-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-image { height: 200px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.blog-card-body h3 a { color: var(--charcoal); }
.blog-card-body h3 a:hover { color: var(--terracotta); }

/* === FOOTER === */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
  text-align: center;
}
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: var(--terracotta); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: white;
}

.footer-links {
  margin-bottom: 1rem;
}
.footer-links a {
  margin: 0 0.8rem;
  font-size: 0.85rem;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* === LOGOS === */
.logos-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  opacity: 0.6;
}
.logos-strip img {
  height: 40px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s;
}
.logos-strip img:hover { filter: grayscale(0%); }

/* === SLIDESHOW === */
.slideshow {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.slideshow-track {
  display: flex;
  transition: transform 0.6s ease;
}
.slideshow-slide {
  min-width: 100%;
  height: 500px;
}
.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slideshow-caption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: white;
  font-family: var(--font-heading);
  font-size: 1rem;
}
.slideshow-nav {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}
.slideshow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.slideshow-dot.active { background: white; }

@media (max-width: 768px) {
  .slideshow-slide { height: 300px; }
}

/* === SCHEDULE TABLE === */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
.schedule-table th,
.schedule-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--sand);
}
.schedule-table th {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--text-light);
}
.schedule-table tr:hover { background: rgba(200, 132, 92, 0.05); }

/* === TESTIMONIAL === */
.testimonial {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.testimonial blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.testimonial cite {
  color: var(--text-light);
  font-style: normal;
  font-size: 0.9rem;
}

/* === UTILITY === */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }

/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
