/* ================================
   Variables y Reset
   ================================ */
:root {
  --color-primary: #222;
  --color-secondary: #666;
  --color-light: #f5f5f5;
  --color-white: #fff;
  --color-bg: #fff;
  --color-card: #fff;
  --color-border: #eee;
  --color-accent: #c9a86c;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

/* Dark Mode */
[data-theme="dark"] {
  --color-primary: #f5f5f5;
  --color-secondary: #aaa;
  --color-light: #1a1a1a;
  --color-white: #121212;
  --color-bg: #121212;
  --color-card: #1e1e1e;
  --color-border: #333;
  --shadow: 0 2px 10px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-primary);
  background: var(--color-bg);
  transition: background 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================
   Typography
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 15px auto 0;
}

/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: transparent;
  color: var(--color-primary);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-light:hover {
  background: transparent;
  color: var(--color-white);
}

.btn-full {
  width: 100%;
}

/* ================================
   Header
   ================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg);
  box-shadow: var(--shadow);
  transition: background 0.3s ease;
}

.header .container {
  display: flex;
  flex-direction: column;
  padding-top: 15px;
  padding-bottom: 10px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 15px;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 120px;
}

.header-right {
  justify-content: flex-end;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 90px;
  width: auto;
}

/* Logo switching for dark/light mode */
.logo-light {
  display: block;
}

.logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

.nav ul {
  display: flex;
  justify-content: center;
  gap: 35px;
}

.nav a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.nav a:hover,
.nav .dropdown-toggle:hover {
  color: var(--color-accent);
}

