@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 100%);
}

.glass-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-bg, .contact-bg, .service-bg, .gallery-bg {
    background-size: cover;
    background-position: center;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Fix for Feather icons */
i[data-feather] {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Map placeholder styles */
.map-placeholder {
    background-color: #e2e8f0;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

/* Gallery Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 1rem;
    cursor: ew-resize; /* Indicate draggable */
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Prevent image dragging issues */
    user-select: none;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Changed to transparent as it was just an overlay line usually, but previous code had 0.5 opacity */
    z-index: 10;
}

/* Reverting overlay to previous style just in case, but usually before/after sliders don't dim the 'before' image.
   The previous code had `background: rgba(0, 0, 0, 0.5);`. I will keep it consistent? 
   Actually, looking at gallery.html, .slider-overlay was just... there? 
   Wait, the JS sets .slider-overlay width. If it's a dark overlay, it darkens the 'before' side? 
   Let's keep it but maybe it's intended to be a divider line or something. 
   Actually, usually there's a divider line. The previous CSS had a handle. */

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px; /* Thickness of the divider line */
    height: 100%;
    background: white;
    z-index: 20;
    cursor: ew-resize;
    transform: translateX(-50%); /* Center the line */
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2563eb;
    font-weight: bold;
}
