/*
Theme Name: Astra Child
Template: astra
Version: 1.0.1
*/

/* Google Font Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* GENERAL RESET */
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
	
}

/* WRAPPER HERO */
.fullhero-wrapper {
  background: url('http://aluminumdeluxe.com/wp-content/uploads/2025/06/tropical-oasis-hero.webp') no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
  color: white;
  padding: 2rem 0;
  min-height: 100vh;
}

/* HEADER */
.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo img {
  height: 100px;
  max-width: 100%;
}

.custom-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.custom-menu ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-right: 3rem; /* Ajusta aquí */
}

.custom-menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.menu-cta {
  background-color: #04123B;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.menu-cta:hover {
  background-color: #010d26;
  color: white;
}

/* HERO SECTION */
.custom-hero {
  max-width: 1200px;
  margin: 1rem auto;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hero-left, .hero-right {
  flex: 1;
  min-width: 300px;
}

.hero-left {
  max-width: 600px;
  text-align: left;
}

.hero-left h1, .hero-left h2 {
  color: white;
}

.hero-left h1 {
  font-size: 2rem;
  text-transform: capitalize;
  margin-bottom: 1rem;
}

.hero-left h2 {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-transform: none !important;
}

.cta-button {
  background-color: #04123B;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap; /* ✅ HERE!!! no se parte */
  transition: background-color 0.3s ease;
  margin-left: 1.5rem; /* Ajusta el valor */
}

.cta-button:hover {
  background-color: #010d26;
}

.hero-right img {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
}

}
/* REVIEWS */
.hero-reviews-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px 0;
}

.hero-reviews-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.google-badge-floating {
  flex-shrink: 0;
  width: 100px;
  margin-right: 5px;
  margin-left: -5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-reviews-content {
  max-width: 1200px;
  width: 100%;
  margin-left: 5%;
}

.reviews-row {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
}

.review-card {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  color: #000;
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.stars {
  color: gold;
  font-size: 16px;
}

/* FOOTER */
/* === FOOTER ELEGANTE Y EQUILIBRADO === */


/* === RESPONSIVE FOOTER === */
@media (max-width: 768px) {
  .custom-footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .custom-footer .footer-col {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 2rem;
    align-items: center;
  }

  .footer-logo {
    margin: 0 auto 1rem;
    display: block;
  }

  .footer-address {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}


/* RESPONSIVE - TABLET & MOBILE */
/* RESPONSIVE - REVIEWS + BADGE */
/* ==== CAMBIO A LA VISTA!!! MEDIA QUERIES PARA REVIEWS Y BADGE ==== */

@media (min-width: 769px) and (max-width: 1280px) {
  .google-badge-floating {
    margin-left: 0;            /* ==== CAMBIO A LA VISTA!!! evita que se corte en monitores medianos === */
    margin-right: 1rem;        /* ==== CAMBIO A LA VISTA!!! separación del bloque de reviews === */
  }

  .hero-reviews-wrapper {
    justify-content: center;   /* ==== CAMBIO A LA VISTA!!! centra el badge + reviews === */
  }

  .hero-reviews-content {
    margin-left: 0;            /* ==== CAMBIO A LA VISTA!!! evita empuje innecesario en laptops === */
  }
}

@media (max-width: 1024px) {
  .hero-reviews-wrapper {
    flex-direction: column;   /* ==== CAMBIO A LA VISTA!!! apila badge y reviews verticalmente === */
    align-items: center;
  }

  .reviews-row {
    flex-direction: column;   /* ==== CAMBIO A LA VISTA!!! una review por línea === */
    gap: 20px;
    align-items: center;
  }

  .review-card {
    width: 100%;
    max-width: 320px;         /* ==== CAMBIO A LA VISTA!!! límite visual para reviews === */
  }

  .google-badge-floating {
    margin: 0 auto 1rem;      /* ==== CAMBIO A LA VISTA!!! centrado en tablets === */
    justify-content: center;
    display: flex;
  }

  .hero-reviews-content {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .hero-reviews-wrapper {
    padding: 0 10px;
  }

  .reviews-row {
    gap: 16px;
  }

  .review-card {
    padding: 1rem;
  }

  .google-badge-floating {
    margin: 0 auto 1rem;      /* ==== CAMBIO A LA VISTA!!! centrado en mobile === */
    justify-content: center;
    display: flex;
  }

  .hero-reviews-content {
    margin-left: 0;
  }
}

/* RESPOSIVE CODE FOR HEADER*/

@media (max-width: 480px) {
  .custom-header {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-menu {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-left h1 {
    font-size: 1.5rem;
  }

  .hero-left h2 {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }

  .custom-hero {
    padding: 1rem;
  }

  .google-badge-floating {
    margin-left: 0;
    margin-bottom: 1rem;
    justify-content: center;
  }

  .hero-reviews-content {
    margin-left: 0;
  }

  .custom-footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .custom-footer .footer-col {
    width: 100%;
    max-width: 100%;
  }

  .footer-logo {
    margin: 0 auto 1rem;
    display: block;
  }

  .social-icons {
    justify-content: center;
  }
}
/*-------*/

	  /* Fuente Montserrat solo para header, menú, modal y page (no footer) */
  body,
  .custom-header,
  .custom-menu,
  .custom-menu ul li a,
  .custom-menu a.cta-button,
  .modal-content,
  .modal-content h3,
  .modal-content input,
  .modal-content button,
  .page-content {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif !important;
  }

@media (max-width: 768px) {
  .hero-right {
    flex-basis: 100%;
    max-width: 100%;
    text-align: center;
  }

  .hero-right img {
    display: block;
    max-width: 100%;
    width: auto; /* O prueba 100% también */
    height: auto;
  }
}
