/*
Theme Name: Eonfik
Author: Modina Theme
Author URI: https://themeforest.net/user/modinatheme/
Description: Construction HTML Template
Version: 1.0.0
*/

/*
=================================
|***    Table of contents:   ***|
=================================

Main Style file-> assets/css/main.css 

All the SCSS File in SCSS Folder of Assets Folder. You can read the doc file also for better understand.

// BASIC
@import 'basic';

// MIXIN
@import 'variables';

// TYPOGRAPHY
@import 'typography';

// MIX
@import 'mix';

// HELPER
@import 'helper';

// ICON FONTS
@import 'icon';

// ANIMATION
@import 'animation';

// Button 
@import 'btn';

// Colors 
@import 'colors';

// Preloader 
@import 'preloader';

/* ----------------------------------
    Template Section Styles
 ------------------------------------*/

/* // Menu - Header Section 
 @import 'header';
 
 // Hero Slide - Section 
 @import 'hero';
 
 // Section Title - Heading 
 @import 'section';
 
 // About - Section 
 @import 'about';
 
 // Features - Section 
 @import 'features';
 
 // services - Section 
 @import 'services';
 
 // testimonial - Section 
 @import 'testimonial';
 
 // Portfolio - Cases - Section 
 @import 'project';
 
 // Price Table - Section 
 @import 'price';
 
 // Call To Action - Section 
 @import 'cta';
 
 // Content Block - Section 
 @import 'contentblock';
 
 // team - Section 
 @import 'team';
 
 // funfact - Section 
 @import 'funfact';
 
 // Download - Section 
 @import 'carousel';
 
 // FAQ - Section 
 @import 'faq';
 
 // Blog - Section 
 @import 'blog';
 
 // Contact Us - Section 
 @import 'contact';
 
 // footer - Section 
 @import 'footer';n facts */

.gallery-intro-section {
    padding: 100px 0;
    background: #f8f9fc;
    overflow: hidden;
}

.gallery-subtitle {
    color: #bc0001;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.gallery-title {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 800;
    color: #001659;
    margin-bottom: 25px;
}

.gallery-title span {
    color: #bc0001;
}

.gallery-content p {
    color: #666;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.gallery-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #001659;
}

.feature-item i {
    color: #bc0001;
}

.gallery-btn {
    display: inline-block;
    margin-top: 30px;
    background: #bc0001;
    color: #fff;
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: 700;
    transition: .4s;
}

.gallery-btn:hover {
    background: #001659;
    color: #fff;
}

.gallery-image-box {
    position: relative;
    max-width: 500px;
    margin-left: auto;
    padding-top: 30px;
}

.shape-bg {
    position: absolute;
    width: 280px;
    height: 280px;
    background: #bc0001;
    top: 0;
    right: -20px;
    border-radius: 30px;
    z-index: 1;
}

.gallery-image-box img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 30px;
    border: 8px solid #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
    transform: rotate(-3deg);
    transition: .4s;
}

.gallery-image-box:hover img {
    transform: rotate(0deg) scale(1.02);
}

.gallery-badge {
    position: absolute;
    bottom: 20px;
    left: -40px;
    z-index: 3;
    background: #bc0001;
    color: #fff;
    padding: 20px 30px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(188, 0, 1, .25);
}

.gallery-badge h4 {
    margin: 0;
    font-size: 36px;
    font-weight: 800;
}

.gallery-badge span {
    font-size: 14px;
}

@media(max-width:991px) {

    .gallery-content {
        margin-bottom: 60px;
    }

    .gallery-title {
        font-size: 40px;
    }

    .gallery-image-box {
        max-width: 100%;
    }

    .gallery-image-box img {
        height: 320px;
        transform: none;
    }

    .shape-bg {
        width: 180px;
        height: 180px;
    }

    .gallery-badge {
        left: 10px;
        bottom: 10px;
    }
}

.gallery-image-box {
    max-width: 550px;
    margin-left: auto;
    position: relative;
}

.gallery-image-box img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 25px;
    border: 8px solid #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.gallery-image-box::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: #bc0001;
    top: -20px;
    right: -20px;
    border-radius: 25px;
    z-index: -1;
}

.gallery-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #001659;
    color: #fff;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 22, 89, 0.25);
}

.gallery-badge h4 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.gallery-badge span {
    font-size: 13px;
}

.gallery-grid-section {
    padding-bottom: 100px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.5s;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 22, 89, 0.5),
            transparent);
    opacity: 0;
    transition: .4s;
}

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