/* 
 * Estilos Principales - Landing Page
 * Municipalidad Provincial de Loreto-Nauta
 */

/* ============================================
   BASE STYLES
   ============================================ */
body {
    font-family: 'Montserrat', sans-serif;
    color: #1e293b;
    background-color: #ffffff;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-premium:active {
    transform: scale(0.95);
}

.btn-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(to top right, rgba(255, 255, 255, 0.2), transparent);
}

.btn-premium:hover::after {
    opacity: 1;
}

/* Shimmer Effect */
.shimmer {
    position: relative;
}

.shimmer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
}

.btn-premium:hover.shimmer::before {
    left: 150%;
}

/* ============================================
   ICONS
   ============================================ */
.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.glow-icon {
    filter: drop-shadow(0 0 12px rgba(0, 85, 255, 0.3));
}

/* ============================================
   BACKGROUNDS & PATTERNS
   ============================================ */
.bg-pattern {
    background-color: transparent;
    background-image: radial-gradient(
        circle at 2px 2px,
        rgba(0, 85, 255, 0.05) 1px,
        transparent 0
    );
    background-size: 24px 24px;
}

.bg-amazon-pattern {
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuAKeQ89O_mJzkxy6uSK228srIWgxuu34FHkbaX7f45XLtG0ie_WRZa6BGUUSPnzuUw1u_fE2lQXwlMDC1DKDrA4ZRw9MkI_H3RgoUFp7-a9YSlLqMxm5w7HrCaSNd1DzqbJZH_8MC9M7KItJmAkaHyTILeoKPrK_B9e4V8dZzh-n9HiqMwtAXVs8CtFiPGYxLudv8EJJY9s_ez4gSDp0Go80mwFN3BJaj-nYyRzyt5CwqGDEtTQM3bjzfaTsz_M1f5nr3tSzq0ty50L);
    background-repeat: repeat;
    opacity: 0.05;
}

.gradient-subtle-section {
    background: linear-gradient(
        180deg,
        rgba(245, 248, 255, 1) 0%,
        rgba(255, 255, 255, 1) 100%
    );
}

.blue-gradient-bg {
    background: linear-gradient(135deg, #0055ff 0%, #0037a5 100%);
}

/* ============================================
   CARDS
   ============================================ */
.card-premium {
    background-color: #ffffff;
    border-radius: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1),
        0 4px 12px -4px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

.card-premium:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2),
        0 12px 24px -8px rgba(0, 0, 0, 0.15);
    transform: translateY(-0.5rem);
}

.glass-card {
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 2.5rem;
    overflow: hidden;
    transition: all 0.5s ease;
}

.glass-card:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card-overlay {
    position: absolute;
    inset: 0;
    transition: all 0.5s ease;
    background: linear-gradient(to top, var(--overlay-from), var(--overlay-via), transparent);
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease-out;
}

.service-card:hover .service-card-image {
    transform: scale(1.1);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1),
        0 4px 12px -4px rgba(0, 0, 0, 0.05);
}

.gallery-item:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2),
        0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease-out;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.8),
        transparent,
        transparent
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

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

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.4) 0%,
        rgba(15, 23, 42, 0.2) 100%
    );
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 20, 80, 0.4),
        rgba(15, 23, 42, 0.75)
    );
}

/* ============================================
   CALENDAR
   ============================================ */
.calendar-day {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.calendar-day:hover {
    background-color: rgba(0, 85, 255, 0.1);
    color: #0055ff;
}

.calendar-day.active {
    background-color: #0055ff;
    color: #ffffff;
    box-shadow: 0 15px 35px -5px rgba(0, 85, 255, 0.35),
        0 5px 15px -5px rgba(0, 85, 255, 0.2);
    transform: scale(1.1);
    z-index: 10;
}

.event-dot-blue {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background-color: #2672ff;
    position: absolute;
    bottom: 0.25rem;
}

.event-dot-red {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background-color: #ff2e44;
    position: absolute;
    bottom: 0.25rem;
}

/* ============================================
   UTILITIES
   ============================================ */
.drop-shadow-text {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.drop-shadow-text-sm {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
