/*
Theme Name: Garden Art
Description: A clean, minimalist WordPress theme for creative studios and agencies
Author: manawp
Version: 1.0
License: GPL v2 or later
Text Domain: garden-art
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comfortaa', sans-serif;
    line-height: 1.6;
    color: #202124;
    background-color: #ffffff;
    font-weight: 500;
    font-size: 20px;
}

/* Header */
.header {
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    /* background: rgba(255, 255, 255, 0.95); */
    /* backdrop-filter: blur(10px); */
    /* padding: 16px 0; */
    z-index: 1000;
    /* border-bottom: 1px solid #e8eaed; */
}

/* Admin bar adjustments */
.admin-bar .header {
    top: 32px; /* WordPress admin bar height */
}

@media (max-width: 782px) {
    .admin-bar .header {
        top: 46px; /* Mobile admin bar height */
    }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 7px;
    /* background: #00000036; */
    backdrop-filter: blur(6px);
    border-radius: 0 0 12px 12px;
}

.logo {
    font-size: 20px;
    font-weight: 400;
    color: #202124;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu li {
    display: inline-block;
}

.nav-menu a {
    text-decoration: none;
    color: #000000;
    font-weight: 400;
    font-size: 19px;
    transition: color 0.2s ease;
    padding: 8px 16px;
    display: inline-block;
    border-radius: 4px;
    transition: 0.3s all;
    /* text-shadow: 0 0 6px #000000, 0px 3px 1px #000000a3; */
}

.nav-menu a:hover {
    color: #0041a5;
    background: rgba(0, 0, 0, 0.05);
}

/* Banner Section */
.banner {
    position: relative;
  
}


@media (max-width: 782px) {
    .admin-bar .banner {
        margin-top: 110px; /* 64px + 46px mobile admin bar */
    }
}

.banner h1 {
    font-size: 48px;
    font-weight: 300;
    color: #5f6368;
    letter-spacing: -1px;
}

/* Banner Swiper Slider */
.banner-swiper {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    /* border-radius: 12px; */
    overflow: hidden;
}

.banner-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Swiper Navigation Arrows */
.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.banner-swiper .swiper-button-next:hover,
.banner-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.banner-swiper .swiper-button-next::after,
.banner-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Swiper Pagination */
.banner-swiper .swiper-pagination {
    bottom: 20px;
    display: flex !important;
}

.banner-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.banner-swiper .swiper-pagination-bullet-active {
    background: #ffffff;
    transform: scale(1.2);
}

/* Responsive adjustments for Swiper */
@media (max-width: 768px) {
    .banner-swiper {
        aspect-ratio: 2/1;
    }
    
    .banner-swiper .swiper-button-next,
    .banner-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .banner-swiper .swiper-button-next::after,
    .banner-swiper .swiper-button-prev::after {
        font-size: 16px;
    }
    
    .banner-swiper .swiper-pagination {
        bottom: 15px;
    }
    
    .banner-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

/* Service Images */
.service-image {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    /* width: 80px; */
    /* height: 80px; */
    margin: 0 auto 16px;
    position: relative;
}

.service-image img {
    width: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.service-default-image {
    opacity: 1;
}

.service-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.service-item:hover .service-default-image {
    opacity: 0;
}

.service-item:hover .service-hover-image {
    opacity: 1;
}

/* Client Images */
.client-item img {
    max-width: 159px;
    height: auto;
    /* filter: grayscale(100%); */
    transition: all 0.2s ease;
    border-radius: 4px;
    /* aspect-ratio: 2; */
    object-fit: contain;
    max-height: 152px;
}

.client-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Email Display Styles */
.email-display-top,
.email-display-bottom {
    background: rgba(32, 33, 36, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    text-align: center;
    position: relative;
    z-index: 100;
}

.email-display-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.email-display-bottom {
    margin-top: 40px;
}

.email-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.email-icon {
    font-size: 16px;
}

.email-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.email-link:hover {
    color: #dadce0;
}

/* Admin bar adjustments for email display */
.admin-bar .email-display-top {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .email-display-top {
        top: 46px;
    }
}

/* Parallax Background - Fixed positioning */
.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(0);
    transition: all 0.8s ease-out;
    will-change: transform;
    z-index: -1;
    opacity: 0.1;
    /* filter: blur(4px)grayscale(1); */
    filter: contrast(2.5)grayscale(2);
}


.section-content {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 52px;
    font-weight: 900;
    /* margin-bottom: 50px; */
    min-height: 250px;
    /* color: #ffffff; */
    letter-spacing: -0.5px;
    position: relative;
    display: flex;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: center;
    text-shadow: 0px 2px 17px #ffffff, 0px 0px 48px #ffffff, 0px 0px 48px #ffffff, 0px 0px 48px #ffffff, 0px 0px 48px #ffffff, 0px 0px 48px #ffffff, 0px 0px 48px #ffffff, 0px 0px 48px #ffffff, 0px 0px 48px #ffffff;
    background: #ffffff;
    overflow: hidden;
    border-radius: 152px;
    transition: all 0.3s ease;
    /* box-shadow: inset 0 0 20px 10px #ffffff, inset 0 0 20px 10px #ffffff; */
}

/* Enhanced parallax effect for section titles */
.section-title:after {content: '';height: 100%;width: 100%;display: block;position: absolute;inset: 0;box-shadow: inset 0 0 22px 23px #ffffff, inset 0 0 70px 60px #ffffff;border-radius: 102px;}



/* Content area styling */
.content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Section Styles */
.section {
    padding: 14px;
    max-width: 1340px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 30px;
}

/* What We Do Section */
.what-we-do {
    /* background: #ffffff; */
    border-radius: 24px 24px 0 0;
}

/* Services Section */
.services {
    /* background: #fafafa; */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(218px, 1fr));
    gap: 32px;
    margin-top: -30px;
}

.service-item {
    /* background: #ffffff; */
    /* border-radius: 12px; */
    /* padding: 32px 24px; */
    text-align: center;
    transition: all 0.3s ease;
    /* border: 1px solid #e8eaed; */
    /* box-shadow: 0 1px 3px rgba(0,0,0,0.08); */
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-4px);
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.12); */
    /* border-color: #dadce0; */
}

