/* CSS Variables */
:root {
  --primary-font: 'Montserrat', sans-serif;
  --script-font: 'Pinyon Script', cursive;
  --text-color: #333333;
  --light-text: #ffffff;
  --overlay-color: rgba(0, 0, 0, 0.4);
  --transition-speed: 0.3s;
  --background-color: #ffffff;
  --accent-color: #f0f0f0;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: var(--primary-font);
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navegación */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: var(--background-color);
  z-index: 100;
  transition: all 0.3s ease;
}

.logo a {
  font-family: var(--script-font);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--text-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.7;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 100;
}

.menu-icon {
  position: relative;
  width: 30px;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

.menu-icon::before {
  transform: translateY(-8px);
}

.menu-icon::after {
  transform: translateY(8px);
}

/* Contenido principal */
.professional-content {
  padding: 120px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Secciones de categoría */
.category-section {
  margin-bottom: 100px;
}

.category-title {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.category-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.category-title a:hover {
  opacity: 0.7;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background-color: var(--text-color);
}

/* Category Link y Image Container */
.category-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Contenedor de imagen única por categoría */
.category-image-container {
  max-width: 1200px;
  margin: 0 auto;
  pointer-events: none; /* Importante: evitar que capte eventos de clic */
}

.category-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  transition: opacity 0.5s ease;
  pointer-events: none; /* Importante: evitar que capte eventos de clic */
}

.category-link:hover .category-image {
  opacity: 0.9;
}

/* Eliminar cualquier estilo de cursor pointer no deseado */
.category-image-container *,
.category-image {
  cursor: default;
}

.category-link {
  cursor: pointer;
}

/* Galería de imágenes */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 0;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #888;
  background-color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 900px) {
  .main-nav {
    padding: 15px 20px;
  }
  
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
  }
  
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    flex-direction: column;
    align-items: center;
    background-color: var(--background-color);
    overflow: hidden;
    transition: height 0.5s ease;
    opacity: 1;
  }
  
  .nav-links.active {
    height: calc(100vh - 60px);
    padding: 30px 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .nav-links a {
    font-size: 1.0rem;
  }
  
  .professional-content {
    padding: 100px 20px 40px;
  }
  
  .category-section {
    margin-bottom: 70px;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.4rem;
  }
  
  .category-title {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }
  
  .category-section {
    margin-bottom: 50px;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
} 