/* Global styles for domain.com fitness booking website */
:root {
  --color-primary: #014F43;     /* Deep emerald */
  --color-accent: #FF7A33;      /* Bright orange */
  --color-secondary: #A4E5C0;   /* Light mint */
  --color-text: #FFFFFF;        /* White */
  --color-heading: #FFF4E6;     /* Cream */
  --color-gradient-start: #FF7A33; /* Bright orange */
  --color-gradient-end: #FF4D5A;   /* Coral pink */
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

/* Base styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--color-primary);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin-top: 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Grid system */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  box-sizing: border-box;
  flex: 1;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
  color: var(--color-text);
  box-shadow: 0 4px 15px rgba(255, 122, 51, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 122, 51, 0.4);
}

/* Header styles */
header {
  padding: 20px 0;
  background-color: rgb(22 58 52 );
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  text-transform: lowercase;
  letter-spacing: -1px;
}

.logo span {
  color: var(--color-accent);
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav li {
  margin-left: 20px;
}

nav a {
  color: var(--color-text);
  font-weight: 500;
}

nav a:hover {
  color: var(--color-secondary);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(1, 79, 67, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Section styles */
section {
  padding: 80px 0;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

/* About section */
.about {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  margin-top: 0;
}

.service-card .btn {
  margin-top: 15px;
}

/* Advantages section */
.advantages {
  background-color: rgba(164, 229, 192, 0.05);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.advantage-item {
  text-align: center;
  padding: 30px 20px;
}

.advantage-icon {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

/* Gallery section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Testimonials section */
.testimonials {
  background-color: rgba(255, 255, 255, 0.05);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow-card);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-secondary);
}

/* Form section */
.form-section {
  background-color: rgba(164, 229, 192, 0.05);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  font-family: var(--font-main);
  box-sizing: border-box;
}

select option {
  color: black;
  background: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

/* FAQ section */
.faq {
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  cursor: pointer;
  border-radius: var(--border-radius);
  position: relative;
  font-weight: 600;
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
  padding: 15px;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question:after {
  content: '-';
}

/* Footer styles */
footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy pages */
.policy-container {
  max-width: 800px;
  margin: 5rem auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-secondary);
  box-shadow: var(--shadow-card);
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 30px;
}

/* Pricing page */
.prices-container {
  max-width: 1200px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.pricing-card {
    display: grid;
    align-content: space-between;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 1px solid rgba(164, 229, 192, 0.2);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
  border: 2px solid var(--color-accent);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
  color: white;
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 20px;
  font-weight: bold;
}

.pricing-header {
  padding: 30px 20px;
  text-align: center;
  background-color: rgba(1, 79, 67, 0.3);
}

.pricing-header h2 {
  margin: 0 0 15px;
  font-size: 1.8rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.price span {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 400;
}

.pricing-features {
  padding: 30px 20px;
}

.pricing-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 25px;
}

.pricing-features li:before {
  content: "✓";
  color: var(--color-secondary);
  position: absolute;
  left: 0;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-footer {
  padding: 20px;
  text-align: center;
}

.section-title {
  text-align: center;
  margin: 60px 0 30px;
}

.corporate-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.corporate-card {
    display: grid
;
    align-content: space-between;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(164, 229, 192, 0.2);
}

.corporate-card h3 {
  margin-top: 0;
  color: var(--color-accent);
}

.corporate-card ul {
  padding-left: 20px;
  margin: 20px 0;
}

.corporate-card li {
  margin-bottom: 10px;
}

.contact-price {
  margin-top: 20px;
  text-align: center;
}

.pricing-faq {
  margin: 60px 0;
}

.pricing-cta {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.07);
  padding: 40px;
  border-radius: var(--border-radius);
  margin-top: 60px;
}

.pricing-cta h2 {
  margin-top: 0;
}

.cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-text);
}

.btn-secondary:hover {
  background-color: rgba(255, 122, 51, 0.1);
}

/* Thank you page */

.thanks-section    {
    min-height: 100vh;
    display: grid;
    align-items: center;
margin: 0 auto;

}
.thank-you-container {
  max-width: 600px;
  margin: 5rem auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-secondary);
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50vh;
}

.thank-you-container h1 {
  color: var(--color-accent);
}

/* Cookie consent popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.9);
  padding: 20px;
  border-radius: var(--border-radius);
  max-width: 400px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-popup p {
  margin-top: 0;
}

.cookie-popup-buttons {
  display: flex;
  justify-content: flex-end;
}

/* Responsive design */
@media (max-width: 991px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
    order: 1;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    padding: 20px;
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav li {
    margin: 10px 0;
  }
}

@media (max-width: 576px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  section h2 {
    font-size: 2rem;
  }
}