.service-item h3 {
    font-size: 21px;
    font-weight: 400;
    color: #202124;
    margin-bottom: 12px;
    /* letter-spacing: -0.2px; */
    transition: all 0.3s ease;
    line-height: 1.5;
}

.service-item p {
    font-size: 14px;
    line-height: 1.5;
    color: #5f6368;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

.service-item:hover p {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
    margin-top: 12px;
}

.service-item:hover h3 {
    margin-bottom: 8px;
}

/* Clients Section */
.clients {
    background: #ffffff;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.client-item {
    font-size: 20px;
    font-weight: 400;
    color: #5f6368;
    /* padding: 16px; */
    border-radius: 8px;
    transition: all 0.2s ease;
}

.client-item:hover {
    /* color: #202124; */
    /* background: #f8f9fa; */
}

/* Projects Section */
.projects {
    /* background: #fafafa; */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(312px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.project-item {
    background: #ffffff;
    /* padding: 32px 24px; */
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 12px;
    border: 1px solid #e8eaed5e;
    box-shadow: 0 1px 20px 0px rgba(0, 0, 0, 0.08);
    aspect-ratio: 1.65;
    position: relative;
    overflow: hidden;
}

.project-item:hover {
    transform: translateY(-4px);
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.12); */
    /* border-color: #dadce0; */
}

.project-item h3 {
    font-size: 16px;
    font-weight: 500;
    color: #202124;
    letter-spacing: -0.2px;
    /* margin-bottom: 12px; */
    position: absolute;
    bottom: 0;
    text-align: center;
    background: #ffffff;
    padding: 7px;
    font-weight: 300;
    width: 100%;
    box-shadow: 0 0 10px #00000030;
    transition: all 0.3s ease-in-out;
    /* border-radius: 0 0 12px 12px; */
}

.project-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.project-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #5f6368;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

.project-item:hover .project-excerpt {
    opacity: 1;
    max-height: 60px;
    transform: translateY(0);
    margin-top: 12px;
}

/* Who We Are Section */
.who-we-are {
    background: #ffffff;
}

/* Contact Section */
.contact {
    /* background: #dddddd; */
    /* border-radius: 32px 32px 0 0; */
}

.contact-form {
    max-width: 800px;
    margin: 48px auto 0;
}

.email-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    font-size: 16px;
    color: #5f6368;
    border: 1px solid #e8eaed;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.email-box:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Footer */
.footer {
    background: #202124;
    color: #9aa0a6;
    text-align: center;
    padding: 48px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Single Project Page */
.single-project {
    margin-top: 0;
    padding: 40px 6px;
    max-width: 1195px;
    margin-left: auto;
    margin-right: auto;
}

/* Admin bar adjustments for single pages */
.admin-bar .single-project {
    /* margin-top: 112px; */ /* 80px + 32px admin bar */
}

@media (max-width: 782px) {
    .admin-bar .single-project {
        margin-top: 0; /* 80px + 46px mobile admin bar */
        padding-top: 0;
    }
}

.project-header {
    text-align: center;
    margin: 50px 0 10px;
    text-align: left;
}

.project-title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 0;
}

.project-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    background: #f9f9f9;
    padding: 8px 15px;
    margin: 0 -12px;
    border-radius: 12px;
}

/* Single Service Page */
.single-service {
    margin-top: 80px;
    padding: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Admin bar adjustments for single service pages */
.admin-bar .single-service {
    margin-top: 112px; /* 80px + 32px admin bar */
}

@media (max-width: 782px) {
    .admin-bar .single-service {
        margin-top: 126px; /* 80px + 46px mobile admin bar */
    }
}

.service-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 20px;
}

.service-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* Archive Pages */
.archive-header {
    text-align: center;
    margin: 80px 0 50px;
    padding: 0 20px;
}

/* Admin bar adjustments for archive pages */
.admin-bar .archive-header {
    margin-top: 112px; /* 80px + 32px admin bar */
}

@media (max-width: 782px) {
    .admin-bar .archive-header {
        margin-top: 126px; /* 80px + 46px mobile admin bar */
    }
}

.archive-title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 20px;
}

