/* Main Styles for domain.com */
:root {
  --primary: #0047AB;   /* Royal blue - headers, menu, accents */
  --secondary: #1ABC9C; /* Mint green - buttons, interactive elements */
  --background: #F6F4F3; /* Light cream - background */
  --accent: #FF7F32;    /* Orange - important elements, buttons */
  --text: #333333;      /* Dark gray - main text */
  --light: #FFFFFF;     /* White - for contrast */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  margin-bottom: 0.5em;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

/* Header Styles */
header {
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0;
  margin: 0;
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo svg {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.logo-text {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.5rem;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: var(--primary);
  color: var(--light);
}

.mobile-menu-icon {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: var(--light);
  padding: 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  margin: 10px 0;
}

.mobile-menu ul li a {
  display: block;
  padding: 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
  background-color: var(--primary);
  color: var(--light);
}

.mobile-menu.active {
  display: block;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--secondary);
  color: var(--light);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: var(--light);
}

.btn-primary {
  background-color: var(--primary);
}

.btn-secondary {
  background-color: var(--secondary);
}

.btn-accent {
  background-color: var(--accent);
}

/* Section Styles */
section {
  padding: 80px 0;
  overflow: hidden;
}

section:nth-child(odd) {
  background-color: var(--light);
}

section:nth-child(even) {
  background-color: var(--background);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(0, 71, 171, 0.75), rgba(0, 71, 171, 0.85)), url('./img/bMXLlM.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light);
  padding-top: 0;
  margin-top: 0;
  padding-top: 70px;
  text-align: center;
  box-sizing: border-box;
}

.hero-content {
  max-width: 900px;
  padding: 0 20px;
  margin: 0 auto;
}

.hero .btn {
  margin-top: 15px;
  padding: 15px 30px;
  font-size: 1.1rem;
}

.hero h1 {
  color: var(--light);
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 0.3s forwards;
}

.hero .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 0.6s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1;
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--accent);
}

.service-icon {
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 2.5rem;
}

/* Testimonials Section */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card::before {
  content: '"';
  font-size: 60px;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-info h4 {
  margin: 0;
}

.author-info p {
  margin: 0;
  color: #777;
  font-size: 0.9rem;
}

/* Benefits Section */
.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  text-align: center;
  padding: 30px;
  transition: all 0.3s ease;
  background-color: var(--light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--secondary);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary);
}

.benefit-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  font-size: 3.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
  background-color: rgba(26, 188, 156, 0.1);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  display: inline-block;
}

/* How to Order Section */
.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.step-card {
  flex: 0 0 calc(33.33% - 20px);
  background-color: var(--light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.step-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Form Section */
.form-section {
  background-color: var(--light);
  color: var(--text);
}

/* Aseguramos que todos los títulos de sección tengan exactamente el mismo estilo */
.section-title h2 {
  color: var(--primary);
}

.form-container {
  background-color: var(--light);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(26, 188, 156, 0.2);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 01.753 1.659l-4.796 5.48a1 1 0 01-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background-color: var(--light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: #222;
  color: var(--light);
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h3 {
  color: var(--light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #aaa;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--light);
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  margin-right: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 120px auto 50px;
  background-color: var(--light);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-section {
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}

.policy-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .step-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu-icon {
    display: block;
  }
  
  .step-card {
    flex: 0 0 100%;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .header-container {
    padding: 15px 15px;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .hero {
    margin-top: 63px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .policy-container {
    padding: 20px;
  }
  
  header {
    left: 0;
    right: 0;
    height: auto;
    border-bottom: none;
  }
  
  .header-container {
    padding: 20px 15px;
  }
  
  .logo svg {
    height: 45px;
    width: auto;
  }
  
  .logo-text {
    font-size: 1.6rem;
  }
  
  .mobile-menu {
    width: 100%;
    left: 0;
    top: 85px;
  }
  
  header {
    background-image: linear-gradient(to bottom, var(--light) 90%, rgba(255,255,255,0));
    box-shadow: none;
    height: 85px;
  }
  
  .hero {
    margin-top: 0;
    padding-top: 85px;
    width: 100%;
    background-position: top center;
  }
  
  section {
    padding: 60px 10px;
  }
} 