/*
Theme Name: Group Maros Custom Updated
Theme URI: https://groupmaros.com
Author: Group Maros
Author URI: https://groupmaros.com
Description: Tema personalizado para el sitio Group Maros basado en un diseño playero y profesional.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: groupmaros-custom-updated
*/

/*
 * Stylesheet for the revamped Group Maros website
 *
 * Este diseño utiliza una paleta de colores ligera inspirada en la playa para evocar
 * vibras tropicales mientras mantiene una apariencia limpia y profesional. El
 * diseño es totalmente responsivo, ajustándose con gracia de escritorio a
 * dispositivos móviles. Los íconos son proporcionados por Font Awesome y las fuentes por
 * Google Fonts (Montserrat).
 */

/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #001d39;
  background-color: #fbf5d7; /* light sand */
  line-height: 1.6;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Top Bar */
.top-bar {
  background: #66d0e7;
  color: #001d39;
  font-size: 0.9rem;
  padding: 0.4rem 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.top-bar span {
  margin-right: 1rem;
}

.top-bar .promo {
  font-weight: 600;
}

/* Header & Navigation */
header {
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4c9cb8;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

nav ul li a {
  text-decoration: none;
  color: #001d39;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #4c9cb8;
}

/* Dropdown menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  min-width: 180px;
  top: 2.2rem;
  left: 0;
  padding: 0.5rem 0;
  z-index: 5;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 0.4rem 1rem;
  color: #001d39;
  font-size: 0.9rem;
}

.dropdown-menu li a:hover {
  background: #f0f9fb;
  color: #4c9cb8;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #001d39;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  /* Use a beach‑inspired gradient instead of an image for the hero
   * section. The gradient transitions from aqua blue at the top
   * through pale turquoise to a warm sand tone. This avoids
   * embedding heavy graphics and keeps the focus on the messaging. */
  background-image: none;
  background: linear-gradient(to bottom, #66d0e7 0%, #afe1e3 50%, #fbf5d7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  max-width: 700px;
  z-index: 1;
}

.hero h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fdeab7;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #fbf5d7;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary {
  background: #4c9cb8;
  color: #ffffff;
}

.btn-primary:hover {
  background: #3a84a0;
}

/* Services Section */
.services {
  padding: 4rem 0;
  background: #ffffff;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #001d39;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fdfdfd;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.service-card i {
  font-size: 2rem;
  color: #4c9cb8;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #001d39;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #4c4c4c;
}

.service-card .service-link {
  color: #4c9cb8;
  font-weight: 600;
  text-decoration: none;
}

.service-card .service-link:hover {
  text-decoration: underline;
}

/* Explore Section */
.explore {
  padding: 4rem 0;
  background: #fbf5d7;
}

.explore h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #001d39;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.explore-item {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.explore-item:hover {
  transform: translateY(-4px);
}

.explore-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #4c9cb8;
}

.explore-item p {
  font-size: 0.95rem;
  color: #4c4c4c;
}

/* Features Section */
.features {
  background: #ffffff;
  padding: 2rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.feature-item i {
  font-size: 1.8rem;
  color: #4c9cb8;
  margin-bottom: 0.5rem;
}

.feature-item span {
  display: block;
  font-weight: 600;
  color: #001d39;
}

/* Footer */
footer {
  background: #001d39;
  color: #ffffff;
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #66d0e7;
}

.footer-about p {
  font-size: 0.9rem;
  color: #e0e8f0;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #66d0e7;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #e0e8f0;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  color: #e0e8f0;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: #66d0e7;
}

.copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #8fa8c4;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
  }
  nav ul.open {
    display: flex;
  }
  nav ul li {
    padding: 1rem 0;
    text-align: center;
  }
  .menu-toggle {
    display: block;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
  }
  .dropdown-menu li a {
    padding: 0.3rem 0;
  }
}