/* Main CSS for domain.com */

:root {
  --nefrit: #00796B;
  --coral: #FF6F61;
  --white: #FAFAFA;
  --gray: #424242;
  --gold: #D4AF37;
  --shadow: 0 5px 15px rgba(0,0,0,0.1);
  --border-radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--white);
  color: var(--gray);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 25px;
  margin: 15px 0;
}

.btn {
  display: inline-block;
  background: var(--nefrit);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #005a4f;
  transform: translateY(-3px);
}

.btn.accent {
  background: var(--coral);
}

.btn.accent:hover {
  background: #e05a4c;
}

section {
  padding: 60px 0;
}

h1, h2, h3, h4, h5 {
  color: var(--nefrit);
  margin-bottom: 20px;
}

/* Center section headings */
section h1, section h2, .container > h2, .policy-content h1, .policy-content h2 {
  text-align: center;
}

p {
  margin-bottom: 15px;
}

/* Header styles */
header {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  color: var(--nefrit);
  text-decoration: none;
}

.logo span {
  color: var(--coral);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--nefrit);
}

/* Mobile menu using checkbox hack */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

/* Hero section */
.hero {
  background-image: url('../img/JtqbJc.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 120px 0;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  color: white;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About section */
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Services section */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card img {
  width: 100%;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  height: 200px;
  object-fit: cover;
}

/* Benefits section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit-card {
  text-align: center;
  padding: 20px;
}

.benefit-icon {
  font-size: 40px;
  color: var(--nefrit);
  margin-bottom: 15px;
}

/* Testimonials section */
.testimonials-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 20px 0;
}

.testimonial-card {
  min-width: 300px;
  scroll-snap-align: start;
}

.testimonial-author {
  font-weight: 600;
  color: var(--nefrit);
  margin-top: 10px;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

select.form-control {
  color: black;
  background-color: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

/* FAQ section using details/summary HTML */
.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  background: white;
  padding: 15px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  box-shadow: var(--shadow);
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
}

details[open] .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 15px 20px;
  border-top: none;
}

/* CTA section */
.cta {
  background: var(--nefrit);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
}

/* Footer */
footer {
  background: var(--gray);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-links h3 {
  color: white;
  margin-bottom: 25px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  z-index: 1000;
  max-width: 400px;
  text-align: center;
  display: none;
}

.cookie-popup.show {
  display: block;
}

/* Policy pages common style */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.policy-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

/* Thank you page */
.thank-you {
  text-align: center;
  padding: 100px 0;
}

.thank-you-icon {
  font-size: 60px;
  color: var(--nefrit);
  margin-bottom: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu-toggle:checked ~ nav ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow);
    padding: 20px;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
}
