body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #000;  
  color: #d4af37; /* dorado */
  overflow-x: hidden;
  line-height: 1.6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.header {
  text-align: center;
  padding: 40px 20px;
}

.header h1 {
  font-size: 2.5rem;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sub {
  color: #c9a239;
  font-size: 1.1rem;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Tarjetas */
.card {
  display: flex;
  gap: 25px;
  align-items: center;
  opacity: 0;
  transform: translateY(60px);
  transition: all .9s ease;
}

.card img {
  width: 45%;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

/* Navegación */
.nav {
  background: #0a0a0a;
  border-bottom: 1px solid rgba(212,175,55,0.06);
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 999;
  transition: transform .28s ease, box-shadow .28s ease;
}
.nav-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 2rem);
}

.brand{ 
  color:#d4af37; 
  text-decoration:none; 
  font-weight:700; 
  font-size: clamp(1rem, 3vw, 1.5rem);
  white-space: nowrap;
}

.nav-links{ 
  list-style:none; 
  display:flex; 
  gap: clamp(0.75rem, 2vw, 1.5rem); 
  margin:0; 
  padding:0;
  flex-wrap: wrap;
}

.nav-links a{ 
  color:#e5c96c; 
  text-decoration:none;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #d4af37;
}

.nav-checkbox{ display:none }

.nav-toggle{ 
  display:none; 
  background:transparent; 
  border:0; 
  color:#d4af37; 
  font-size:1.6rem; 
  cursor:pointer;
  padding: 0;
}

/* clase para ocultar el nav al hacer scroll hacia abajo */
.nav--hidden{ transform: translateY(-110%); box-shadow: none }

/* Hero */
.hero{ 
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('fts-vds/decoracion de eventos.jpg.jpeg') center/cover no-repeat; 
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 2rem); 
  color:#fff;
  min-height: 60vh;
  display: flex;
  align-items: center;
  margin-top: 70px;
}

.hero-inner{ 
  max-width:1100px; 
  margin:0 auto; 
  text-align:left;
  width: 100%;
}

.hero h1{ 
  color:#fff; 
  font-size: clamp(2rem, 6vw, 2.8rem); 
  margin:0 0 12px;
  line-height: 1.2;
}

.hero .lead{ 
  color:#f3e0b0; 
  font-size: clamp(1rem, 2.5vw, 1.2rem); 
  margin-bottom:18px;
  max-width: 600px;
}

/* Contenedor y secciones */
.container{ 
  max-width:1100px; 
  margin:30px auto; 
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.intro{ 
  margin-bottom:26px; 
  color:#e9c977;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
}

.intro h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
  color: #d4af37;
}

.cards{ 
  display:grid; 
  grid-template-columns:1fr; 
  gap: clamp(1.5rem, 3vw, 2rem);
}

.card{ 
  align-items:stretch;
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  transform: translateY(60px);
  transition: all .9s ease;
}

