/* Estilos para la página de blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* Aspect ratio 3:2 */
    overflow: hidden;
}

.blog-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.blog-image a:hover {
    transform: scale(1.05);
}

.blog-image a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.blog-post:hover .blog-image a img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--gold);
    color: white;
    font-size: 0.875rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.5rem;
    color: var(--midnight-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-meta i {
    color: var(--gold);
}

.blog-read-more {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: var(--midnight-blue);
}

/* Hero section específico para blog */
.hero-image.blog {
    background-image: url('../images/blog-hero.jpg');
    height: 400px;
    background-position: center;
    background-size: cover;
}

/* Estilos para la sección hero y filtros del blog */
.blog-hero {
  position: relative;
  margin-top: 120px;  /* Aumentado de 80px a 120px */
  min-height: 400px;  /* Asegura una altura mínima */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;  /* Aumentado el padding vertical */
  color: white;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/DJI_0023-EDIT-p-2000.jpg');  /* Reestablecido el background con gradiente */
}

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

.welcome-text {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.25rem;
  border-radius: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-input {
  flex: 1;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  background: transparent;
}

.search-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 0.9rem;
}

.hero-categories {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.category-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s;
  font-size: 0.9rem;
}

.category-tag i {
  margin-right: 0.3rem;
  font-size: 0.85rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.stat-item i {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.stat-number {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.filters-section {
  background: #f8f9fa;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.filters-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  font-size: 0.9rem;
  color: #666;
  white-space: nowrap;
}

.filter-select {
  padding: 0.35rem 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background: white;
  min-width: 150px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem 0;
    }

    .blog-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 40px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .search-form {
    margin: 0 1rem;
  }
  
  .filters-wrapper {
    padding: 0 1rem;
    flex-wrap: wrap;
  }
  
  .filter-group {
    flex: 1 1 auto;
    min-width: 200px;
  }
  
  .filter-select {
    width: 100%;
  }
  
  .hero-stats {
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0 1rem;
  }
}

/* Estilos para la página individual del blog */
.blog-post-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.8;
}

.blog-post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem 0;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
    margin: 1rem 0;
}

.blog-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.blog-share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-share-button:hover {
    opacity: 0.9;
}

.blog-share-button.facebook {
    background-color: #1877f2;
}

.blog-share-button.twitter {
    background-color: #1da1f2;
}

.blog-share-button.whatsapp {
    background-color: #25d366;
}

/* Estilos para posts individuales de blog */
.blog-post-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/DJI_0023-EDIT-p-2000.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 60px;
    color: white;
    text-align: center;
}

.post-meta {
    margin-bottom: 20px;
    font-size: 0.9em;
}

.post-meta span {
    margin: 0 10px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.post-title {
    font-size: 3em;
    margin-bottom: 20px;
}

.post-subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.table-of-contents {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
}

.table-of-contents li {
    margin: 10px 0;
}

.table-of-contents a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.table-of-contents a:hover {
    color: #007bff;
}

.post-image {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: auto;
}

.image-caption {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    font-style: italic;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin: 15px 0;
    padding-left: 30px;
    position: relative;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.activity-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.activity-card i {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 15px;
}

.time-table {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.time-slot {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tip {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.tip i {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 15px;
}

.share-section {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.share-section h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    gap: 0.5rem;
}

.share-button i {
    font-size: 1.1rem;
}

.share-button.facebook {
    background-color: #1877f2;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.whatsapp {
    background-color: #25d366;
}

.share-button.linkedin {
    background-color: #0077b5;
}

.share-button.copy {
    background-color: #6c757d;
}

.share-button.instagram {
    background-color: #E1306C;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-button:active {
    transform: translateY(0);
}

.copy-tooltip {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    animation: fadeInOut 2s ease;
    z-index: 1000;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    15% { opacity: 1; transform: translate(-50%, 0); }
    85% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

/* Responsive */
@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .share-button {
        justify-content: center;
    }
}

.related-posts {
    margin: 60px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.related-post {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.related-post h3 {
    font-size: 1.1em;
    margin: 0;
}

/* Estilos para imágenes en actividades */
.activity-image {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.activity-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.activity-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .activity-image img {
        height: 150px;
    }
    
    .nature-activities {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-title {
        font-size: 2em;
    }
    
    .blog-post-hero {
        padding: 80px 0 40px;
    }
    
    .post-meta span {
        display: block;
        margin: 10px auto;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-button {
        width: 100%;
        justify-content: center;
    }
}

/* Estilo específico para el botón reservar en las páginas de blog */
.blog-page .nav-link.reservar {
    background-color: white !important;
    color: #333 !important;
    border: 1px solid #e0e0e0;
}

.blog-page .nav-link.reservar:hover {
    background-color: #f5f5f5 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-page .nav-link.reservar:active {
    background-color: #e8e8e8 !important;
    transform: translateY(2px);
}

/* Estilos para la galería de comida */
.food-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.food-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.food-item:hover {
    transform: translateY(-5px);
}

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

.food-item img[src*="langosta"] {
    object-position: center 80%;  /* Ajustado de bottom a 80% para mostrar un poco más arriba */
}

.food-item img[src*="pescado-frito"] {
    object-position: center bottom;
}

.food-item h3 {
    padding: 1rem;
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.food-item p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Estilos para la lista de restaurantes */
.restaurant-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.restaurant-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.restaurant-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.restaurant-item ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.restaurant-item li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.restaurant-item li:before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: 0;
}

/* Estilos para la sección de consejos */
.tips-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
}

.tips-list li:before {
    content: "✓";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .food-showcase {
        grid-template-columns: 1fr;
    }

    .food-image {
        height: 200px;
    }

    .restaurant-list {
        grid-template-columns: 1fr;
    }
}

/* Estilos para la sección con cambio de color */
.section-bg-color-change {
    background: #ffffff;
    padding: 5rem 0;
}

.section-bg-color-change .text-wrap {
    color: #2C2C2C;
    max-width: 900px;
    margin: 0 auto;
}

.section-bg-color-change .label {
    color: #C9A96A;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.section-bg-color-change h2 {
    color: #2C2C2C;
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    font-weight: 600;
}

.section-bg-color-change p {
    color: #2C2C2C;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Espaciado entre secciones principales */
.section.wf-section {
    padding: 1rem 0;
}

.section.wf-section + .section.wf-section {
    margin-top: 2rem;
}

/* Iconos sociales en la página principal */
.social-link-wrap {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2C2C2C;
    color: white !important;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #C9A96A;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(201, 169, 106, 0.3);
}

.social-link i {
    font-size: 20px;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .section-bg-color-change {
        padding: 3rem 0;
    }

    .section-bg-color-change h2 {
        font-size: 2rem;
    }

    .section-bg-color-change p {
        font-size: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link i {
        font-size: 18px;
    }
}

/* Colores y espaciados generales */
:root {
    --dark-smoke: #2C2C2C;
    --gold: #C9A96A;
}

/* Estilos de texto */
.text-wrap {
    color: var(--dark-smoke);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.text-wrap h2 {
    color: var(--dark-smoke);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.text-wrap p {
    color: var(--dark-smoke);
    margin-bottom: 1.5rem;
}

.label {
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Espaciado entre secciones */
.section {
    padding: 1rem 0;
}

.section + .section {
    margin-top: 2rem;
}

/* Iconos de redes sociales */
.social-link-wrap {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--dark-smoke);
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(201, 169, 106, 0.3);
}

.social-link i {
    font-size: 20px;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .social-link-wrap {
        gap: 1.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}
