
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #1f2937;
}

p {
    font-size: 18px;
    line-height: 1.7;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('/assets/images/Castillo/DJI_0846.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
}

.navbar {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(8px);
}

#mobileMenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
    z-index: 50;
}

#mobileMenu.hidden {
    display: none;
}

#mobileMenu a {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.125rem;
}

#mobileMenu a:last-child {
    border-bottom: none;
}

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

.gallery-overlay {
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
}

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

.activity-card {
    transition: all 0.3s ease;
}

.custom-checkbox:checked+.checkbox-icon {
    background-color: #3B82F6;
    border-color: #3B82F6;
}

.custom-checkbox:checked+.checkbox-icon:after {
    opacity: 1;
}

.checkbox-icon:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
}

#carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

#carousel>div {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}


.gallery-modal-img-wrapper {
    width: 180px;
    height: 135px;
    overflow: hidden;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.gallery-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 round 0.5rem);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-modal-img-wrapper:hover .gallery-modal-img {
    transform: scale(1.05);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
    .gallery-modal-img-wrapper {
        width: 140px;
        height: 105px;
    }
    body {
        font-size: 16px;
    }
    p {
        font-size: 16px;
    }
    h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .md\\:text-lg {
        font-size: 1.125rem;
    }
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
