/* Custom CSS for Chew Valley Pilates */

:root {
  --primary-green: #212E21;
  --light-background: #FAFAFA;
  --accent-green: #D4E4D4;
  --border-green: #AEC0AB;
  --hover-green: #B5C6B5;
}

/* Custom utility classes */
.text-primary {
  color: var(--primary-green);
}

.text-white {
  color: #ffffff;
}

.bg-light {
  background-color: var(--light-background);
}

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

.border-accent {
  border-color: var(--border-green);
}

.hover-bg-accent:hover {
  background-color: var(--hover-green);
}

/* Hero section background */
.hero-background {
  background-image: url('./pink-pilates.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mobile-optimized background for smaller screens */
@media (max-width: 768px) {
  .hero-background {
    background-size: cover;
    background-position: center top;
    min-height: 60vh;
  }
}

/* Mobile navigation styles */
.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-green);
  margin: 2px 0;
  transition: 0.3s;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .desktop-nav {
    display: none !important;
  }
  
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 20;
  }
  
  .mobile-menu ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    margin: 0;
    list-style: none;
  }
  
  .mobile-menu li {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
  }
  
  .mobile-menu li:last-child {
    border-bottom: none;
  }
}

/* Touch-friendly button styles */
.touch-button {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Responsive typography improvements */
@media (max-width: 640px) {
  .hero-title {
    font-size: 1.875rem; /* 30px */
    line-height: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem; /* 16px */
    line-height: 1.5rem;
  }
  
  .section-title {
    font-size: 1.875rem; /* 30px */
    line-height: 2.25rem;
  }
  
  .contact-button {
    font-size: 1.125rem; /* 18px */
    padding: 0.75rem 1.5rem;
  }
}