        /* Reusing main styles from index.html */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Open Sans', sans-serif; background-color: #f9fafb; color: #1f2937; }
        h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; }
        
        /* Hero */
        .hero-bg {
            background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('../../hernandez_images/web_Wideshot_Bestlandscape.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            min-height: 40vh;
        }


        /* Before/After Slider Styles */
        .before-after-container {
            position: relative;
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            overflow: hidden;
            border-radius: 0.5rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }
        .before-after-slider {
            position: relative;
            width: 100%;
            height: 500px;
        }
        @media (max-width: 768px) {
            .before-after-slider { height: 300px; }
        }
        .before-after-slider img {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover;
        }
        .after-image {
            clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
        }
        .slider-handle {
            position: absolute;
            top: 0; left: 50%; width: 4px; height: 100%;
            background: white;
            cursor: ew-resize;
            transform: translateX(-50%);
            z-index: 10;
        }
        .slider-handle::before {
            content: '\f337'; /* FontAwesome arrows */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: #22c55e;
            position: absolute;
            top: 50%; left: 50%;
            width: 40px; height: 40px;
            background: white;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }

        /* Gallery Grid */
/* Custom Gallery Grid */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            padding: 1rem 0;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 1rem; /* Softer, modern corners */
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Polished spring feel */
            aspect-ratio: 4/3; /* Consistent aspect ratio */
            cursor: pointer;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .gallery-item:hover img {
            transform: scale(1.08); /* Subtle, premium zoom */
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            display: flex;
            align-items: flex-end;
            padding: 2rem;
        }

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

        /* Typography improvements for overlay text */
        .gallery-overlay h3 {
            color: white;
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1.25rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            transform: translateY(10px);
            transition: transform 0.4s ease;
            opacity: 0;
        }

        .gallery-item:hover .gallery-overlay h3 {
            transform: translateY(0);
            opacity: 1;
        }

        /* Nav specific */
        .nav-link { color: #374151; font-weight: 600; transition: color 0.2s; }
        .nav-link:hover { color: #16a34a; }
        .nav-link.active { color: #16a34a; }
