/* --- SERVICES SECTION STYLES (Matching image_fe0601.jpg) --- */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-black);
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 8px;
}

.services-header .breadcrumbs {
    font-size: 0.9rem;
    color: var(--gray-text);
    letter-spacing: 1px;
}

/* 3-Column Layout Grid for Desktop */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

/* Premium Card Framing */
.service-card {
    background-color: var(--bg-card);
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

/* Dark Image Desaturation Effect like reference sample */
.service-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    filter: grayscale(20%);
    transition: all 0.5s ease;
}

.service-content {
    padding: 25px 20px 30px 20px;
}

.service-content h3 {
    color: var(--gold);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-content p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Interactive Hover Frame Accent */
.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
}

.service-card:hover .service-img img {
    opacity: 0.9;
    transform: scale(1.03);
    filter: grayscale(0%);
}

/* --- MOBILE RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Snaps cleanly to 2 columns on tablets */
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 50px 15px;
    }

    .services-header h2 {
        font-size: 2rem;
    }

    /* Force absolute strict 100% block scaling to stop horizontal screen shaking */
    .services-grid {
        display: block !important;
        width: 100% !important;
    }

    .service-card {
        width: 100% !important;
        margin-bottom: 20px; /* Generates clean separation vertically */
        box-sizing: border-box !important;
    }

    .service-img {
        height: 180px; /* Slight height reduction for natural tracking on phone viewports */
    }
    
    .service-content {
        padding: 20px 15px 25px 15px;
    }
}
.gallery-area .box {
    position: relative
}

.gallery-area .box .gallery-img {
    height: 565px;
    background-size: cover;
    background-repeat: no-repeat
}

.gallery-area .box .big-img {
    height: 900px
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .gallery-area .box .big-img {
        height: 435px
    }
}

.gallery-area .box .gallery-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 767px) {

    /* First large image */
    .gallery-area .big-img {
        height: 250px;
    }

    /* Images 2,3,4,5 */
    .gallery-area .small-img {
        height: 160px;
    }

    .gallery-area .box {
        margin-bottom: 15px;
    }
}

.gallery-area .box .small-img {
    height: 435px
}

.gallery-area .box .overlay {
    position: absolute;
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0
}

.gallery-area .box .overlay .overlay-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto
}

.gallery-area .box .overlay .overlay-content h3 {
    color: #ffffff;
    font-size: 40px;
    margin: 0
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
    .gallery-area .box .overlay .overlay-content h3 {
        font-size: 32px
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .gallery-area .box .overlay .overlay-content h3 {
        font-size: 32px
    }
}

@media (max-width: 575px) {
    .gallery-area .box .overlay .overlay-content h3 {
        font-size: 32px
    }
}

.gallery-area .box .overlay .overlay-content a {
    color: #fff;
    background: #ff0000;
    width: 60px;
    height: 60px;
    display: inline-block;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    transform: rotate(45deg) !important;
    margin-bottom: 30px;
    font-size: 20px
}

.gallery-area .box .overlay .overlay-content a i {
    position: relative;
    bottom: -2px
}

.gallery-area .box .overlay .overlay-content a:hover {
    background: #fff;
    color: #ff0000
}

.gallery-area .box .overlay .overlay-content p {
    color: #fff
}

.gallery-area .box.snake {
    position: relative;
    overflow: hidden
}
.box {
    position: relative
}

.box img {
    width: 100%
}

.box.snake {
    position: relative;
    overflow: hidden
}

.overlay {
    position: absolute;
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0
}