.nav .dropdown-toggle {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.has-dropdown {
  position: static;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  padding: 12px 30px;
  z-index: 999;
  border-radius: 0 0 8px 8px;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown li {
  border-bottom: none;
  border-right: 1px solid var(--color-border);
}

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

.dropdown a {
  display: block;
  padding: 10px 25px;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--color-light);
}

.header-social {
  display: flex;
  gap: 15px;
}

.header-social a {
  font-size: 20px;
}

.social-icons a {
  font-size: 18px;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--color-accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================
   Hero Slideshow
   ================================ */
.hero-slideshow {
  margin-top: 160px;
  height: calc(100vh - 160px);
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.slideshow-container {
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* ========== EFECTO: FADE (default) ========== */
.slideshow-container .slide {
  transition: opacity 1s ease-in-out;
}

/* ========== EFECTO: SLIDE ========== */
.slideshow-container[data-effect="slide"] .slide {
  opacity: 1;
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow-container[data-effect="slide"] .slide.active {
  transform: translateX(0);
}

.slideshow-container[data-effect="slide"] .slide.slide-out-left {
  transform: translateX(-100%);
}

/* ========== EFECTO: ZOOM ========== */
.slideshow-container[data-effect="zoom"] .slide {
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slideshow-container[data-effect="zoom"] .slide.active {
  transform: scale(1);
}

/* ========== EFECTO: FLIP ========== */
.slideshow-container[data-effect="flip"] {
  perspective: 1500px;
  transform-style: preserve-3d;
}

.slideshow-container[data-effect="flip"] .slide {
  transform: rotateY(180deg);
  transition: opacity 0.6s ease, transform 0.8s ease;
  backface-visibility: hidden;
}

.slideshow-container[data-effect="flip"] .slide.active {
  transform: rotateY(0deg);
}

/* ========== EFECTO: CUBE ========== */
.slideshow-container[data-effect="cube"] {
  perspective: 1500px;
  transform-style: preserve-3d;
}

.slideshow-container[data-effect="cube"] .slide {
  transform: rotateY(-90deg);
  transform-origin: right center;
  transition: transform 0.8s ease;
  opacity: 1;
}

.slideshow-container[data-effect="cube"] .slide.active {
  transform: rotateY(0deg);
}

.slideshow-container[data-effect="cube"] .slide.cube-out {
  transform: rotateY(90deg);
  transform-origin: left center;
}

/* ========== EFECTOS DE MOVIMIENTO EN IMAGEN ========== */

/* Base para todos los efectos de movimiento */
.slideshow-container .slide {
  overflow: hidden;
}

.slideshow-container .slide img {
  transform-origin: center center;
  will-change: transform;
}

/* ========== MOVIMIENTO: AUTOMÁTICO (alterna efectos) ========== */
.slideshow-container[data-motion="auto"] .slide:nth-child(8n+1).active img {
  animation: motion-zoom-in-topleft var(--motion-duration, 8s) ease-out forwards;
}

.slideshow-container[data-motion="auto"] .slide:nth-child(8n+2).active img {
  animation: motion-zoom-in-bottomright var(--motion-duration, 8s) ease-out forwards;
}

.slideshow-container[data-motion="auto"] .slide:nth-child(8n+3).active img {
  animation: motion-zoom-out var(--motion-duration, 8s) ease-out forwards;
}

.slideshow-container[data-motion="auto"] .slide:nth-child(8n+4).active img {
  animation: motion-pan-left var(--motion-duration, 8s) ease-in-out forwards;
}

.slideshow-container[data-motion="auto"] .slide:nth-child(8n+5).active img {
  animation: motion-pan-right var(--motion-duration, 8s) ease-in-out forwards;
}

.slideshow-container[data-motion="auto"] .slide:nth-child(8n+6).active img {
  animation: motion-pan-up var(--motion-duration, 8s) ease-in-out forwards;
}

.slideshow-container[data-motion="auto"] .slide:nth-child(8n+7).active img {
  animation: motion-pan-down var(--motion-duration, 8s) ease-in-out forwards;
}

.slideshow-container[data-motion="auto"] .slide:nth-child(8n).active img {
  animation: motion-zoom-diagonal var(--motion-duration, 8s) ease-out forwards;
}

/* ========== MOVIMIENTO: ZOOM IN ========== */
.slideshow-container[data-motion="zoom-in"] .slide.active img {
  animation: motion-zoom-in var(--motion-duration, 8s) ease-out forwards;
}

/* ========== MOVIMIENTO: ZOOM OUT ========== */
.slideshow-container[data-motion="zoom-out"] .slide.active img {
  animation: motion-zoom-out var(--motion-duration, 8s) ease-out forwards;
}

/* ========== MOVIMIENTO: PANEO IZQUIERDA → DERECHA ========== */
.slideshow-container[data-motion="pan-left"] .slide.active img {
  animation: motion-pan-left var(--motion-duration, 8s) ease-in-out forwards;
}

/* ========== MOVIMIENTO: PANEO DERECHA → IZQUIERDA ========== */
.slideshow-container[data-motion="pan-right"] .slide.active img {
  animation: motion-pan-right var(--motion-duration, 8s) ease-in-out forwards;
}

/* ========== MOVIMIENTO: PANEO ARRIBA → ABAJO ========== */
.slideshow-container[data-motion="pan-up"] .slide.active img {
  animation: motion-pan-up var(--motion-duration, 8s) ease-in-out forwards;
}

/* ========== MOVIMIENTO: PANEO ABAJO → ARRIBA ========== */
.slideshow-container[data-motion="pan-down"] .slide.active img {
  animation: motion-pan-down var(--motion-duration, 8s) ease-in-out forwards;
}

/* ========== MOVIMIENTO: NINGUNO ========== */
.slideshow-container[data-motion="none"] .slide img {
  animation: none !important;
}

/* ========== ANIMACIONES DE MOVIMIENTO ========== */

@keyframes motion-zoom-in {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.25) translate(-2%, -2%); }
}

@keyframes motion-zoom-in-topleft {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.3) translate(-5%, -4%); }
}

@keyframes motion-zoom-in-bottomright {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.3) translate(5%, 4%); }
}

@keyframes motion-zoom-out {
  0% { transform: scale(1.35) translate(0, 0); }
  100% { transform: scale(1) translate(0, 0); }
}

@keyframes motion-pan-left {
  0% { transform: scale(1.2) translate(-8%, 0); }
  100% { transform: scale(1.2) translate(8%, 0); }
}

@keyframes motion-pan-right {
  0% { transform: scale(1.2) translate(8%, 0); }
  100% { transform: scale(1.2) translate(-8%, 0); }
}

@keyframes motion-pan-up {
  0% { transform: scale(1.2) translate(0, -6%); }
  100% { transform: scale(1.2) translate(0, 6%); }
}

@keyframes motion-pan-down {
  0% { transform: scale(1.2) translate(0, 6%); }
  100% { transform: scale(1.2) translate(0, -6%); }
}

@keyframes motion-zoom-diagonal {
  0% { transform: scale(1) translate(0, 0) rotate(0deg); }
  100% { transform: scale(1.25) translate(-3%, 3%) rotate(0.5deg); }
}

/* ========== TODOS LOS EFECTOS: Overlay de entrada suave ========== */
.slide-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

/* Asegurar que las imágenes cubran todo */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--color-white);
  text-align: center;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}

.slide-btn:hover {
  background: var(--color-white);
}

