/* ============================================
   MODERN DESIGN SYSTEM - Shared Styles
   ============================================ */

/* Traditional Yoga School Theme */
:root {
  --yoga-beige: #f5f1e8;
  --yoga-cream: #faf8f3;
  --yoga-sage: #8b9a7e;
  --yoga-sage-dark: #6b7a5e;
  --yoga-terracotta: #c49a6c;
  --yoga-terracotta-dark: #a67c52;
  --yoga-brown: #5d4e37;
  --yoga-brown-dark: #3d2e1f;
  --yoga-white: #ffffff;
  --yoga-text: #3d2e1f;
  --yoga-text-light: #6b5d4a;
  --yoga-border: #e8e0d4;
  --primary: var(--yoga-sage);
  --primary-dark: var(--yoga-sage-dark);
  --primary-light: var(--yoga-sage);
  --accent: var(--yoga-sage);
  --accent-dark: var(--yoga-sage-dark);
  --neutral-50: var(--yoga-cream);
  --neutral-100: var(--yoga-beige);
  --neutral-200: var(--yoga-border);
  --neutral-300: #d1d5db;
  --neutral-400: #9ca3af;
  --neutral-500: #6b7280;
  --neutral-600: var(--yoga-text-light);
  --neutral-700: var(--yoga-text-light);
  --neutral-800: var(--yoga-text);
  --neutral-900: var(--yoga-brown);
  --white: var(--yoga-white);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--yoga-cream);
  color: var(--yoga-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.2;
  color: var(--yoga-brown);
  margin: 0 0 1rem 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin: 0 0 1rem 0;
  color: var(--yoga-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* Section Spacing */
.section {
  padding: 5rem 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--neutral-50);
}

.section-heading {
  margin-bottom: 3rem;
}

.section-heading h6 {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--yoga-sage);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--yoga-brown);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-heading p {
  font-size: 1.125rem;
  color: var(--yoga-text-light);
  max-width: 700px;
}

/* Modern Cards */
.modern-card {
  background: var(--yoga-white);
  border-radius: 0;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--yoga-border);
  height: 100%;
}

.modern-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--yoga-sage);
}

/* Modern Buttons */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--yoga-sage);
  color: var(--yoga-white);
  box-shadow: var(--shadow-md);
  border-radius: 0;
}

.btn-primary:hover {
  background: var(--yoga-sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--yoga-white);
}

.btn-outline {
  background: transparent;
  color: var(--yoga-sage);
  border: 2px solid var(--yoga-sage);
  border-radius: 0;
}

.btn-outline:hover {
  background: var(--yoga-sage);
  color: var(--yoga-white);
  transform: translateY(-2px);
}

.main-button a {
  background: var(--yoga-sage);
  color: var(--yoga-white);
  border: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border-radius: 0;
  padding: 0.875rem 2rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.5px;
}

.main-button a:hover {
  background: var(--yoga-sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--yoga-white);
}

/* Navbar styles removed - using original template navbar design */

/* Banner Styles */
.main-banner {
  background: var(--yoga-beige);
  min-height: 40vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.main-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.main-banner .header-text {
  position: relative;
  z-index: 2;
}

.main-banner h1 {
  color: var(--yoga-brown);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  margin-bottom: 1rem;
  text-shadow: none;
}

.main-banner p {
  color: var(--yoga-text-light);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
}

/* Contact Section */
.contact-us {
  background: var(--yoga-beige);
  color: var(--yoga-text);
}

.contact-us .section-heading h2,
.contact-us .section-heading h6,
.contact-us .section-heading p {
  color: var(--yoga-text) !important;
}

.contact-us input,
.contact-us textarea {
  background: var(--yoga-cream);
  border: 1px solid var(--yoga-border);
  color: var(--yoga-text);
  border-radius: 0;
}

.contact-us input:focus,
.contact-us textarea:focus {
  border-color: var(--yoga-sage);
  box-shadow: 0 0 0 3px rgba(139, 154, 126, 0.1);
  background: var(--yoga-white);
}

.orange-button {
  background: var(--yoga-sage) !important;
  color: var(--yoga-white) !important;
  font-weight: 500;
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: 0;
}

.orange-button:hover {
  background: var(--yoga-sage-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--yoga-white) !important;
}

/* Footer */
.footer-contact {
  background: #2d2418;
  color: #f5f1e8;
  padding: 4rem 0 2rem;
}

.footer-contact h4 {
  color: #f5f1e8;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-contact a {
  color: rgba(245, 241, 232, 0.9);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #ffffff;
}

/* Scroll to Top */
.scroll-to-top {
  background: var(--yoga-sage);
  box-shadow: var(--shadow-md);
  border-radius: 0;
}

.scroll-to-top:hover {
  background: var(--yoga-sage-dark);
}

/* Responsive - Navbar handled by template CSS */

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .main-banner {
    min-height: 30vh;
  }
}
