/* Helvexa Wellness - Main Stylesheet */

/* Import unique fonts */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties */
:root {
  --helvexa-primary: #243642;
  --helvexa-secondary: #387478;
  --helvexa-accent: #629584;
  --helvexa-light: #E2F1E7;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  --font-primary: 'Crimson Text', serif;
  --font-secondary: 'Inter', sans-serif;
  
  --border-radius: 12px;
  --box-shadow: 0 8px 32px rgba(36, 54, 66, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--helvexa-primary);
  background-color: var(--helvexa-light);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 4px rgba(36, 54, 66, 0.1);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
  margin-bottom: var(--space-md);
  font-weight: 400;
}

a {
  color: var(--helvexa-secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--helvexa-accent);
  text-shadow: 0 2px 4px rgba(56, 116, 120, 0.3);
}

/* Container and Layout */
.helvexa-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.helvexa-section {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.helvexa-grid {
  display: grid;
  gap: var(--space-lg);
}

.helvexa-grid-2 { grid-template-columns: repeat(2, 1fr); }
.helvexa-grid-3 { grid-template-columns: repeat(3, 1fr); }
.helvexa-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Header and Navigation */
.helvexa-header {
  background: rgba(226, 241, 231, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(56, 116, 120, 0.1);
  transition: var(--transition);
}

.helvexa-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.helvexa-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--helvexa-primary);
  text-shadow: 0 2px 4px rgba(36, 54, 66, 0.1);
}

.helvexa-logo svg {
  margin-right: var(--space-xs);
  height: 40px;
  width: auto;
}

.helvexa-nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.helvexa-nav-item a {
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.helvexa-nav-item a:hover {
  background: rgba(56, 116, 120, 0.1);
  transform: translateY(-2px);
}

.helvexa-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--helvexa-primary);
  cursor: pointer;
  padding: var(--space-xs);
}

/* Hero Section */
.helvexa-hero {
  background: linear-gradient(135deg, var(--helvexa-light) 0%, rgba(98, 149, 132, 0.1) 100%);
  padding: calc(var(--space-3xl) + 60px) 0 var(--space-3xl);
  text-align: center;
  position: relative;
}

.helvexa-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><circle cx="20" cy="10" r="2" fill="%23387478" opacity="0.1"/><circle cx="80" cy="10" r="2" fill="%23629584" opacity="0.1"/></svg>');
  animation: helvexa-float 20s ease-in-out infinite;
}

.helvexa-hero-actions{
  display: flex;
  justify-content: center;
  gap: 20px;
}

.helvexa-hero-content {
  position: relative;
  z-index: 1;
}

.helvexa-hero h1 {
  margin-bottom: var(--space-md);
  color: var(--helvexa-primary);
}

.helvexa-hero p {
  font-size: 1.2rem;
  margin-bottom: var(--space-xl);
  color: var(--helvexa-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.helvexa-btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font-secondary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: var(--box-shadow);
}

.helvexa-btn-primary {
  background: linear-gradient(135deg, var(--helvexa-secondary), var(--helvexa-accent));
  color: white;
}

.helvexa-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(56, 116, 120, 0.3);
  color: white;
}

.helvexa-btn-secondary {
  background: transparent;
  color: var(--helvexa-primary);
  border: 2px solid var(--helvexa-secondary);
}

.helvexa-btn-secondary:hover {
  background: var(--helvexa-secondary);
  color: white;
  transform: translateY(-3px);
}

/* Cards */
.helvexa-card {
  background: white;
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.helvexa-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--helvexa-secondary), var(--helvexa-accent));
}

.helvexa-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(36, 54, 66, 0.15);
}

.helvexa-card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
  fill: var(--helvexa-secondary);
  transition: var(--transition);
}

.helvexa-card:hover .helvexa-card-icon {
  fill: var(--helvexa-accent);
  transform: scale(1.1);
}

/* Pricing */
.helvexa-pricing-card {
  background: white;
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.helvexa-pricing-card.helvexa-featured {
  border-color: var(--helvexa-secondary);
  transform: scale(1.05);
}

.helvexa-pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 70px rgba(36, 54, 66, 0.2);
}

.helvexa-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--helvexa-secondary);
  margin: var(--space-md) 0;
}

.helvexa-price-period {
  font-size: 1rem;
  color: var(--helvexa-accent);
}

.helvexa-features {
  list-style: none;
  margin: var(--space-lg) 0;
}

.helvexa-features li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(56, 116, 120, 0.1);
}

.helvexa-features li:last-child {
  border-bottom: none;
}

/* Contact Form */
.helvexa-form {
  max-width: 600px;
  margin: 0 auto;
}

.helvexa-form-group {
  margin-bottom: var(--space-lg);
}

.helvexa-form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--helvexa-primary);
}

.helvexa-form-input,
.helvexa-form-textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid rgba(56, 116, 120, 0.2);
  border-radius: var(--border-radius);
  font-family: var(--font-secondary);
  transition: var(--transition);
  background: white;
}

