/* ==========================
   VARIABLES Y TIPOGRAFÍAS
========================== */
:root {
  --primary-color: #cfa97a;
  --secondary-color: #fff;
  --accent-color: #b38b5b;
  --accent-dark: #7a5c40;
  --text-color: #333;
  --font-heading: 'Parisienne', cursive;
  --font-body: 'Open Sans', sans-serif;
  --section-bg: #fdfaf7;
  --modal-bg: rgba(0,0,0,0.6);
}

/* ==========================
   ESTILOS GLOBALES
========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--section-bg);
}

h1, h2, h3, h4 {
  margin-bottom: 20px;
}

a {
  text-decoration: none;
}

section {
  padding: 80px 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--accent-dark);
}

/* ==========================
   NAVBAR
========================== */
#main-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

.nav-container .logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-dark);
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s, transform 0.3s;
}

.nav-links li a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* ==========================
   ICONOS SOCIALES EN NAV
========================== */
.nav-socials {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-socials .social-link img {
  width: 30px;   /* ancho fijo */
  height: 30px;  /* alto fijo */
  object-fit: contain; /* asegura que no se deformen */
  transition: transform 0.3s;
}   

.nav-socials .social-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.nav-socials .social-link img:hover {
  transform: scale(1.2);
}

/* Ajuste nav-container para que los socials estén a la derecha */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* se puede poner menú hamburguesa */
  }
  .nav-socials {
    gap: 10px;
  }
}



/* ==========================
   HERO
========================== */
.hero-bg {
  background: linear-gradient(135deg, #fdf6f0, #fdeed6);
  text-align: center;
  padding: 160px 20px;
  position: relative;
}

.hero-bg h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--accent-dark);
}

.hero-bg p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-bg .btn {
  background-color: var(--accent-color);
  color: #fff;
  padding: 15px 35px;
  font-size: 1.2rem;
  border-radius: 50px;
  transition: all 0.3s;
}

.hero-bg .btn:hover {
  background-color: var(--accent-dark);
  transform: translateY(-3px);
}

/* ==========================
   QUÉ HACEMOS
========================== */
#what-we-do {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

#what-we-do .section-text {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
}

/* ==========================
   SERVICIOS
========================== */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* CENTRA TODAS LAS FILAS */
  gap: 40px;
  padding: 0 20px;
}

.service-card {
  background: linear-gradient(145deg, #fff, #fff5ed);
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.07);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  cursor: pointer;
  max-width: 380px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
  border: 2px solid var(--accent-color);
}

.service-icon {
  font-size: 3.5rem;
  background-color: var(--accent-color);
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(8deg);
}

.service-card h3 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.service-desc {
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
}

.service-list {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 15px;
}

.service-list li {
  font-size: 1rem;
  color: #666;
  margin-bottom: 8px;
}

.service-benefit {
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-color);
  margin-top: 10px;
}

/* Indicador para usuarios */
.click-hint {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-top: 10px;
  text-align: center;
  font-weight: 600;
  opacity: 0.85;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
  .services-grid {
    gap: 25px;
  }
  .service-card {
    padding: 30px 20px;
  }
  .service-card h3 {
    font-size: 1.6rem;
  }
}

/* ==========================
   INVITACIÓN EN 1 DÍA
========================== */
#fast-delivery {
  background: linear-gradient(135deg, #f6e7d7, #d4b996); /* dorado suave a beige */
  text-align: center;
  padding: 80px 20px;
  border-radius: 25px;
  margin: 60px auto;
  max-width: 900px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  color: #5a3e1b; /* texto más oscuro para contraste */
  transition: transform 0.3s, box-shadow 0.3s;
}

#fast-delivery:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

#fast-delivery h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 20px;
}

#fast-delivery p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

#fast-delivery .delivery-btn {
  background-color: #5a3e1b; /* mismo color que el texto para contraste */
  color: #fff;
  padding: 15px 35px;
  font-size: 1.2rem;
  border-radius: 50px;
  transition: all 0.3s;
  text-decoration: none;
  font-weight: 600;
}

#fast-delivery .delivery-btn:hover {
  background-color: #7a5c40;
  color: #fff;
  transform: translateY(-3px);
}



/* ==========================
   MODALS
========================== */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: var(--modal-bg);
  padding-top: 60px;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  position: relative;
  text-align: left;
}

.modal-content h3 {
  font-family: var(--font-heading);
  color: var(--accent-dark);
  margin-bottom: 15px;
}

.modal-content ul {
  padding-left: 20px;
}

.modal-content li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #555;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent-dark);
}

/* ==========================
   PROYECTO DESTACADO
========================== */
#projects {
  background: var(--section-bg);
  padding: 120px 20px;
  text-align: center;
}

.projects-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
  margin-top: 60px;
}

.project-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  padding: 35px;
  width: 550px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.15);
}

.project-item img {
  width: 100%;
  height: 320px;
  border-radius: 25px;
  object-fit: cover;
  margin-bottom: 20px;
}

.project-item h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.project-item p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: #555;
  font-weight: 500;
}

/* ---- Responsive Fix ---- */
@media (max-width: 1024px) {
  .project-item {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    flex-direction: column;
    align-items: center;
  }

  .project-item {
    width: 95%;
    padding: 25px;
  }

  .project-item img {
    height: 250px;
  }

  .project-item h3 {
    font-size: 1.7rem;
  }

  .project-item p {
    font-size: 1.05rem;
  }
}



/* ==========================
   CONTACTO
========================== */
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-btn {
  background-color: var(--accent-color);
  color: #fff;
  padding: 15px 35px;
  font-size: 1.2rem;
  border-radius: 50px;
  transition: all 0.3s;
}

.contact-btn:hover {
  background-color: var(--accent-dark);
  transform: translateY(-3px);
}

/* ==========================
   ANIMACIONES REVEAL
========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 1024px) {
  .services-grid {
    gap: 30px;
  }
  .projects-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-bg h1 {
    font-size: 3rem;
  }
  .hero-bg p {
    font-size: 1.2rem;
  }

  .service-card {
    padding: 30px 15px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 3rem;
  }

  .projects-grid {
    flex-direction: column;
    gap: 30px;
  }

  .project-item {
    max-width: 90%;
    padding: 25px;
  }
}