.archive-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.archive-projects,
.archive-services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Project and Service Meta */
.project-meta,
.service-meta {
    background: #f5f5f5;
    padding: 30px;
    margin: 40px 0;
    border-radius: 10px;
}

.meta-item {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item strong {
    color: #333;
    margin-right: 10px;
}

/* Navigation */
.project-navigation,
.service-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #666;
}

.back-to-projects,
.back-to-services {
    text-align: center;
}

.back-to-projects a,
.back-to-services a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-projects a:hover,
.back-to-services a:hover {
    color: #666;
}

/* Archive Grid Items */
.project-link,
.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.project-link:hover,
.service-link:hover {
    transform: translateY(-5px);
}

.project-thumbnail,
.service-thumbnail {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.project-thumbnail img,
.service-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.project-link:hover .project-thumbnail img,
.service-link:hover .service-thumbnail img {
    transform: scale(1.05);
}

.project-info,
.service-info {
    text-align: center;
}

.project-info .project-title,
.service-info .service-title {
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 10px;
}

.project-excerpt,
.service-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* No Posts Found */
.no-projects,
.no-services {
    text-align: center;
    padding: 80px 20px;
}

.no-projects h2,
.no-services h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.no-projects p,
.no-services p {
    color: #666;
    font-size: 1.1rem;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 50px 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #e0e0e0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #333;
    color: #fff;
}

/* Featured Images */
.project-featured-image,
.service-featured-image {
    margin-bottom: 30px;
    text-align: center;
}

.project-featured-image img,
.service-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Admin bar adjustments for mobile menu */
@media (max-width: 782px) {
    .admin-bar .nav-menu {
        /* top: 110px; */ /* 80px header + 46px mobile admin bar */
    }
}

/* Animations */
.service-item.animate,
.project-item.animate,
.client-item.animate {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #5f6368;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: #202124;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    z-index: 1001;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #202124;
}

/* Form Styles */
input.error,
textarea.error {
    border-color: #ff0000 !important;
}

/* Social Links */
.social-links {
    margin: 0;
}

.social-link {
    display: inline-block;
    margin: 0 12px;
    color: #9aa0a6;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
}

.social-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {

    .mobile-menu-toggle {
        display: block;
        position: relative;
        z-index: 2;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .banner h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clients-grid {
        gap: 30px;
    }
    
    .archive-title,
    .project-title,
    .service-title {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .archive-title,
    .project-title,
    .service-title {
        font-size: 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}


img.banner-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 450px;
    z-index: 99;
    transform: translate(-50%, -50%);
}

/* Project Gallery Styles */
.project-gallery {
    margin: 40px 0;
    /* padding: 40px 0; */
    /* border-top: 1px solid #e8eaed; */
}

.project-gallery h3 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #202124;
    text-align: center;
}

.gallery-grid {
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    gap: 20px;
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    flex-direction: column;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.gallery-image {
    width: 100%;
    /* height: 300px; */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Lightbox overlay styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 15px 10px;
    border-radius: 4px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-image {
        /* height: 250px; */
    }
    
    .project-gallery h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .lightbox-nav {
        padding: 10px 5px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

.project-item img {
    width: 100%;
    aspect-ratio: 1.95 !important;
    height: auto;
    object-fit: cover;
    object-position: top;
    transition: 0.3s all ease-in-out;
}

.project-item:hover img {
    transform: scale(1.1);
}

.single-project .header-content {
    background: unset;
}

.single-project header.header a {
    text-shadow: unset;
    color: #143077;
}

textarea#ff_1_message {
    height: 164px;
}