@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Montserrat:wght@300;400;500&display=swap');

:root {
  /* NUEVA PALETA DE COLORES SEGÚN ESPECIFICACIONES */
  --azul-institucional: #1B263B;       /* Oxford Blue */
  --dorado-mate: #C5A059;              /* Champagne Gold */
  --crema-suave: #F8F5F2;              /* Antique White */
  --gris-carbon: #333333;              /* Charcoal */
  --blanco: #FFFFFF;
  
  /* Colores adicionales para fondos */
  --bg-strong: #070708;
  --bg-soft: #0f1720;
  --card-bg: rgba(255,255,255,0.03);
  --gold-soft: rgba(197, 160, 89, 0.12);
  --glass: rgba(255,255,255,0.02);
  --shadow-1: 0 6px 22px rgba(2,6,23,0.6);
  --radius-lg: 16px;
  --radius-sm: 10px;
}

/* ------------------------------ RESET Y BASE ---------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--crema-suave);
  color: var(--gris-carbon);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--azul-institucional);
  letter-spacing: 0.5px;
}

/* Contenedor general */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------ HEADER STICKY ---------------------------------*/
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 38, 59, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header-content {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-center img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-center img:hover {
  transform: scale(1.05);
}

/* ------------------------------ NAVEGACIÓN COMPLETA ---------------------------------*/
.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--azul-institucional);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--dorado-mate);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--dorado-mate);
}

/* Dropdown menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(27, 38, 59, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown-submenu {
  position: relative;
}

.submenu-level-2 {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(27,38,59,0.1);

  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.dropdown-submenu:hover .submenu-level-2 {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.submenu-level-2 li {
  border-bottom: 1px solid rgba(27,38,59,0.05);
}

.submenu-level-2 li:last-child {
  border-bottom: none;
}

.submenu-level-2 a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--gris-carbon);
  transition: all 0.3s ease;
}

.submenu-level-2 a:hover {
  background-color: var(--crema-suave);
  color: var(--azul-institucional);
  padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  border-bottom: 1px solid rgba(27, 38, 59, 0.05);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--gris-carbon);
  text-transform: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: var(--crema-suave);
  color: var(--azul-institucional);
  padding-left: 25px;
}

/* Botón Portal del Socio */
.btn-socio {
  background-color: var(--azul-institucional);
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 4px;
  border: 2px solid var(--azul-institucional);
  transition: all 0.3s ease;
}

.btn-socio:hover {
  background-color: transparent;
  color: var(--azul-institucional) !important;
}

/* ------------------------------ BOTÓN HAMBURGUESA (SOLO VISIBLE EN MÓVIL) ---------------------------------*/
.menu-toggle {
  display: none; /* Oculto por defecto en PC */
  position: absolute;
  top: 25px;
  right: 20px;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.menu-toggle .bar {
  width: 28px;
  height: 2.5px;
  background-color: var(--azul-institucional);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ------------------------------ MENÚ MÓVIL (OCULTO POR DEFECTO) ---------------------------------*/
.mobile-menu-container {
  display: none !important; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(27, 38, 59, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  flex-direction: column;
  padding: 30px 25px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nested-submenu {
  margin-left: 15px;
  border-left: 2px solid rgba(197, 160, 89, 0.5);
  padding-left: 10px;
}

.nested-dropdown > a {
  font-size: 15px !important;
  color: rgba(255,255,255,0.85);
}

.mobile-menu-container.active {
  display: flex !important;
  transform: translateX(0);
}

.close-menu {
  align-self: flex-end;
  background: none;
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--dorado-mate);
  font-size: 20px;
  cursor: pointer;
  padding: 12px;
  margin-bottom: 30px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-menu:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--dorado-mate);
  transform: rotate(90deg);
}

.mobile-logo {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-logo img {
  height: 55px;
  width: auto;
  filter: brightness(0) invert(1) sepia(1) saturate(0.5) hue-rotate(-5deg);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1;
}

.mobile-nav-links > li {
  margin-bottom: 5px;
}

.mobile-nav-links > li > a {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.mobile-nav-links > li > a:hover,
.mobile-nav-links > li > a:focus {
  background: rgba(255, 255, 255, 0.05);
  color: var(--dorado-mate);
  border-color: rgba(197, 160, 89, 0.2);
  padding-left: 20px;
}

.mobile-dropdown-toggle .fa-chevron-down {
  font-size: 12px;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.5);
}

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 20px;
  display: none;
  border-left: 2px solid var(--dorado-mate);
  padding-left: 15px;
}

.mobile-submenu.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-submenu li {
  margin-bottom: 8px;
}

.mobile-submenu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  padding: 12px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mobile-submenu a:hover {
  color: var(--dorado-mate);
  background: rgba(197, 160, 89, 0.08);
  padding-left: 20px;
}

.btn-socio-mobile {
  display: block;
  background: linear-gradient(135deg, var(--dorado-mate), #d4b56a);
  color: var(--azul-institucional) !important;
  padding: 16px 25px !important;
  border-radius: 8px;
  text-align: center;
  margin: 25px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600 !important;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
  transition: all 0.3s ease;
}

.btn-socio-mobile:hover {
  background: linear-gradient(135deg, #d4b56a, var(--dorado-mate));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

/* ------------------------------ BOTÓN FLOTANTE ---------------------------------*/
.floating-membership-btn {
  position: fixed;
  bottom: 75px;
  right: 30px;
  background-color: var(--azul-institucional);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(27, 38, 59, 0.3);
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
}

.floating-membership-btn:hover {
  background-color: var(--dorado-mate);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(197, 160, 89, 0.3);
}

.salones-section {
  background-color: var(--crema-suave);
  padding: 150px 0;
}

.salones-container {
  width: 85%;
  max-width: 1300px;
  margin: 0 auto;
}

/* HEADER */
.salones-header {
  text-align: center;
  margin-bottom: 100px;
}

.salones-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 3.4rem;
  color: var(--azul-institucional);
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.salones-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--dorado-mate);
}

.salones-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  margin-top: 25px;
  color: var(--gris-carbon);
  letter-spacing: 1px;
}

/* GRID */
.salones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* CARD */
.salon-card {
  background: var(--blanco);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(27, 38, 59, 0.08);
  transition: all 0.35s ease;
}

.salon-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(27, 38, 59, 0.08);
  border-color: rgba(197, 160, 89, 0.4);
}

.salon-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* CONTENT */
.salon-content {
  padding: 40px;
}

.salon-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--azul-institucional);
  margin-bottom: 20px;
}

