/* 
* Main styles for domain website
* Color palette: 
* - Main: #2A003F (dark purple)
* - Accents: #C1FF00 (lime), #00FFE0 (cyan)
* - Text: #FFFFFF (white), #D8D8D8 (silver-gray)
*/

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  color: #ffffff;
  background-color: #2a003f;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: #00ffe0;
  transition: all 0.3s ease;
}

a:hover {
  color: #c1ff00;
}

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;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #c1ff00, #00ffe0);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(to right, #c1ff00, #00ffe0);
  color: #2a003f;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: #2a003f;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #00ffe0;
  color: #00ffe0;
}

.btn-secondary:hover {
  background-color: #00ffe0;
  color: #2a003f;
}

/* Header styles */
.site-header {
  background-color: rgba(42, 0, 63, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.logo:hover {
  color: #c1ff00;
}

/* Navigation */
.main-nav ul {
  display: flex;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  color: #ffffff;
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #c1ff00, #00ffe0);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 20px;
  background: linear-gradient(to right, #c1ff00, #00ffe0);
  color: #2a003f !important;
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile menu */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 2000;
}

.bar {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px auto;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(42, 0, 63, 0.9);
  padding: 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cookie-content p {
  margin: 0;
  margin-right: 20px;
}

/* Hero section */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 100px 0;
  background-image: url("./img/w0owQ.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 0, 63, 0.7);
}

.hero-section .container {
  position: relative;
  z-index: 10;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-section h2 {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: normal;
}

.hero-section h2::after {
  display: none;
}

/* Advantages section */
.advantages-section {
  padding: 80px 0;
  text-align: center;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.advantage-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-10px);
}

.advantage-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* Services section */
.services-section {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background-color: #2a003f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  padding: 0 20px;
}

.service-card h3 {
  margin-top: 20px;
}

.service-card p {
  margin-bottom: 30px;
}

.service-card .btn-secondary {
  margin: 0 20px 20px;
}

/* Cases and testimonials section */
.cases-section {
  padding: 80px 0;
  text-align: center;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.case-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  position: relative;
}

.case-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(193, 255, 0, 0.2);
  line-height: 1;
}

.client-name {
  display: block;
  margin-top: 20px;
  font-style: italic;
  color: #00ffe0;
}

/* About us section */
.about-section {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.about-text {
  text-align: left;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Statistics section */
.stats-section {
  padding: 80px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-card {
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(to right, #c1ff00, #00ffe0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 10px;
}

/* Contact form section */
.contact-section {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
}

.form-container {
  max-width: 600px;
  margin: 40px auto 0;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #00ffe0;
}

/* Style select options */
select option {
  background-color: #2a003f;
  color: #ffffff;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-top: 3px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

/* Footer styles */
.site-footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-contact,
.footer-links,
.footer-legal {
  margin-top: 20px;
}

.footer-contact address {
  font-style: normal;
}

.footer-links ul,
.footer-legal ul {
  margin-top: 10px;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #d8d8d8;
}

/* Policy pages */
.policy-section {
  padding: 80px 0;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 40px;
}

.policy-text {
  margin-top: 30px;
}

.policy-text h2 {
  margin-top: 40px;
  font-size: 1.5rem;
}

.policy-text h3 {
  font-size: 1.2rem;
  margin-top: 30px;
}

.policy-text ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

/* Thank you page */
.gracias-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.gracias-content {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 60px 40px;
  margin: 0 auto;
  max-width: 600px;
}

.gracias-actions {
  margin-top: 40px;
}

/* FAQ using checkbox hack */
.faq-item {
  margin-bottom: 10px;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 5px 5px;
}

.faq-answer-content {
  padding: 15px 20px;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-toggle:checked ~ .faq-question::after {
  transform: rotate(45deg);
}

/* Responsive styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-text {
    order: 2;
  }

  .about-image {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  /* Mobile menu */
  .menu-icon {
    display: block;
  }

  .menu-toggle {
    position: absolute;
    opacity: 0;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #2a003f;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1500;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav li {
    margin: 0;
    margin-bottom: 15px;
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 10px 0;
  }

  .menu-toggle:checked ~ .main-nav {
    right: 0;
  }

  .menu-toggle:checked ~ .menu-icon .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .menu-toggle:checked ~ .menu-icon .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-icon .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  /* Other responsive adjustments */
  .hero-section {
    min-height: 60vh;
    padding: 80px 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section h2 {
    font-size: 1.2rem;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-content p {
    margin-bottom: 15px;
    margin-right: 0;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  /* Smaller devices */
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section h2 {
    font-size: 1rem;
  }

  .advantages-section,
  .services-section,
  .cases-section,
  .about-section,
  .stats-section,
  .contact-section {
    padding: 60px 0;
  }

  .form-container,
  .policy-content,
  .gracias-content {
    padding: 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}
