/* ... (keep all your existing styles) ... */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0px;
    /* margin-bottom: 0.5rem; */
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.filter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-weight: 600;
    color: #444;
}

.county-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: #f0f2f5;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    background: #e1e5eb;
}

.filter-btn.active {
    background: #6a11cb;
    color: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.activity-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.05);
}

.activity-content {
    padding: 1.5rem;
}

.activity-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.activity-county {
    display: inline-block;
    background: #f0f2f5;
    color: #6a11cb;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.activity-description {
    color: #666;
    margin-bottom: 1rem;
}

.activity-details {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #888;
    font-size: 1.2rem;
    grid-column: 1 / -1;
}

/* Hide activity cards with this class */
.activity-card.hidden {
    display: none;
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
}

/* Activity Detail View Styles */
.activity-detail-view {
    margin-top: 2rem;
}

.back-btn {
    background: #6a11cb;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 2rem;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #5a0db5;
}

.activity-detail-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-header {
    position: relative;
}

.detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 10px;
    height: 410px;
}

.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.gallery-side {
    grid-column: 2 / span 2;
}

.detail-content {
    padding: 2rem;
}

.detail-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.detail-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    font-size: 1.2rem;
}

.detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

.detail-highlights {
    margin-bottom: 2rem;
}

.highlights-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.highlights-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.highlights-list li {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.book-btn {
    background: #6a11cb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.book-btn:hover {
    background: #5a0db5;
}

.contact-btn {
    background: transparent;
    border: 2px solid #6a11cb;
    color: #6a11cb;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #6a11cb;
    color: white;
}

/* View Details Button */
.view-details-btn {
    background: #6a11cb;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.view-details-btn:hover {
    background: #5a0db5;
}

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* Responsive design for detail view */
@media (max-width: 768px) {
    .detail-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 100px 100px;
        height: auto;
    }
    
    .gallery-main {
        grid-column: 1;
        grid-row: 1;
    }
    
    .detail-title {
        font-size: 2rem;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .detail-actions button {
        width: 100%;
    }
}

/* contact form */

.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.contact-modal.hidden {
  display: none;
}

.contact-modal-content {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#contactForm input,
#contactForm textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.send-btn {
  background: #28a745;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}

.send-btn:hover {
  background: #218838;
}

/* Gallery Styles */
.gallery-container {
    position: relative;
    margin-bottom: 30px;
}

.main-gallery-image {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.gallery-prev, .gallery-next {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev:hover, .gallery-next:hover {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-counter {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    border-color: #667eea;
    transform: scale(1.05);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .main-gallery-image {
        height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .main-gallery-image {
        height: 250px;
    }
    
    .gallery-thumbnails {
        gap: 5px;
    }
    
    .thumbnail {
        width: 50px;
        height: 38px;
    }
}