.helvexa-form-input:focus,
.helvexa-form-textarea:focus {
  outline: none;
  border-color: var(--helvexa-secondary);
  box-shadow: 0 0 0 3px rgba(56, 116, 120, 0.1);
}

.helvexa-form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.helvexa-footer {
  background: var(--helvexa-primary);
  color: var(--helvexa-light);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.helvexa-footer a {
  color: var(--helvexa-light);
  opacity: 0.8;
  transition: var(--transition);
}

.helvexa-footer a:hover {
  opacity: 1;
  color: var(--helvexa-accent);
}

.helvexa-footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.helvexa-footer-section h3 {
  color: var(--helvexa-accent);
  margin-bottom: var(--space-md);
}

.helvexa-footer-bottom {
  border-top: 1px solid rgba(98, 149, 132, 0.3);
  padding-top: var(--space-lg);
  text-align: center;
  opacity: 0.7;
}

/* Custom Icons */
.helvexa-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: var(--transition);
}

.helvexa-icon-lg {
  width: 48px;
  height: 48px;
}

/* Animations */
@keyframes helvexa-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes helvexa-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.helvexa-animate {
  animation: helvexa-fadeInUp 0.8s ease-out;
}

/* Utility Classes */
.helvexa-text-center { text-align: center; }
.helvexa-text-left { text-align: left; }
.helvexa-text-right { text-align: right; }

.helvexa-mb-sm { margin-bottom: var(--space-sm); }
.helvexa-mb-md { margin-bottom: var(--space-md); }
.helvexa-mb-lg { margin-bottom: var(--space-lg); }

.helvexa-mt-sm { margin-top: var(--space-sm); }
.helvexa-mt-md { margin-top: var(--space-md); }
.helvexa-mt-lg { margin-top: var(--space-lg); }

.helvexa-hidden { display: none; }

/* Responsive Design */
@media (max-width: 768px) {
  html { font-size: 14px; }
  
  :root {
    --space-xs: 0.75rem;
    --space-sm: 1.25rem;
    --space-md: 2rem;
    --space-lg: 2.5rem;
    --space-xl: 3.5rem;
    --space-2xl: 5rem;
    --space-3xl: 7rem;
  }
  
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 2rem; }
  h4 { font-size: 1.6rem; }
  
  .helvexa-nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    box-shadow: var(--box-shadow);
    transition: left 0.3s ease;
    z-index: 999;
  }

  .helvexa-hero-actions{
  gap: 15px;
  flex-direction: column;
}
  
  .helvexa-nav-menu.helvexa-active {
    left: 0;
  }
  
  .helvexa-grid {
    gap: 20px;
}
  .helvexa-nav-item {
    margin-bottom: var(--space-md);
    text-align: center;
  }
  
  .helvexa-nav-item a {
    display: block;
    padding: var(--space-xs);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
  }
  
  .helvexa-mobile-toggle {
    display: block;
    z-index: 1001;
  }
  
  .helvexa-grid-2,
  .helvexa-grid-3,
  .helvexa-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .helvexa-hero {
    padding: calc(var(--space-2xl) + 60px) 0 var(--space-2xl);
  }
  
  .helvexa-hero h1 {
    font-size: 2.5rem;
  }
  
  .helvexa-hero p {
    font-size: 1.1rem;
  }
  
  .helvexa-card,
  .helvexa-pricing-card {
    padding: var(--space-md);
  }
  
  .helvexa-pricing-card.helvexa-featured {
    transform: none;
  }
  
  .helvexa-footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  html { font-size: 13px; }
  
  :root {
    --space-xs: 1rem;
    --space-sm: 1.5rem;
    --space-md: 2.5rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
  }

   .helvexa-card,
  .helvexa-pricing-card {
    padding: var(--space-sm);
  }
  
  .helvexa-container {
    padding: 0 var(--space-sm);
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.8rem; }
  
  .helvexa-btn {
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
  }

  .helvexa-section,
  .helvexa-footer{
    padding: var(--space-md) 0;
  }

  .helvexa-header{
    padding: 0;
  }
  
  .helvexa-card-icon,
  .helvexa-icon-lg {
    width: 56px;
    height: 56px;
  }

  .helvexa-form-input,
.helvexa-form-textarea {
  padding: var(--space-xs);
}
  
  .helvexa-price {
    font-size: 2.5rem;
  }
}

@media (max-width: 360px) {
  html { font-size: 12px; }
  
  :root {
    --space-xs: 1.2rem;
    --space-sm: 1.8rem;
    --space-md: 3rem;
    --space-lg: 3.5rem;
    --space-xl: 5rem;
    --space-2xl: 7rem;
    --space-3xl: 9rem;
  }
  
  .helvexa-container {
    padding: 0 var(--space-xs);
  }
  
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 2rem; }
  
  li{
    list-style: none;
    margin-top: 12px;
  }
  
  .helvexa-card-icon,
  .helvexa-icon-lg {
    width: 64px;
    height: 64px;
  }
  
  .helvexa-btn {
    padding: 15px;
    font-size: 1.1rem;
  }
}

.image-container{
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.image-container > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}