/*==================================================
GALERI PAGE
==================================================*/

:root{

--primary:#0F4C81;
--secondary:#1E6AA8;
--accent:#F4B400;
--light:#F8FAFC;
--dark:#1F2937;
--border:#E5E7EB;

}

/*======================================
HERO
======================================*/

.hero-gallery{

padding:90px 0 120px;

background:linear-gradient(135deg,#154C79,#19706B);

color:#fff;

position:relative;

overflow:hidden;

}

.hero-gallery::before{

content:"";

position:absolute;

right:-120px;

top:-120px;

width:320px;

height:320px;

background:rgba(255,255,255,.08);

border-radius:50%;

}

.hero-breadcrumb{

margin-bottom:25px;

}

.hero-breadcrumb a{

color:#fff;

text-decoration:none;

}

.hero-breadcrumb span{

margin:0 8px;

opacity:.7;

}

.hero-badge{

display:inline-block;

background:#fff;

color:#0F4C81;

padding:8px 18px;

border-radius:40px;

font-weight:700;

margin-bottom:20px;

}

.hero-gallery h1{

font-size:56px;

font-weight:800;

margin-bottom:25px;

}

.hero-gallery p{

font-size:20px;

line-height:1.8;

max-width:700px;

}

.hero-stat{

display:flex;

gap:25px;

margin-top:40px;

flex-wrap:wrap;

}

.hero-stat div{

background:rgba(255,255,255,.15);

padding:18px 25px;

border-radius:18px;

text-align:center;

backdrop-filter:blur(8px);

}

.hero-stat h3{

font-size:30px;

font-weight:800;

margin-bottom:5px;

}

.hero-action{

display:flex;

justify-content:end;

align-items:center;

height:100%;

}

/*==================================================
SEARCH
==================================================*/

.gallery-search{

padding:45px 0;

background:#fff;

}

.search-wrapper{

background:#fff;

padding:25px;

border-radius:18px;

box-shadow:0 10px 35px rgba(0,0,0,.08);

}

/*==================================================
SECTION
==================================================*/

.gallery-section{

padding:80px 0;

background:#F7F9FC;

}

.section-heading{

display:flex;

justify-content:space-between;

align-items:center;

flex-wrap:wrap;

gap:20px;

margin-bottom:15px;

}

.section-heading span{

color:var(--primary);

font-weight:700;

}

.section-heading h2{

font-size:34px;

font-weight:700;

margin:10px 0;

}

.section-heading p{

color:#666;

margin:0;

}

.gallery-total{

display:inline-flex;

align-items:center;

gap:8px;

padding:12px 20px;

background:linear-gradient(135deg,#0F4C81,#1E6AA8);

color:#fff;

border-radius:50px;

font-weight:700;

box-shadow:0 10px 25px rgba(15,76,129,.25);

}

.gallery-info{

margin-bottom:35px;

color:#666;

}

/*==================================================
CARD
==================================================*/

.gallery-card{

background:#fff;

border-radius:20px;

overflow:hidden;

box-shadow:0 10px 30px rgba(0,0,0,.08);

transition:.35s;

height:100%;

}

.gallery-card:hover{

transform:translateY(-8px);

box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.gallery-image{

position:relative;

overflow:hidden;

height:260px;

}

.gallery-image img{

width:100%;

height:100%;

object-fit:cover;

transition:.5s;

}

.gallery-card:hover img{

transform:scale(1.08);

}

.gallery-preview{

position:absolute;

inset:0;

display:flex;

justify-content:center;

align-items:center;

background:rgba(15,76,129,.45);

color:#fff;

font-size:45px;

opacity:0;

transition:.35s;

text-decoration:none;

}

.gallery-card:hover .gallery-preview{

opacity:1;

}

.gallery-body{

padding:24px;

}

.gallery-category{

display:inline-block;

padding:6px 14px;

border-radius:30px;

background:#EEF5FB;

color:var(--primary);

font-size:13px;

font-weight:700;

margin-bottom:15px;

}

.gallery-body h3{

font-size:22px;

font-weight:700;

margin-bottom:18px;

color:var(--dark);

line-height:1.5;

}

.gallery-meta{

display:flex;

justify-content:space-between;

flex-wrap:wrap;

gap:10px;

font-size:14px;

color:#777;

}

.gallery-meta span{

display:flex;

align-items:center;

gap:6px;

}

/*==================================================
EMPTY
==================================================*/

.empty-gallery{

text-align:center;

padding:80px 20px;

}

.empty-gallery i{

font-size:70px;

color:#ccc;

}

.empty-gallery h3{

margin-top:20px;

font-weight:700;

}

.empty-gallery p{

color:#777;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:991px){

.hero-gallery{

padding:70px 0;

text-align:center;

}

.hero-gallery h1{

font-size:36px;

}

.hero-gallery p{

font-size:16px;

}

.hero-stat{

justify-content:center;

}

.section-heading{

text-align:center;

justify-content:center;

}

}

@media(max-width:576px){

.hero-gallery h1{

font-size:30px;

}

.hero-stat{

flex-direction:column;

}

.hero-stat div{

width:100%;

}

.gallery-image{

height:220px;

}

.search-wrapper{

padding:18px;

}

}

/*==================================
MODAL
==================================*/

.gallery-modal-header{

background:linear-gradient(135deg,#0F4C81,#1E6AA8);

color:#fff;

border:none;

}

.gallery-modal-header .btn-close{

filter:invert(1);

}