/* Main CSS styles */
:root {
  --primary-purple: #7b2cbf;
  --primary-aqua: #38f9d7;
  --accent-coral: #ff6f61;
  --accent-yellow: #ffe66d;
  --text-dark: #1c1c3c;
  --text-light: #ffffff;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
}

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-aqua) 100%);
  background-attachment: fixed;
  padding-top: var(--header-height);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-purple);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-coral);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

/* Glass effect */
.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  padding: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--accent-coral);
  color: var(--text-light);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--accent-coral);
  color: var(--accent-coral);
}

.btn-secondary:hover {
  background-color: var(--accent-coral);
  color: var(--text-light);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(28, 28, 60, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  height: var(--header-height);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.header.hide {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent-coral);
}

/* Navigation */
.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-light);
  font-weight: 600;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-coral);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--text-light);
  transition: var(--transition);
}

/* Mobile navigation */
.mobile-nav-checkbox {
  display: none;
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  right: -100%;
  width: 80%;
  max-width: 90vw;
  height: calc(100vh - var(--header-height));
  background: rgba(28, 28, 60, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  transition: var(--transition);
  padding: 2rem;
  overflow-y: auto;
}

.mobile-nav-checkbox:checked ~ .mobile-nav {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1.5rem;
}

.mobile-nav-link {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero section */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/BAZEjo.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 800px;
  padding: 3rem;
  z-index: 1;
}

.hero h1 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
}

.hero p {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Services section */
.services {
  background-color: rgba(255, 255, 255, 0.9);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-content {
  padding: 1.5rem;
}

.service-icon {
  margin-bottom: 1rem;
  color: var(--primary-purple);
  font-size: 2.5rem;
}

/* Benefits section */
.benefits {
  background: linear-gradient(rgba(123, 44, 191, 0.1), rgba(56, 249, 215, 0.1));
  padding: 6rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.benefit-image {
  overflow: hidden;
  border-radius: var(--radius);
}

.benefit-content ul {
  list-style: none;
  margin-left: 1rem;
}

.benefit-content li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.benefit-content li::before {
  content: '✨';
  position: absolute;
  left: 0;
  color: var(--accent-yellow);
}

/* Testimonials */
.testimonials {
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-purple);
}

/* FAQ section */
.faq {
  background-color: rgba(255, 255, 255, 0.9);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
}

details {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-purple);
  position: relative;
  outline: none;
}

summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  transition: var(--transition);
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Form section */
.form-section {
  background: linear-gradient(rgba(123, 44, 191, 0.05), rgba(56, 249, 215, 0.05));
  padding: 6rem 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
}

.form-input,
.form-select {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(123, 44, 191, 0.2);
  font-family: inherit;
  font-size: 1rem;
}

.form-select option {
  color: black;
  background-color: white;
}

.form-checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.form-checkbox input {
  margin-top: 0.3rem;
}

/* Contact section */
.contact {
  background: linear-gradient(rgba(123, 44, 191, 0.1), rgba(56, 249, 215, 0.1));
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  color: var(--primary-purple);
  font-size: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -3rem;
  left: 0;
  right: 0;
  height: 3rem;
  background-color: var(--text-dark);
  clip-path: polygon(0 100%, 100% 100%, 50% 0);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer-logo span {
  color: var(--accent-coral);
}

.footer-links h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-coral);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-coral);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Policy pages */
.policy-page {
  padding: 5rem 0;
  background-color: white;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.policy-content h2 {
  color: var(--primary-purple);
  margin-bottom: 2rem;
}

.policy-content h3 {
  color: var(--text-dark);
  margin: 1.5rem 0 1rem;
}

/* Thank you page */
.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.thank-you-content {
  background-color: white;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--accent-coral);
  max-width: 600px;
}

.thank-you h2 {
  color: var(--primary-purple);
  margin-bottom: 1.5rem;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(28, 28, 60, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-light);
  padding: 1.5rem;
  z-index: 2000;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
}

/* Responsive design */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  html {
    font-size: 15px;
  }
  
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  html {
    font-size: 14px;
  }
  
  .nav-list {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .services-grid,
  .testimonials-grid,
  .benefits-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}