.slide-btn.prev { left: 20px; }
.slide-btn.next { right: 20px; }

.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background: var(--color-white);
}

.hero-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-light);
}

.hero-placeholder h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.hero-placeholder p {
  font-size: 1.3rem;
  color: var(--color-secondary);
}

/* ================================
   Sections
   ================================ */
section {
  padding: 80px 0;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.categories-grid.large {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.category-image {
  width: 100%;
  height: 100%;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  text-align: center;
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}

.category-overlay h3 {
  position: static;
  background: none;
  padding: 0;
  margin-bottom: 10px;
}

.category-overlay p {
  font-size: 14px;
  opacity: 0.9;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light);
  color: var(--color-secondary);
  font-size: 3rem;
}

/* Promos Section */
.promos-section {
  background: var(--color-light);
  text-align: center;
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.promo-card {
  background: var(--color-white);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.promo-content {
  padding: 20px;
}

.promo-content h3 {
  margin-bottom: 10px;
}

.promo-prices {
  margin-top: 15px;
}

.original-price {
  text-decoration: line-through;
  color: var(--color-secondary);
  margin-right: 10px;
}

.promo-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e74c3c;
}

/* About Preview */
.about-preview {
  background: var(--color-white);
}

.about-preview .about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-preview h2 {
  margin-bottom: 20px;
}

.about-preview p {
  color: var(--color-secondary);
  margin-bottom: 30px;
}

/* CTA Section */
.cta-section {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 15px;
}

.cta-section p {
  margin-bottom: 30px;
  opacity: 0.9;
}

/* ================================
   Page Header
   ================================ */
.page-header {
  margin-top: 160px;
  padding: 60px 0;
  background: var(--color-light);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 10px;
}

.page-header p {
  color: var(--color-secondary);
}

/* ================================
   Gallery Page
   ================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

.photo-item {
  cursor: pointer;
  overflow: hidden;
}

.photo-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

.empty-gallery {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-secondary);
}

.empty-gallery i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

/* Category Nav */
.category-nav {
  background: var(--color-light);
  text-align: center;
}

.category-nav h3 {
  margin-bottom: 20px;
}

.category-nav-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.category-nav-item {
  padding: 10px 20px;
  background: var(--color-white);
  border: 1px solid #ddd;
  transition: var(--transition);
}

.category-nav-item:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ================================
   Lightbox
   ================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 50%;
  transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
}

/* ================================
   Weddings Page
   ================================ */
.page-content {
  margin-top: 100px;
  min-height: calc(100vh - 100px);
  padding: 30px 0;
}

.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-header p {
  color: var(--color-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Category Header */
.category-header {
  text-align: center;
  padding: 60px 0 40px;
  background: var(--color-light);
  margin-bottom: 40px;
}

.category-header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.category-header .category-description {
  color: var(--color-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.wedding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.wedding-card {
  display: block;
  background: var(--color-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.wedding-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.wedding-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.wedding-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wedding-card:hover .wedding-image img {
  transform: scale(1.05);
}

.wedding-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light);
  color: var(--color-secondary);
  font-size: 4rem;
}

.wedding-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.wedding-card:hover .wedding-overlay {
  opacity: 1;
}

.view-album {
  color: white;
  font-weight: 500;
  padding: 12px 24px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border-radius: 4px;
}

.wedding-info {
  padding: 24px;
}

.wedding-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.wedding-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.wedding-date i {
  color: var(--color-accent);
}

.wedding-info p {
  color: var(--color-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.photo-count {
  display: inline-block;
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 500;
}

.empty-message {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-secondary);
}

.empty-message i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

/* ================================
   Wedding Album Page
   ================================ */
.wedding-album-page {
  margin-top: 160px;
}

.album-slideshow {
  height: calc(100vh - 160px);
  min-height: 500px;
  position: relative;
}

.album-slideshow .slideshow-container {
  height: 100%;
}

.album-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  text-align: center;
  z-index: 10;
}

.album-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.album-hero-content .album-date {
  font-size: 1.1rem;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.album-description {
  padding: 50px 0;
  text-align: center;
  background: var(--color-light);
}

.album-description p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-secondary);
}

.album-gallery {
  padding: 60px 0;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  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);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
  font-size: 24px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.album-nav {
  text-align: center;
  margin-top: 40px;
}

/* ================================
   About Page
   ================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img,
.placeholder-about {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.placeholder-about {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light);
  color: var(--color-secondary);
  font-size: 5rem;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  color: var(--color-secondary);
  margin-bottom: 20px;
  white-space: pre-line;
}

.about-contact {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.about-contact h3 {
  margin-bottom: 15px;
}

/* ================================
   Contact Page
   ================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 20px;
  color: var(--color-accent);
  margin-top: 3px;
}

.contact-item h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.contact-item a:hover {
  color: var(--color-accent);
}

.contact-social {
  margin-top: 40px;
}

.contact-social h4 {
  margin-bottom: 15px;
}

.contact-social .social-icons {
  display: flex;
  gap: 15px;
}

.contact-social .social-icons a {
  font-size: 24px;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 1px solid #ddd;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.alert {
  padding: 15px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* ================================
   Promos Page
   ================================ */
.promos-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.promo-card-large {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--color-white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.promo-card-large .promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-details {
  padding: 30px;
}

.promo-details h2 {
  margin-bottom: 15px;
}

.promo-description {
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.promo-pricing {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.discount-badge {
  background: #e74c3c;
  color: var(--color-white);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
}

.promo-expires {
  color: var(--color-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.empty-promos {
  text-align: center;
  padding: 80px 20px;
}

.empty-promos i {
  font-size: 4rem;
  color: var(--color-secondary);
  opacity: 0.3;
  margin-bottom: 20px;
}

.empty-promos h2 {
  margin-bottom: 10px;
}

.empty-promos p {
  color: var(--color-secondary);
  margin-bottom: 30px;
}

/* ================================
   Error Page
   ================================ */
.error-page {
  margin-top: 160px;
  min-height: calc(100vh - 160px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  text-align: center;
}

.error-content h1 {
  font-size: 8rem;
  color: var(--color-light);
  line-height: 1;
}

.error-content h2 {
  margin-bottom: 15px;
}

.error-content p {
  color: var(--color-secondary);
  margin-bottom: 30px;
}

/* ================================
   Footer
   ================================ */
.footer {
  background: var(--color-primary);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-section h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-section p {
  opacity: 0.8;
  margin-bottom: 10px;
}

.footer-section p a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-section p a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.footer-section i {
  margin-right: 10px;
  opacity: 0.6;
}

.footer .social-icons a {
  color: #fff;
  font-size: 20px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

/* ================================
   WhatsApp Button
   ================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background: #128C7E;
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .promo-card-large {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .header .container {
    height: 70px;
  }

  .nav,
  .header-social {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav.active {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow);
  }

  .nav.active ul {
    flex-direction: column;
    padding: 20px;
  }

  .nav.active a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-light);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
  }

  .hero-slideshow {
    margin-top: 70px;
    height: 60vh;
  }

  .slide-content {
    padding: 30px;
  }

  .slide-content h2 {
    font-size: 1.8rem;
  }

  section {
    padding: 50px 0;
  }

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

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

  .photo-item img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .categories-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .hero-placeholder h1 {
    font-size: 2rem;
  }

  .promo-card-large {
    grid-template-columns: 1fr;
  }

  .promo-card-large .promo-image {
    height: 200px;
  }
}

/* ================================
   Theme Toggle Button
   ================================ */
.theme-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  background: var(--color-light);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  padding: 3px;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  left: 3px;
  transition: transform 0.3s ease;
}

[data-theme="dark"] .theme-toggle::before {
  transform: translateX(24px);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  font-size: 12px;
  transition: opacity 0.3s ease;
}

.theme-toggle .icon-sun {
  left: 7px;
  color: #f39c12;
}

.theme-toggle .icon-moon {
  right: 7px;
  color: #3498db;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0.3;
}

.theme-toggle .icon-moon {
  opacity: 0.3;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
}

/* ================================
   Dark Mode Specific Styles
   ================================ */
[data-theme="dark"] .dropdown {
  background: var(--color-card);
  border: 1px solid var(--color-border);
}

[data-theme="dark"] .dropdown a:hover {
  background: var(--color-light);
}

[data-theme="dark"] .promo-card,
[data-theme="dark"] .promo-card-large,
[data-theme="dark"] .category-nav-item {
  background: var(--color-card);
}

[data-theme="dark"] .category-nav-item {
  border-color: var(--color-border);
}

[data-theme="dark"] .category-nav-item:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

[data-theme="dark"] .contact-form-container {
  background: var(--color-card);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
  background: var(--color-light);
  border-color: var(--color-border);
  color: var(--color-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
  border-color: var(--color-accent);
}

[data-theme="dark"] .alert-success {
  background: #1e3a2f;
  color: #7dcea0;
  border-color: #2e5a4a;
}

[data-theme="dark"] .page-header {
  background: var(--color-light);
}

[data-theme="dark"] .about-contact {
  border-color: var(--color-border);
}

[data-theme="dark"] .placeholder-image,
[data-theme="dark"] .placeholder-about {
  background: var(--color-light);
}

[data-theme="dark"] .footer {
  background: #0a0a0a;
}

[data-theme="dark"] .footer-bottom {
  border-color: rgba(255,255,255,0.05);
}

[data-theme="dark"] .cta-section {
  background: #1a1a1a;
}

[data-theme="dark"] .hero-placeholder {
  background: var(--color-light);
}

[data-theme="dark"] .promos-section {
  background: var(--color-light);
}

[data-theme="dark"] .slide-btn {
  background: rgba(30,30,30,0.9);
  color: var(--color-primary);
}

[data-theme="dark"] .slide-btn:hover {
  background: var(--color-card);
}

[data-theme="dark"] .lightbox {
  background: rgba(0,0,0,0.98);
}

[data-theme="dark"] .empty-gallery,
[data-theme="dark"] .empty-promos {
  color: var(--color-secondary);
}

/* Si quieres un logo diferente en modo oscuro,
   guarda logo-dark.png y descomenta esto:
[data-theme="dark"] .logo img {
  content: url('/images/logo-dark.png');
}
*/

/* ================================
   Enhanced Responsive - Tablet
   ================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .header .container {
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .header-top {
    margin-bottom: 12px;
  }

  .logo img {
    height: 70px;
  }

  .nav ul {
    gap: 25px;
  }

  .nav a {
    font-size: 12px;
  }

  .hero-slideshow {
    margin-top: 140px;
    height: 65vh;
  }

  .page-header {
    margin-top: 140px;
  }

  .slide-content h2 {
    font-size: 2.2rem;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .promos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    gap: 40px;
  }

  .contact-grid {
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* ================================
   Enhanced Responsive - Mobile
   ================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }

  section {
    padding: 40px 0;
  }

  .header .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-top {
    margin-bottom: 0;
  }

  .header-left,
  .header-right {
    min-width: 60px;
  }

  .logo img {
    height: 55px;
  }

  .nav {
    display: none;
  }

  .header-social {
    display: flex;
  }

  .header-social a {
    font-size: 16px;
  }

  .theme-toggle {
    width: 42px;
    height: 22px;
  }

  .theme-toggle::before {
    width: 16px;
    height: 16px;
  }

  [data-theme="dark"] .theme-toggle::before {
    transform: translateX(20px);
  }

  .theme-toggle .icon-sun,
  .theme-toggle .icon-moon {
    font-size: 9px;
  }

  .theme-toggle .icon-sun {
    left: 5px;
  }

  .theme-toggle .icon-moon {
    right: 5px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav.active {
    display: block;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    overflow-y: auto;
    animation: slideIn 0.3s ease;
  }

  .hero-slideshow {
    margin-top: 75px;
    height: 55vh;
    min-height: 300px;
  }

  .page-header {
    margin-top: 75px;
  }

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

  .nav.active ul {
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }

  .nav.active li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav.active a {
    display: block;
    padding: 18px 0;
    font-size: 15px;
  }

  .nav.active .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
  }

  .nav.active .dropdown li {
    border-bottom: none;
  }

  .nav.active .dropdown a {
    padding: 12px 20px;
    font-size: 13px;
    color: var(--color-secondary);
  }

  .slide-content {
    padding: 20px;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .slide-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .slide-btn.prev { left: 10px; }
  .slide-btn.next { right: 10px; }

  .section-title {
    margin-bottom: 25px;
  }

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

  .category-card {
    aspect-ratio: 1;
  }

  .category-card h3 {
    font-size: 0.9rem;
    padding: 15px;
  }

  .promos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .promo-card img {
    height: 180px;
  }

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

  .photo-item img {
    height: 120px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    order: -1;
  }

  .placeholder-about {
    aspect-ratio: 4/3;
  }

  .contact-info {
    order: 1;
  }

  .contact-form-container {
    order: 0;
  }

  .promo-card-large {
    grid-template-columns: 1fr;
  }

  .promo-card-large .promo-image {
    height: 200px;
  }

  .promo-details {
    padding: 20px;
  }

  .footer {
    padding: 40px 0 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }

  .lightbox-close { top: 10px; right: 10px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  .error-content h1 {
    font-size: 5rem;
  }
}

/* ================================
   Small Mobile
   ================================ */
@media (max-width: 360px) {
  .logo img {
    height: 38px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-item img {
    height: 200px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}
