:root {
  --primary-bg: #201e40;
  --accent-amber: #ffb347;
  --accent-mint: #7effd4;
  --accent-raspberry: #ff4f81;
  --text-light: #ffffff;
  --text-dim: #e0e0e0;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  overflow-x: hidden;
}

body {
  background-color: var(--primary-bg);
  color: var(--text-dim);
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 80px; /* For fixed header */
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  color: var(--text-light);
  margin-top: 0;
}

a {
  color: var(--accent-mint);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-amber);
  text-decoration: underline;
}

section {
  padding: 60px 5%;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-bg);
  z-index: 100;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--accent-mint);
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 15px;
}

nav a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-mint);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Mobile Menu (CSS-only using checkbox hack) */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  position: absolute;
  transition: transform 0.3s ease;
}

.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-icon span:nth-child(3) { bottom: 0; }

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  
  nav ul {
    position: fixed;
    flex-direction: column;
    background-color: var(--primary-bg);
    top: 80px;
    right: -100%;
    width: 80%;
    max-width: 90vw;
    height: calc(100vh - 80px);
    padding: 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
  }
  
  nav li {
    margin: 20px 0;
    font-size: 18px;
  }
  
  .menu-toggle:checked ~ nav ul {
    right: 0;
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* Hero Section */
.hero {
  background-image: url('../img/DsdIJN.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: var(--text-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(32, 30, 64, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Section Styling */
.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-mint), var(--accent-raspberry));
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Mission Section */
.mission {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Benefits Section */
.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.benefit-item {
  flex: 1 1 250px;
  max-width: 350px;
  text-align: center;
  padding: 25px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--accent-mint);
}

/* Service Cards */
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  flex: 1 1 300px;
  max-width: 400px;
  background:var(--primary-bg);
  border-radius: 10px;
  padding: 25px;
  transition: transform 0.3s ease;
  border: 1px solid var(--accent-mint);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: var(--accent-amber);
  font-size: 24px;
  margin-bottom: 15px;
}

.service-price {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-light);
  margin: 20px 0;
}

/* Testimonials */
.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.testimonial {
  flex: 1 1 300px;
  max-width: 400px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--accent-mint);
  border-radius: 5px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  color: var(--accent-amber);
  font-weight: bold;
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section details {
  margin-bottom: 15px;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
  overflow: hidden;
}

.faq-section summary {
  padding: 15px;
  cursor: pointer;
  background: rgba(255,179,71,0.1);
  border-left: 3px solid var(--accent-amber);
  font-weight: bold;
}

.faq-section summary:hover {
  background: rgba(255,179,71,0.2);
}

.faq-section .faq-content {
  padding: 15px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(126,255,212,0.1) 0%, rgba(255,79,129,0.1) 100%);
  padding: 60px 20px;
  border-radius: 10px;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-button {
  background: linear-gradient(135deg, var(--accent-raspberry) 0%, var(--accent-amber) 100%);
  color: var(--text-light);
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255,79,129,0.4);
  text-decoration: none;
  color: var(--text-light);
}

/* Form Styles */
.order-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--accent-mint);
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
  border-radius: 5px;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 2px rgba(255,179,71,0.3);
}

select option {
  color: black;
  background-color: white;
}

.checkbox {
  display: flex;
  align-items: flex-start;
}

.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.validation-message {
  color: var(--accent-raspberry);
  margin-top: 5px;
  font-size: 14px;
}

/* Cookie Popup */
#cookie-popup {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0,0,0,0.85);
  color: var(--text-light);
  padding: 15px;
  border-radius: 5px;
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--accent-mint);
  box-shadow: 0 0 20px rgba(126,255,212,0.3);
  max-width: 400px;
  margin: 0 auto;
}

#cookie-popup button {
  background: var(--accent-mint);
  color: var(--primary-bg);
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#cookie-popup button:hover {
  background-color: var(--accent-amber);
}

/* Policy Pages */
.policy-section {
  padding: 40px 5%;
}

.policy-box {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--accent-mint);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.policy-content {
  line-height: 1.6;
}

.policy-content h2 {
  color: var(--accent-amber);
  margin-top: 30px;
}

.contact-info {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(126,255,212,0.3);
}

/* Thank You Page */
.thank-you-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 300px);
}

.thank-you-box {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 2px solid var(--accent-mint);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(126,255,212,0.2);
}

.thank-you-box h1 {
  color: var(--accent-mint);
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3));
  padding: 40px 5% 20px;
  margin-top: 60px;
  position: relative;
  border-top: 1px solid var(--accent-mint);
}

footer::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(135deg, transparent 25%, var(--primary-bg) 25%, var(--primary-bg) 50%, transparent 50%);
  background-size: 20px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 250px;
  margin-bottom: 20px;
}

.footer-column h3 {
  color: var(--accent-amber);
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Extra Pages */
.content-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.image-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.image-card {
  flex: 1 1 300px;
  max-width: 350px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.image-card-content {
  padding: 15px;
}

.tips-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin: 20px auto;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .service-card {
    margin: 15px 0;
  }
  
  header {
    padding: 10px 5%;
  }
  
  .logo {
    font-size: 22px;
  }
  
  .policy-box, .thank-you-box {
    margin: 20px;
    padding: 20px;
  }
  
  #cookie-popup {
    left: 10px;
    right: 10px;
  }
}
