/* Main styles for domain website */
:root {
  --bg-color: #00c9a7;
  --accent-color: #6a0dad;
  --text-color: #2d2d2d;
  --button-gradient-from: #ff6b6b;
  --button-gradient-to: #f06595;
  --form-bg: #f9f9f9;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background-color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* Mobile Menu (Checkbox Hack) */
.burger-menu {
  display: none;
}

.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-content {
  color: var(--white);
  text-align: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1.2s ease;
}

.btn {
  display: inline-block;
  background: linear-gradient(
    to right,
    var(--button-gradient-from),
    var(--button-gradient-to)
  );
  color: var(--white);
  padding: 12px 30px;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--white);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--accent-color);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--accent-color);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--accent-color);
  font-weight: bold;
}

/* Advantages Section */
.advantages {
  padding: 5rem 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.advantage-item {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-10px);
}

.advantage-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.advantage-title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-img {
  width: 100%;
  height: 200px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
  background-color: var(--white);
}

.service-title {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

/* Why Choose Us Section */
.why-us {
  padding: 5rem 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.why-us-item {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-us-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-item {
  background-color: var(--bg-color);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: bold;
  color: var(--accent-color);
}

/* Form Section */
.contact-form {
  padding: 5rem 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--form-bg);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--accent-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--accent-color);
  outline: none;
}

.form-select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236a0dad' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
}

.form-select option {
  background-color: var(--white);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-input {
  margin-right: 10px;
  margin-top: 4px;
}

.checkbox-label {
  font-size: 0.9rem;
}

.checkbox-label a {
  text-decoration: underline;
}

.form-btn {
  width: 100%;
  cursor: pointer;
  border: none;
}

/* Contact Info Section */
.contact-info {
  padding: 5rem 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-details h3 {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.contact-item {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 10px;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--accent-color);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--white);
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Policy Pages */
.policy-container {
  padding: 8rem 3rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--accent-color);
}

.policy-title {
  color: var(--accent-color);
  margin-bottom: 2rem;
  text-align: center;
}

.policy-content h2 {
  color: var(--accent-color);
  margin: 2rem 0 1rem;
}

.policy-content p {
  margin-bottom: 1.5rem;
}

/* Thank You Page */
.merci-container {
  margin: 8rem auto 3rem;
  padding: 3rem;
  max-width: 700px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 2px solid var(--accent-color);
}

.merci-title {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.merci-icon {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.back-link {
  margin-top: 2rem;
  display: inline-block;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
  text-align: center;
  border: 1px solid var(--accent-color);
}

.cookie-text {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: linear-gradient(
    to right,
    var(--button-gradient-from),
    var(--button-gradient-to)
  );
  color: var(--white);
  border: none;
}

.cookie-decline {
  background-color: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .menu-toggle:checked ~ nav {
    transform: translateX(0);
  }

  nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--white);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  nav ul {
    flex-direction: column;
    padding: 2rem;
  }

  nav ul li {
    margin: 1rem 0;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .form-container {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .policy-container {
    padding: 7rem 1.5rem 2rem;
  }

  .merci-container {
    padding: 2rem;
  }
}