.card img{ 
  width:45%;
  min-width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.card .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.card .info h3 {
  color: #d4af37;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 1rem;
}

.card .info p {
  color: #e5c96c;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.btn{ display:inline-block }

/* primary button styling */
.btn {
  background: #d4af37;
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.btn:hover {
  background: #f0c846;
  transform: translateY(-2px);
}

/* space between hero buttons */
.hero .btn + .btn {
  margin-left: 1rem;
}

@media (max-width: 800px) {
  .hero .btn {
    /* keep buttons narrow and centered on phones */
    width: auto;
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin: 0.5rem auto;
    min-width: 140px;
  }
  .hero-inner { text-align: center; }

  /* adjust gallery grid for small screens */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    justify-items: center;
    gap: 1.5rem;
  }
}


/* Gallery of all images */
.fts-gallery {
  margin: 40px 0;
  text-align: center;
}
.fts-gallery h2 {
  color: #d4af37;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}
.fts-gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 1rem;
}
.fts-gallery .grid img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.fts-gallery .grid img:hover {
  transform: scale(1.05);
}

/* Contact y footer */
.contact{ margin:36px 0; color:#e9c977 }
.site-footer{ background:#070707; padding:18px 20px; color:#9a7b36}
.footer-inner{ max-width:1100px; margin:0 auto}

/* Mostrar animación (usa clase .show en script.js) */
.hidden{ opacity:0; transform:translateY(30px); transition:all .8s ease}
.show{ opacity:1; transform:none }

@media (min-width:801px){
  .cards{ grid-template-columns: 1fr 1fr; }
  .card img{ height:220px }
  .card {
    flex-direction: row;
  }
  .card.reverse {
    flex-direction: row-reverse;
  }
}

@media (max-width:800px){
  .nav {
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-toggle{ 
    display: inline-block;
  }

  .nav-links{
    display: none;
    width: 100%;
    background: #070707;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
    gap: clamp(0.5rem, 1.5vw, 1rem);
    flex-direction: column;
    margin-top: 8px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .nav-checkbox:checked ~ .nav-toggle ~ .nav-links { 
    display: flex; 
  }

  .nav-links li { 
    padding: clamp(0.5rem, 1vw, 0.75rem) 0; 
  }

  .nav.nav--open{ 
    box-shadow: 0 6px 22px rgba(0,0,0,0.5) 
  }

  /* Ajustes de tarjetas en móvil */
  .cards{ 
    grid-template-columns: 1fr; 
  }

  .card { 
    flex-direction: column;
    text-align: center;
  }

  .card.reverse {
    flex-direction: column;
  }

  .card img{ 
    width: 90%;
    height: 200px;
    margin: 0 auto;
    border-radius: 12px;
  }

  .hero {
    margin-top: 60px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
}

@media (max-width: 600px) {
  .header h1 {
    font-size: 1.5rem;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .nav-links a {
    padding: 0.75rem 0;
    display: block;
    font-size: 0.9rem;
  }

  .section h2 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }

  .hero {
    padding: 2rem 1rem;
    margin-top: 50px;
  }

  .hero h1 {
    font-size: 1.3rem;
  }

  .hero .lead {
    font-size: 0.95rem;
  }

  .cards {
    gap: 1rem;
  }

  .card img {
    width: 100%;
    height: 150px;
  }

  .card .info {
    padding: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 10px 0.75rem;
  }

  .brand {
    font-size: 1rem;
  }

  .hero {
    padding: 1.5rem 1rem;
    min-height: 50vh;
    margin-top: 45px;
  }

  .hero h1 {
    font-size: 1.1rem;
  }

  .intro h2 {
    font-size: 1.2rem;
  }

  .card .info h3 {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .container {
    padding: 0 0.75rem;
  }
}

/* ===== MODAL PARA IMÁGENES ===== */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 20px;
  box-sizing: border-box;
  overflow: auto;
  justify-content: center;
  align-items: center;
}

.image-modal.active {
  display: flex;
}

.modal-image {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #d4af37;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2001;
}

.modal-close:hover {
  color: #f3d57c;
}

.modal-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 2001;
}

.modal-prev,
.modal-next {
  background-color: rgba(212, 175, 55, 0.8);
  color: #000;
  border: none;
  padding: 12px 18px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.modal-prev:hover,
.modal-next:hover {
  background-color: #d4af37;
  transform: scale(1.1);
}

.modal-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .modal-image {
    max-width: 95%;
    max-height: 70vh;
  }

  .modal-close {
    font-size: 30px;
    top: 10px;
    right: 15px;
  }

  .modal-prev,
  .modal-next {
    padding: 10px 14px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .modal-nav {
    bottom: 20px;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .modal-image {
    max-width: 98%;
    max-height: 60vh;
  }

  .modal-close {
    font-size: 24px;
    top: 5px;
    right: 10px;
  }

  .modal-prev,
  .modal-next {
    padding: 8px 12px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .modal-nav {
    bottom: 15px;
    gap: 10px;
  }
}

/* Info */
.info h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

.info p {
  margin-bottom: 16px;
  color: #e5c96c;
  width: auto;
  max-width: none;
}

/* Layout para páginas internas: columna de contenido + columna de imagen */
.page-grid{ display:grid; grid-template-columns: 1fr 380px; gap:24px; align-items:start }
.page-grid .aside-img{ width:100%; height:260px; object-fit:cover; border-radius:10px }
.page-grid .content{ color:#f3e0b0 }

@media (max-width:900px){
  .page-grid{ grid-template-columns: 1fr }
  .page-grid .aside-img{ height:220px }
}

/* Botón */
.btn {
  text-decoration: none;
  padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  background: #d4af37;
  color: #000;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn:hover {
  background: #f3d57c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Cambia el orden para el del centro */
.reverse {
  flex-direction: row-reverse;
}

/* Animación al aparecer */
.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 800px) {
  .card {
    flex-direction: column;
    text-align: center;
  }

  .card img {
    width: 90%;
  }
}
/* Sección de redes */
.social-section {
  text-align: center;
  margin: 60px auto;
  padding: 40px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.social-title {
  font-size: 2rem;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.social-text {
  color: #e5c96c;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-btn {
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  transition: 0.3s ease;
  color: #000;
}

/* WhatsApp */
.whatsapp {
  background: #25D366;
}
.whatsapp:hover {
  background: #32e374;
}

/* TikTok */
.tiktok {
  background: #4000ff;
}
.tiktok:hover {
  background: #712aff;
}
.instagram {
  background: #c9718e;
}
.instagram:hover {
  background: #e28fa8;
}
/* Facebook */
.facebook {
  background: #1877f2;
}
.facebook:hover {
  background: #3d8bff;
}

/* animación al aparecer */
.social-section.hidden {
  opacity: 0;
  transform: translateY(60px);
  transition: all .9s ease;
}

.social-section.show {
  opacity: 1;
  transform: translateY(0);
}