/********************
GENERAL
********************/
:root {
  --main: #e3c98a;   
  --accent: #b2232f;   
  --second: #254c8a;  
  --bg: #181818;   
  --white: #fff;
  --black: #181818;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--white);
  min-height: 100vh;
}

/* Estilos del Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.navbar.visible {
  background-color: rgba(24, 24, 24, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Logo */
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

/* Navegación */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 6px 12px;
  position: relative;
  transition: color 0.3s ease;
}

/* Efecto de subrayado alternante */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--main);
  transition: width 0.3s ease;
}

/* Enlaces impares (1º, 3º, 5º) - Rojo */
.nav-menu li:nth-child(odd) .nav-link:hover {
  color: var(--main);
}

.nav-menu li:nth-child(odd) .nav-link::after {
  background-color: var(--main);
}

/* Enlaces pares (2º, 4º) - Azul */
.nav-menu li:nth-child(even) .nav-link:hover {
  color: var(--main);
}

.nav-menu li:nth-child(even) .nav-link::after {
  background-color: var(--main);
}

/* Mostrar subrayado al hacer hover */
.nav-link:hover::after {
  width: 100%;
}

/* Botón CTA */
.cta {
  background-color: var(--main);
  color: var(--black);
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta:hover {
  background-color: var(--white);
  color: var(--main);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Botón del menú hamburguesa (oculto por defecto) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Diseño responsive */
@media (max-width: 992px) {
  .navbar {
    padding: 15px 5%;
  }
  
  .logo {
    font-size: 1.8rem;
  }
  
  .nav-menu {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    z-index: 101;
  }
  
  .nav-menu {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: auto;
    flex-direction: column;
    background-color: rgba(24, 24, 24, 0.98);
    padding: 80px 0 30px;
    text-align: center;
    transition: top 0.4s ease;
    gap: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    top: 0;
  }
  
  .nav-menu li {
    width: 100%;
    margin: 0;
  }
  
  .nav-link {
    display: block;
    padding: 15px;
    font-size: 1.1rem;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .cta {
    display: none;
  }
  
  /* Animación del menú hamburguesa */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.6rem;
  }
}


    /* Hero section */
    .hero {
      min-height: 100vh;
      width: 100vw;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      background: #222;
    }
    .hero-bg img {
      width: 100vw;
      height: 100vh;
      object-fit: cover;
      filter: brightness(0.6) blur(0px);
      transition: filter 0.5s;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      color: #fff;
      max-width: 700px;
      margin: 0 auto;
      padding: 40px 20px;
    }
    .hero-content h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 3.5rem;
      margin-bottom: 18px;
      letter-spacing: 2px;
      color: var(--white);
      text-shadow: 0 2px 16px rgba(0,0,0,0.18);
    }

    /* .hero-content h1 span{
      color: var(--second);
    } */
    .hero-content p {
      font-size: 1.3rem;
      margin-bottom: 36px;
      color: #f6e9d7;
      text-shadow: 0 2px 10px rgba(0,0,0,0.13);
    }
    .hero-content .btn {
      background: var(--main);
      color: #222;
      border: none;
      border-radius: 24px;
      padding: 14px 36px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s, color 0.3s;
      box-shadow: 0 2px 12px rgba(0,0,0,0.07);
      letter-spacing: 2px;
    }
    .hero-content .btn:hover {
      background: #9e8078;
      color: #fff;
    }
    @media (max-width: 700px) {
      .hero-content h1 { font-size: 2.1rem; }
      .hero-content p { font-size: 1rem; }
      .navbar { padding: 14px 4%; }
      .navbar ul { gap: 16px; }
      .hero-content { padding: 20px 6px; }
    }

    /* SERVICIOS SECTION */
.services-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--main);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
}

.section-divider {
    width: 80px;
    height: 2px;
    background-color: var(--main);
    margin: 15px auto 20px;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--main);
    top: 50%;
    transform: translateY(-50%);
}

.section-divider::before {
    left: -10px;
}

.section-divider::after {
    right: -10px;
}

.section-description {
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: #1e1e1e;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--main);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: right;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--main);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-300, #d0d7e2);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.3rem;
    color: var(--main);
    font-weight: 600;
}

/* EQUIPO SECTION */
.team-section {
    padding: 100px 0;
    background: rgba(30, 30, 30, 0.8);
    position: relative;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-member {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.member-img {
    height: 300px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-member:hover .member-img img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 8px;
}

.member-role {
    display: block;
    color: var(--main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.member-info p {
    color: var(--gray-300, #d0d7e2);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.member-social a:hover {
    background-color: var(--main);
    color: var(--white);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .services-container, 
    .team-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .team-member {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* GALERÍA SECTION */
.gallery-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.gallery-info span {
    color: var(--main);
    font-size: 0.9rem;
}

/* CONTACTO SECTION */
.contact-section {
    padding: 100px 0 0;
    position: relative;
    background-color: var(--bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.contact-card {
    background: #1e1e1e;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--main);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--gray-300, #d0d7e2);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--gray-300, #d0d7e2);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--main);
}

.contact-social {
    grid-column: span 2;
    background: #1e1e1e;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.contact-social h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--main);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Formulario de contacto */
.contact-form-container {
    background: #1e1e1e;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form select option {
  background-color: #1e1e1e; 
  color: var(--white); 
}


.form-group {
    position: relative;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--white);
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--main);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--main-rgb, 218, 165, 32), 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray-500, #5d6b82);
}

.form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background: var(--main);
    color: var(--black);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-button i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.form-button:hover {
    background: var(--white);
    color: var(--main);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-button:hover i {
    transform: translateX(5px);
}

/* Mapa */
.contact-map {
    width: 100%;
    height: 450px;
    margin-top: 50px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-social {
        grid-column: span 1;
    }
    
    .contact-map {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 250px;
    }
    
    .gallery-info h3 {
        font-size: 1.2rem;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
}