.salon-info {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.salon-info li {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gris-carbon);
}

.salon-evento {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--azul-institucional);
}

.main-footer {
  background-color: var(--azul-institucional);
  color: white;
  padding: 80px 0 30px;
}

.footer-top {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--dorado-mate);
}

.footer-logo img {
  height: 80px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1) sepia(1) saturate(1.5) hue-rotate(-5deg);
  opacity: 0.9;
}

.footer-tagline {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--dorado-mate);
  padding-left: 5px;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--dorado-mate);
  margin-top: 3px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.footer-social a {
  color: var(--dorado-mate);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  border: none !important;
}

.footer-social i {
  font-size: 24px;
  -webkit-text-stroke: 1px var(--dorado-mate);
  color: transparent;
  text-shadow: 
      0.5px 0.5px 0 var(--dorado-mate),
      -0.5px -0.5px 0 var(--dorado-mate),
      0.5px -0.5px 0 var(--dorado-mate),
      -0.5px 0.5px 0 var(--dorado-mate);
  transition: all 0.3s ease;
}

.footer-social a:hover i {
  -webkit-text-stroke: 1px #e6c27e;
  text-shadow: 
      0.5px 0.5px 0 #e6c27e,
      -0.5px -0.5px 0 #e6c27e,
      0.5px -0.5px 0 #e6c27e,
      -0.5px 0.5px 0 #e6c27e;
  transform: translateY(-3px);
}

.footer-social a:first-child i {
  font-size: 26px;
  -webkit-text-stroke: 1.2px var(--dorado-mate);
}

.footer-social a:last-child i {
  font-size: 22px;
}

.footer-bottom {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--dorado-mate);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

@media (min-width: 1400px) {
    .salones-section {
        padding: 150px 0;
    }

    .salones-container {
        max-width: 1500px;
    }

    .salones-header h2 {
        font-size: 3.8rem;
    }

    .salones-subtitle {
        font-size: 1.3rem;
    }

    .salones-grid {
        gap: 60px;
    }

    .salon-card img {
        height: 300px;
    }

    .salon-content {
        padding: 50px;
    }

    .salon-content h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }  
    
    .salones-section {
        padding: 150px 0;
    }

    .salones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .salon-card img {
        height: 240px;
    }

    .salon-content {
        padding: 35px;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 767px) {
    .header-content {
        width: 95%;
    }
    
    .logo-center img {
        height: 50px;
        bottom: 50px;
    }
    
    .floating-membership-btn {
        position: fixed;
        bottom: 50px;
        right: 30px;
        background-color: var(--azul-institucional);
        color: white;
        padding: 15px 25px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        gap: 10px;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(27, 38, 59, 0.3);
        transition: all 0.3s ease;
        font-family: 'Montserrat', sans-serif;
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .floating-membership-btn:hover {
        background-color: var(--dorado-mate);
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(197, 160, 89, 0.3);
    }

    .salones-section {
        padding: 150px 0;
    }

    .salones-header {
        margin-bottom: 70px;
    }

    .salones-header h2 {
        font-size: 2.6rem;
    }

    .salones-subtitle {
        font-size: 1.05rem;
    }

    .salones-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .salon-card img {
        height: 220px;
    }

    .salon-content {
        padding: 30px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
    
    .floating-membership-btn {
        bottom: 30px;
        right: 20px;
        padding: 12px 20px;
        font-size: 13px;
    }
}

@media (max-width: 479px) {
    .header-content {
        width: 95%;
    }
    
    .logo-center img {
        height: 50px;
        bottom: 50px;
    }
    

    .floating-membership-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
        max-width: 48px;
    }

    .floating-membership-btn i {
        font-size: 10px;
    }
    
    .floating-membership-btn span:not(:first-child) {
        display: none;
    }
    
    .floating-membership-btn i {
        font-size: 16px;
        margin: 0;
    }

    .salones-section {
        padding: 150px 0;
    }

    .salones-container {
        width: 92%;
    }

    .salones-header {
        margin-bottom: 60px;
    }

    .salones-header h2 {
        font-size: 2.2rem;
    }

    .salones-subtitle {
        font-size: 0.95rem;
    }

    .salon-card img {
        height: 200px;
    }

    .salon-content {
        padding: 25px;
    }

    .salon-content h3 {
        font-size: 1.6rem;
    }

    .salon-info li,
    .salon-evento {
        font-size: 0.95rem;
    }
    
    .footer-social {
        gap: 20px;
    }
    
    .footer-social i {
        font-size: 20px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .salones-section {
        padding: 150px 0;
    }

    .salones-header {
        margin-bottom: 40px;
    }

    .salon-card img {
        height: 160px;
    }

    .salon-content {
        padding: 20px;
    }
  
}