/* Page-specific styles: donde-comer-alicante */

.content-cluster {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.content-card {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.content-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Fondos específicos */
.santa-cruz-bg {
  background-image: url('https://alicantinofino.com/wp-content/uploads/2025/08/comer-en-el-barrio-santa-cruz.jpg');
}

.centro-bg {
  background-image: url('https://alicantinofino.com/wp-content/uploads/2025/08/comer-en-el-centro-de-alicante.jpg');
}

.mercado-bg {
  background-image: url('https://alicantinofino.com/wp-content/uploads/2025/08/comer-cerca-del-mercado-central.jpg');
}

.puerto-bg {
  background-image: url('https://alicantinofino.com/wp-content/uploads/2025/08/comer-en-el-puerto-de-alicante.jpg');
}

.casco-bg {
  background-image: url('https://alicantinofino.com/wp-content/uploads/2025/08/plaza-quijano-vistas.jpg');
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.8) 100%);
  transition: all 0.4s ease;
  backdrop-filter: blur(0px);
}

.content-card:hover .card-overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.9) 100%);
  backdrop-filter: blur(2px);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white !important;
  padding: 32px 24px;
  z-index: 2;
  transform: translateY(0);
  transition: all 0.4s ease;
}

.content-card:hover .card-content {
  transform: translateY(-8px);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: white !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.card-subtitle {
  font-size: 0.9rem;
  opacity: 0.95;
  margin-bottom: 20px;
  line-height: 1.5;
  color: white !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  font-weight: 400;
  letter-spacing: 0.01em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.card-link {
  display: inline-block;
  color: white !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  padding-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Subrayado permanente recto */
.card-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #CC0014, #ff1744);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 1px;
}

/* Subrayado garabato en hover */
.card-link:hover::after {
  height: 3px;
  background: linear-gradient(90deg, #CC0014, #ff1744, #CC0014);
  border-radius: 50% 20% 80% 30% / 60% 90% 40% 70%;
  transform: translateY(-1px) rotate(-1deg) scaleX(1.05);
  box-shadow: 0 1px 4px rgba(204, 0, 20, 0.3);
  animation: wiggle 0.6s ease-in-out;
}

@keyframes wiggle {
  0% { 
    border-radius: 50% 20% 80% 30% / 60% 90% 40% 70%;
    transform: translateY(-1px) rotate(-1deg) scaleX(1.05);
  }
  25% { 
    border-radius: 30% 60% 40% 80% / 90% 20% 70% 50%;
    transform: translateY(-2px) rotate(0.5deg) scaleX(1.03);
  }
  50% { 
    border-radius: 80% 40% 20% 70% / 30% 80% 90% 60%;
    transform: translateY(-1px) rotate(-0.5deg) scaleX(1.07);
  }
  75% { 
    border-radius: 60% 90% 50% 20% / 70% 40% 80% 30%;
    transform: translateY(-2px) rotate(1deg) scaleX(1.02);
  }
  100% { 
    border-radius: 50% 20% 80% 30% / 60% 90% 40% 70%;
    transform: translateY(-1px) rotate(-1deg) scaleX(1.05);
  }
}

.card-link:hover {
  color: white !important;
  text-decoration: none;
  transform: translateY(-2px);
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.content-card:hover .card-title {
  transform: translateY(-4px);
  text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .cards-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .content-card {
    height: 280px;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .card-content {
    padding: 28px 20px;
  }
}

@media (max-width: 768px) {
  .cards-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 16px;
  }
  
  .cards-container::-webkit-scrollbar {
    display: none;
  }
  
  .content-card {
    flex: 0 0 280px;
    height: 240px;
    scroll-snap-align: start;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-subtitle {
    font-size: 0.85rem;
  }
  
  .card-content {
    padding: 24px 18px;
  }
  
  .card-link {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .content-cluster {
    padding: 0 16px;
  }
  
  .content-card {
    flex: 0 0 260px;
    height: 220px;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .card-subtitle {
    font-size: 0.8rem;
    margin-bottom: 16px;
  }
  
  .card-content {
    padding: 20px 16px;
  }
  
  .card-link {
    font-size: 0.7rem;
  }
}

/* Micro-animaciones aesthetic */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

.content-card:hover {
  animation: float 3s ease-in-out infinite;
}

/* Efectos de luz sutil */
.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.content-card:hover::before {
  opacity: 1;
}

/* Smooth transitions para todo */
.content-card * {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}



        .restaurant-cluster-container, .restaurant-cluster-container * {
            box-sizing: border-box;
        }

        .restaurant-cluster-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            grid-template-rows: 1fr 1fr 1fr;
            gap: 16px;
            height: 750px;
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        }

        /* Elemento principal - ocupa 3 filas */
        .restaurant-cluster-item.main {
            grid-row: span 3;
        }

        /* Brunch ocupa 2 columnas */
        .restaurant-cluster-item.brunch {
            grid-column: span 2;
        }

        .restaurant-cluster-item {
            position: relative;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .restaurant-cluster-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
        }

        .restaurant-cluster-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
            transition: background 0.3s ease;
        }

        .restaurant-cluster-item:hover .restaurant-cluster-overlay {
            background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
        }

        .restaurant-cluster-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            color: white !important;
            padding: 24px;
            z-index: 2;
        }

        .restaurant-cluster-title {
            font-size: 1.8rem;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 12px;
            color: white !important;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        .restaurant-cluster-subtitle {
            font-size: 0.9rem;
            opacity: 0.9;
            margin-bottom: 16px;
            line-height: 1.4;
            color: white !important;
        }

        .restaurant-cluster-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: #CC0014;
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            border: 1px solid #CC0014;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .restaurant-cluster-button:hover {
            background-color: #a8001a;
            border-color: #a8001a;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(204, 0, 20, 0.4);
        }

        /* Backgrounds específicos */
        .restaurants { background-image: url('https://alicantinofino.com/wp-content/uploads/2025/08/RESTAURANTES-ALICANTE.jpg'); }
        .brunch-bg { background-image: url('https://alicantinofino.com/wp-content/uploads/2025/08/tostada-huevo-aguacate-brunch-alicante.jpg'); }
        .tapas { background-image: url('https://alicantinofino.com/wp-content/uploads/2025/08/bar-tapas-alicante.jpg'); }
        .terrazas { background-image: url('https://alicantinofino.com/wp-content/uploads/2025/08/terracita-bar-alicante.jpg'); }
        .streetfood { background-image: url('https://alicantinofino.com/wp-content/uploads/2025/08/streetfood.jpg'); }

        /* Badge de categoría */
        .restaurant-category-badge {
            position: absolute;
            top: 16px;
            left: 16px;
            background-color: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 3;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .restaurant-cluster-container {
                height: 500px;
                gap: 12px;
            }
            
            .restaurant-cluster-title {
                font-size: 1.5rem;
            }
            
            .restaurant-cluster-content {
                padding: 20px;
            }
        }

        @media (max-width: 768px) {
            .restaurant-cluster-container {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: repeat(3, 200px);
                height: auto;
                gap: 12px;
            }
            
            .restaurant-cluster-item.main {
                grid-row: span 1;
                grid-column: span 2;
            }
            
            .restaurant-cluster-item.brunch {
                grid-column: span 1;
            }
            
            .restaurant-cluster-title {
                font-size: 1.3rem;
            }
            
            .restaurant-cluster-content {
                padding: 16px;
            }
            
            .restaurant-cluster-subtitle {
                font-size: 0.8rem;
            }
            
            .restaurant-cluster-button {
                padding: 8px 16px;
                font-size: 0.75rem;
            }
        }

        @media (max-width: 480px) {
            .restaurant-cluster-container {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(5, 180px);
                gap: 10px;
            }
            
            .restaurant-cluster-item.main {
                grid-column: span 1;
                grid-row: span 1;
            }
            
            .restaurant-cluster-item.brunch {
                grid-column: span 1;
            }
            
            .restaurant-cluster-title {
                font-size: 1.2rem;
            }
            
            .restaurant-cluster-content {
                padding: 14px;
            }
            
            .restaurant-category-badge {
                top: 12px;
                left: 12px;
                padding: 4px 10px;
                font-size: 0.65rem;
            }
        }

        /* Animaciones suaves */
        .restaurant-cluster-item * {
            transition: all 0.3s ease;
        }

        /* Efectos de hover mejorados */
        .restaurant-cluster-item:hover .restaurant-cluster-title {
            transform: translateY(-2px);
        }

        .restaurant-cluster-item:hover .restaurant-category-badge {
            background-color: #CC0014;
        }

        /* Estilo para tarjeta corporativa - completamente independiente */
        .restaurant-cluster-item.brand-card {
            background-color: #CC0014 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            text-align: center !important;
            background-image: none !important;
            text-decoration: none !important;
        }

        .restaurant-cluster-item.brand-card .restaurant-cluster-overlay {
            display: none !important;
        }

        .restaurant-cluster-item.brand-card .restaurant-category-badge {
            display: none !important;
        }

        .restaurant-cluster-item.brand-card .restaurant-cluster-content {
            display: none !important;
        }

        .brand-content {
            padding: 16px !important;
            color: white !important;
            width: 100% !important;
            height: 100% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .brand-title {
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
            font-size: 2.2rem !important;
            font-weight: 700 !important;
            line-height: 1.1 !important;
            color: white !important;
            margin: 0 !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            text-shadow: none !important;
        }

        .brand-title strong {
            font-weight: 700 !important;
        }

        .restaurant-cluster-item.brand-card:hover {
            transform: translateY(-8px) !important;
            background-color: #a8001a !important;
            text-decoration: none !important;
        }

        .restaurant-cluster-item.brand-card:visited,
        .restaurant-cluster-item.brand-card:link,
        .restaurant-cluster-item.brand-card:active {
            color: white !important;
            text-decoration: none !important;
        }

        /* Responsive para la tarjeta corporativa */
        @media (max-width: 1024px) {
            .brand-title {
                font-size: 1.8rem !important;
            }
        }

        @media (max-width: 768px) {
            .brand-title {
                font-size: 1.5rem !important;
            }
        }

        @media (max-width: 480px) {
            .brand-title {
                font-size: 1.3rem !important;
            }
            
            .brand-content {
                padding: 12px !important;
            }
        }

