/* 
 * Main Stylesheet for domain
 * Version: 1.0
 */

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #1f1b24;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: #ffd93d;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff6b6b;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 10px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #ffd93d, #ff6b6b);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
  color: #b0b0b0;
}

section {
  padding: 80px 0;
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  margin: 0 0 20px 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(31, 27, 36, 0.95);
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.logo h1 {
  margin: 0;
  font-size: 1.8rem;
}

.logo h1 a {
  color: #ffd93d;
  text-decoration: none;
}

/* Menu toggle checkbox - hidden visually but accessible */
.menu-toggle {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Mobile nav toggle button */
.mobile-nav-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
}

.main-nav ul li {
  margin-left: 20px;
}

.main-nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  padding: 10px 0;
  position: relative;
}

.main-nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, #ffd93d, #ff6b6b);
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(to right, #ffd93d, #ff6b6b);
  color: #1f1b24;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(to right, #ff6b6b, #ffd93d);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  color: #1f1b24;
}

.btn-secondary {
  background-color: transparent;
  color: #ffd93d;
  border: 2px solid #ffd93d;
}

.btn-secondary:hover {
  background-color: #ffd93d;
  color: #1f1b24;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  background: url("img/W8ZDy.jpg") no-repeat center center;
  background-size: cover;
  min-height: 500px;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 100px 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(31, 27, 36, 0.7);
}

.hero-section .container {
  position: relative;
  z-index: 1;
  animation: fadeIn 1s ease-out;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ffffff;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
  animation: fadeIn 1s ease-out;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background-color: #2a2631;
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1s ease-out;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid #ffd93d;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  margin-bottom: 15px;
  text-align: center;
}

.service-card p {
  margin-bottom: 20px;
  text-align: center;
}

.service-card .btn-secondary {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
  background-color: #242028;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
  animation: fadeIn 1s ease-out;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 15px;
  overflow: hidden;
  border: 2px solid #ff6b6b;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-item h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.testimonial-card {
  background-color: #2a2631;
  border-radius: 10px;
  padding: 25px;
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-out;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid #ffd93d;
}

.testimonial-author {
  text-align: right;
  color: #ff6b6b;
  font-weight: bold;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background-color: #242028;
}

.faq-container {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
}

.faq-toggle {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background-color: #2a2631;
  color: #ffffff;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-toggle:checked ~ .faq-question {
  background-color: #3a3641;
}

.faq-toggle:checked ~ .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #2a2631;
  transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 15px 20px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  position: relative;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.contact-form {
  width: 100%;
  max-width: 600px;
  padding: 30px;
  background-color: #2a2631;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-out;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #3a3641;
  background-color: #1f1b24;
  color: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #ffd93d;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

/* ===== MAP SECTION ===== */
.map-section {
  background-color: #242028;
}

.map-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.map-frame {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  height: 350px;
}

.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  animation: fadeIn 1s ease-out;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #161319;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about,
.footer-contact,
.footer-links {
  animation: fadeIn 0.8s ease-out;
}

.footer-links ul {
  list-style: none;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #b0b0b0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffd93d;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #3a3641;
  padding-top: 20px;
}

/* ===== POLICY PAGES ===== */
.policy-section {
  padding: 80px 0;
}

.policy-content {
  background-color: #2a2631;
  border-radius: 10px;
  padding: 40px;
  margin: 0 auto;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-text h2 {
  margin-top: 30px;
}

.policy-text h3 {
  margin-top: 20px;
}

.policy-text ul,
.policy-text ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

/* ===== THANK YOU PAGE ===== */
.gracias-section {
  padding: 120px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.gracias-content {
  text-align: center;
  background-color: #2a2631;
  border-radius: 10px;
  padding: 50px 30px;
  margin: 0 auto;
  max-width: 700px;
  animation: fadeIn 1s ease-out;
}

.gracias-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: #2a2631;
  padding: 20px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s ease;
  z-index: 9999;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 250px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1f1b24;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    z-index: 1000;
  }

  .menu-toggle:checked ~ .main-nav {
    max-height: 300px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  /* Transform hamburger into X when menu is open */
  .menu-toggle:checked ~ .mobile-nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .menu-toggle:checked ~ .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .mobile-nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .main-nav ul {
    flex-direction: column;
    padding: 15px;
    margin: 0;
  }

  .main-nav ul li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #2a2631;
  }

  .main-nav ul li:last-child {
    border-bottom: none;
  }

  .main-nav ul li a {
    display: block;
    padding: 12px 0;
  }

  .service-card,
  .testimonial-card {
    max-width: 100%;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-section {
    min-height: 400px;
    padding: 80px 0;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .service-icon,
  .benefit-icon {
    margin-bottom: 15px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 25px;
  }

  .policy-content {
    padding: 30px 20px;
  }

  .gracias-buttons {
    flex-direction: column;
    align-items: center;
  }

  .gracias-content {
    padding: 40px 20px;
  }
}
