/* ============================================
   GIFADWORK NAVBAR - Independent Navigation
   ============================================ */

/* Navbar Container */
.gifadwork-navbar {
    position: fixed;
    top: 63px;
    right: 30px;
    z-index: 10000;
    pointer-events: auto;
}

.gifadwork-navbar__container {
    position: relative;
}

/* Hamburger Button - Modern Design */
.gifadwork-hamburger {
    width: 56px;
    height: 56px;
    background: #d1284a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    position: relative;
}

.gifadwork-hamburger:hover {
    background: #b31e3e;
    transform: scale(1.08) rotate(5deg);
}

.gifadwork-hamburger__line {
    width: 26px;
    height: 2.5px;
    background: #fff;
    display: block;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-radius: 2px;
}

/* Hamburger Active State - Smooth Animation */
.gifadwork-hamburger--active {
    background: #ffffff;
}

.gifadwork-hamburger--active:hover {
    background: #d1284a;
}

.gifadwork-hamburger--active .gifadwork-hamburger__line {
    background: #d1284a;
}

.gifadwork-hamburger--active:hover .gifadwork-hamburger__line {
    background: #ffffff;
}

.gifadwork-hamburger--active .gifadwork-hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.gifadwork-hamburger--active .gifadwork-hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.gifadwork-hamburger--active .gifadwork-hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu Wrapper */
.gifadwork-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.5s, opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    pointer-events: none;
}

.gifadwork-menu--active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

/* Menu Overlay - Modern Dark */
.gifadwork-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

/* Menu Container - Modern Card Design */
.gifadwork-menu__container {
    position: absolute;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    background: #0a0a0a;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.gifadwork-menu--active .gifadwork-menu__container {
    right: 0;
}

/* Menu Inner */
.gifadwork-menu__inner {
    padding: 120px 80px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    min-height: 100%;
}

/* Menu Left */
.gifadwork-menu__left {
    display: flex;
    flex-direction: column;
}

.gifadwork-menu__caption {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 50px;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.gifadwork-menu__nav {
    flex: 1;
}

.gifadwork-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gifadwork-menu__item {
    margin-bottom: 24px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.gifadwork-menu--active .gifadwork-menu__item:nth-child(1) {
    animation-delay: 0.1s;
}

.gifadwork-menu--active .gifadwork-menu__item:nth-child(2) {
    animation-delay: 0.2s;
}

.gifadwork-menu--active .gifadwork-menu__item:nth-child(3) {
    animation-delay: 0.3s;
}

.gifadwork-menu--active .gifadwork-menu__item:nth-child(4) {
    animation-delay: 0.4s;
}

.gifadwork-menu--active .gifadwork-menu__item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gifadwork-menu__link {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto !important;
    position: relative;
    letter-spacing: -0.5px;
    padding-bottom: 8px;
}

.gifadwork-menu__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #d1284a;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gifadwork-menu__link:hover {
    color: #d1284a;
    transform: translateX(8px);
}

.gifadwork-menu__link:hover::after {
    width: 100%;
}

/* Menu Right */
.gifadwork-menu__right {
    display: flex;
    align-items: center;
}

.gifadwork-menu__promo {
    width: 100%;
}

.gifadwork-menu__promo-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 300;
}

.gifadwork-menu__content-wrapper {
    width: 100%;
    max-width: 540px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
    height: 450px;
}

.gifadwork-content-item {
    display: none;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.gifadwork-content-item.active {
    display: block;
    opacity: 1;
}

.gifadwork-content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contact Info Styling */
.gifadwork-contact-info {
    padding: 35px;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.contact-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #ffffff;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 22px;
    color: #d1284a;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.contact-item p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Menu Footer */
.gifadwork-menu__footer {
    grid-column: 1 / -1;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.gifadwork-menu__footer a {
    /* color: #d1284a; */
    transition: color 0.3s ease;
}

.gifadwork-menu__footer a:hover {
    color: #ff4066;
}

/* Responsive */
@media (max-width: 768px) {
    .gifadwork-navbar {
        top: 37px;
        right: 20px;
    }

    .gifadwork-hamburger {
        width: 56px;
        height: 56px;
    }

    .gifadwork-menu__container {
        width: 100%;
    }

    .gifadwork-menu__inner {
        grid-template-columns: 1fr;
        padding: 100px 40px 50px;
        gap: 50px;
    }

    .gifadwork-menu__link {
        font-size: 24px;
    }
}

/* Ensure no conflicts */
.gifadwork-menu--active * {
    pointer-events: auto !important;
}






/* ============================================
   RESPONSIVE BUTTON ICONS
   ============================================ */

/* Button Caption and Icon visibility control */
.btn-caption {
    display: inline-block;
}

.btn .bi-camera,
.btn .bi-telephone {
    display: none;
}

/* Desktop: show arrow, hide specific icons */
@media (min-width: 769px) {
    .btn .ph-arrow-up-right {
        display: inline-block;
    }
    
    .btn .bi-camera,
    .btn .bi-telephone {
        display: none !important;
    }
}

/* Mobile: hide caption and arrow, show specific icons */
@media (max-width: 991px) {
    .btn-caption {
        display: none;
    }

    .btn .ph-arrow-up-right {
        display: none !important;
    }

    /* Show camera icon for projects button */
    .btn-projects .bi-camera {
        display: inline-block !important;
    }

    /* Show phone icon for contact button */
    .btn-contact .bi-telephone {
        display: inline-block !important;
    }

    .btn {
        padding: 10px;
        min-width: 45px;
        justify-content: center;
    }

    .btn i {
        margin: 0;
    }

}

/* ============================================
   END RESPONSIVE BUTTON ICONS
   ============================================ */










/* ============================================
   END GIFADWORK NAVBAR
   ============================================ */

/* Ensure loader never blocks interactions */
#loader,
#loader * {
    pointer-events: none !important;
}

/* Make hamburger always clickable and above overlays */
.mxd-nav__hamburger {
    position: relative;
    z-index: 10000;
    pointer-events: auto;
    cursor: pointer;
}

/* Ensure menu wrapper shows when active */
.mxd-menu__wrapper.active {
    visibility: visible;
    opacity: 1;
    transform: none;
}

/* Guard against body overlays blocking clicks */
.mxd-nav__wrap.active,
.mxd-menu__wrapper.active {
    pointer-events: auto;
}

/* CUSTOM STYLES - TÃƒÂ¼m inline CSS'ler bu dosyaya taÃ…Å¸Ã„Â±ndÃ„Â± */

/* FOOTER STYLES */
.mxd-footer {
    background-color: rgb(34, 37, 45);
    padding: 25px 20px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-container {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px;
}

.footer-section {
    flex: 0 1 auto;
    min-width: auto;
    display: flex;
    align-items: center;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.footer-item i {
    font-size: 20px;
    color: #fff;
}

.footer-item a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-item a:hover {
    color: rgb(237, 37, 77);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #4a4a4a;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: rgb(237, 37, 77);
    transform: translateY(-3px);
}

.social-links i {
    font-size: 18px;
}

/* KUTU STYLES */
.kutu {
    position: relative;
    left: 550px;
    top: 33px;
    z-index: 999;
    width: 285px;
    height: 53px;
    background-color: rgb(27, 29, 35);
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.inner-kutu {
    position: relative;
    right: 169px;
    top: 20px;
    z-index: 1014;
    width: 193px;
    height: 61px;
    background-color: rgb(237, 37, 77);
    border-top-right-radius: 41px;
    border-bottom-right-radius: 37px;
    background: transparent;
}

/* CEMBER STYLES */
.cember {
    left: -30px;
    top: 148px;
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgb(0, 0, 0);
    color: white;
    font-size: 14px;
    font-weight: bold;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    overflow: hidden;
}

.cember p {
    margin: 0;
    font-size: 12px;
}

.cember h3 {
    margin: 2px 0 0 0;
    font-size: 20px;
    font-weight: bold;
}

/* PROJECT PREVIEW FIX */
.mxd-project-item__preview.masonry-preview {
    width: 710px !important;
    height: 560px !important;
}

.mxd-projects-masonry .mxd-project-item .mxd-project-item__preview.masonry-preview {
    width: 710px !important;
    height: 560px !important;
}

/* BRAND CARD STYLES */
.brand-card,
.brand-card * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.mxd-projects-masonry__item .brand-card {
    position: relative !important;
    transform: translate3d(0, 0, 0) !important;
}

.brand-card .brand-card-title,
.brand-card .brand-stats,
.brand-card .brand-logos,
.brand-card .brand-slider-dots,
.brand-card .brand-controls {
    opacity: 1 !important;
    transform: none !important;
}

.brand-card {
    background: linear-gradient(135deg, #6c7080 0%, #4a4e5a 100%);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    height: 100%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    color: white;
    font-family: 'Inter', sans-serif;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.brand-card-header {
    margin-bottom: 30px;
}

.brand-card-title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
    opacity: 0.9;
}

.brand-stats {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 25px;
}

.stats-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

/* -------------------------------------------------- */
/* FÃ„Â°LTRE BÃƒâ€“LÃƒÅ“MÃƒÅ“ - GeliÃ…Å¸tirilmiÃ…Å¸ TasarÃ„Â±m (GLOBAL)      */
/* -------------------------------------------------- */
.calismalar-filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 40px auto 50px;
    /* max-width: 1040px; */
}

.calismalar-filter-btn {
    position: relative;
    padding: 14px 34px;
    border-radius: 40px;
    background: #ffffff00;
    color: #222;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .3px;
    border: 2px solid #000000;
    cursor: pointer;
    overflow: hidden;
}

.calismalar-filter-btn:focus-visible {
    outline: 3px solid #764ba2;
    outline-offset: 2px;
}

.calismalar-filter-btn:hover {
    background: #000000;
    transform: translateY(-3px);
}

.calismalar-filter-btn.active {
    background: linear-gradient(90deg, #000000, #000000);
    color: #fff;
    border-color: #000000;
    transform: translateY(-4px);
}

.calismalar-filter-btn.active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 40px;
    padding: 2px;
    background: linear-gradient(120deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: activeGlow 3s linear infinite;
    pointer-events: none;
}

@keyframes activeGlow {
    0% {
        opacity: .4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .4;
    }
}

/* KATEGORÃ„Â° SECTIONS */
.category-section {
    transition: opacity .4s ease, transform .4s ease;
}

.category-section:not(.active) {
    display: none;
}

@media (max-width: 1024px) {
    .calismalar-filter-section {
        gap: 18px;
    }

    .calismalar-filter-btn {
        padding: 12px 26px;
    }
}

@media (max-width: 640px) {
    .calismalar-filter-btn {
        padding: 11px 22px;
        font-size: 13px;
    }
}

.stats-suffix {
    font-size: 16px;
    margin-left: 5px;
}

.stats-text {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

.brand-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    gap: 20px;
}

.logo-placeholder {
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.brand-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.view-all-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

.brand-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* ANIMATION STYLES */
.animate-card-3 {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-section {
        width: 100%;
        justify-content: center;
    }

    .brand-card {
        padding: 20px;
        min-height: 320px;
    }

    .stats-number {
        font-size: 36px;
    }

    .brand-logos {
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo-placeholder {
        width: 50px;
        height: 25px;
    }

    .kutu {
        left: 50%;
        transform: translateX(-50%);
        width: 250px;
    }

    .cember {
        left: 10px;
        top: 120px;
        width: 120px;
        height: 120px;
    }

    .cember h3 {
        font-size: 16px;
    }
}

.hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.stack-item:hover .hover-video,
.mxd-projects-stack__inner:hover .hover-video {
    opacity: 1;
}

.stack-item:hover .mxd-projects-stack__image img,
.mxd-projects-stack__inner:hover .mxd-projects-stack__image img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mxd-projects-stack__image img {
    transition: opacity 0.3s ease;
}

/* FOTO GRID 3 COLUMN LAYOUT */
.foto-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

.calismalar-foto-grid-section {
    padding: 50px 0;
    width: 100%;
    max-width: 100%;
}

.calismalar-foto-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4/3;
    background: #1a1a1a;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: auto;
}

.calismalar-foto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.calismalar-foto-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.calismalar-foto-card:hover::before {
    opacity: 1;
}

.calismalar-foto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.calismalar-foto-card:hover img {
    transform: scale(1.05);
}

.calismalar-foto-card .calismalar-video-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
    padding: 25px 20px 18px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    z-index: 2;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.calismalar-foto-card:hover .calismalar-video-label {
    background: linear-gradient(to top, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.8) 70%, transparent 100%);
}

/* -------------------------------------------------- */
/* YENÃ„Â° FOTO GALERÃ„Â° TASARIMI                          */
/* -------------------------------------------------- */
.company-gallery-three {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    gap: 34px;
    align-items: stretch;
    margin-bottom: 50px;
}

.gallery-unit {
    position: relative;
    background: #14161c;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 4/5;
    isolation: isolate;
    transition: transform .6s ease, box-shadow .6s ease;
}

.gallery-stack {
    display: grid;
    gap: 34px;
}

.gallery-stack .gallery-unit {
    aspect-ratio: 16/10;
}

.unit-tall {
    grid-row: span 2;
}

@media (max-width: 900px) {
    .company-gallery-three {
        grid-template-columns: 1fr;
    }

    .unit-tall {
        grid-row: span 1;
        aspect-ratio: 16/10;
    }

    .gallery-stack {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .gallery-stack .gallery-unit {
        aspect-ratio: 4/3;
    }
}

.gallery-unit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.92) contrast(1.05);
    transition: transform .8s cubic-bezier(.25, .8, .25, 1), filter .5s ease;
}

.gallery-unit::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .3) 55%, rgba(255, 255, 255, .05) 100%);
    opacity: 0;
    transition: opacity .5s ease;
    z-index: 1;
}

.gallery-unit figcaption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px 24px 20px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .4px;
    color: #fff;
    transform: translateY(14px);
    opacity: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 65%, transparent 100%);
    transition: opacity .45s ease, transform .45s ease;
}

.gallery-unit:hover {
    transform: translateY(-8px);
}

.gallery-unit:hover img {
    transform: scale(1.07);
    filter: brightness(1.05) contrast(1.1);
}

.gallery-unit:hover::after {
    opacity: .35;
}

.gallery-unit:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

.company-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    width: 100%;
    margin-top: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #121317;
    isolation: isolate;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    aspect-ratio: 4/5;
}

@media (max-width: 900px) {
    .gallery-item.wide {
        grid-column: span 1;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease, filter .6s ease;
    filter: brightness(.92) contrast(1.05);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
}

.gallery-item figcaption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 20px 16px;
    font-weight: 600;
    letter-spacing: .3px;
    font-size: 15px;
    color: #fff;
    opacity: 0;
    transition: opacity .45s ease, transform .45s ease;
    background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 60%, transparent 100%);
}

.gallery-item:hover::after {
    opacity: .35;
}

.gallery-item:hover figcaption {
    opacity: 1;
}

/* LIGHTBOX (CSS-Only :target) */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 16, 20, .85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    z-index: 1500;
}

.lightbox:target {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: min(1100px, 90vw);
    max-height: 70vh;
    width: auto;
    height: auto;
    border-radius: 24px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 28px;
    right: 34px;
    font-size: 42px;
    text-decoration: none;
    color: #fff;
    line-height: 1;
    font-weight: 300;
    transition: transform .35s ease, color .35s ease;
}

.lightbox-close:hover {
    transform: scale(1.15);
    color: #ff4669;
}

.lightbox-caption {
    margin-top: 26px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .4px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

@media (max-width: 640px) {
    .company-gallery {
        gap: 20px;
    }

    .gallery-item {
        border-radius: 18px;
    }

    .gallery-item.tall {
        aspect-ratio: 3/4;
    }

    .lightbox {
        padding: 40px 20px;
    }

    .lightbox img {
        max-height: 60vh;
    }

    .lightbox-close {
        top: 18px;
        right: 22px;
        font-size: 34px;
    }

    .lightbox-caption {
        font-size: 16px;
    }
}
/* Override .anasayfa-cember position to move it higher */
.anasayfa-cember {
    top: 80px !important;
}

@media (max-width: 1200px) {
    .anasayfa-cember {
        top: 60px !important;
    }
}

@media (max-width: 768px) {
    .anasayfa-cember {
        top: 40px !important;
    }
}


/* Footer Design Update */
.anasayfa-home-mxd-footer {
    background-color: #e7e7e7 !important;
    border-top-left-radius: 30px !important;
    border-top-right-radius: 30px !important;
    max-width: 1700px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
}

.anasayfa-footer-item a {
    color: #1a1a1a !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.anasayfa-footer-item i {
    color: #1a1a1a !important;
    font-size: 18px !important;
}

.anasayfa-home-social-links a {
    color: #888 !important;
    font-size: 20px !important;
    margin: 0 12px !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
}

.anasayfa-home-social-links a:hover {
    color: #d1284a !important;
    transform: translateY(-2px);
}

.anasayfa-footer-container {
    gap: 60px !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .anasayfa-footer-container {
        gap: 30px !important;
        flex-direction: column;
    }
    
    .anasayfa-home-mxd-footer {
        padding: 30px 20px !important;
        border-radius: 20px 20px 0 0 !important;
    }
}


* {
    font-family: 'Inter', sans-serif !important;
}

.calismalar-hero-stats-section {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    background-color: #54575e !important;
    border-radius: 24px !important;
    padding: 12px !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    min-height: 140px !important;
}

.calismalar-stat-item {
    flex: 1 !important;
    padding: 20px 10px !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background-color: transparent !important;
    margin: 0 5px !important;
}

.calismalar-stat-item:hover,
.calismalar-stat-item.active {
    background-color: #40434a !important;
}

.calismalar-stat-item .calismalar-stat-number {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
}

.calismalar-stat-item .calismalar-stat-label {
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: #e0e0e0 !important;
    line-height: 1.2 !important;
    max-width: 140px !important;
    margin: 0 auto !important;
}

/* Responsive */
@media (max-width: 991px) {
    .calismalar-hero-stats-section {
        flex-wrap: wrap !important;
        height: auto !important;
        min-height: auto !important;
    }
    .calismalar-stat-item {
        flex: 1 1 45% !important;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 576px) {
    .calismalar-stat-item {
        flex: 1 1 100% !important;
    }
}


/* Video Style Button - Custom Implementation */
.video-style-btn {
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 999px !important; /* Pill shape */
    /* padding: 15px 30px !important; */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: transform 0.3s ease, background-color 0.3s ease !important;
    border: none !important;
    width: 100% !important; /* Match text width */
    box-sizing: border-box !important;
    /* margin-top: 20px !important; */
}

.video-style-btn:hover {
    background-color: #222 !important;
    transform: translateY(-3px) !important;
    color: #fff !important;
}

.video-style-btn i {
    font-size: 24px !important;
    margin-left: 10px !important;
}


/* Mobile Fixed Height for Home Stats and Brands */
@media (max-width: 1199px) {
    .anasayfa-mxd-stats-cards__inner,
    .anasayfa-brands-section {
        height: 450px !important;
        min-height: 576px !important;
        max-height: 538px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    .anasayfa-mxd-stats-cards__inner .anasayfa-right-content-wrapper {
        z-index: 2 !important;
        position: relative !important;
    }
    
    .anasayfa-mxd-stats-cards__image {
        position: absolute !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        width: 100% !important;
        z-index: 1 !important;
    }
    
    .anasayfa-mxd-stats-cards__image img {
        width: 100% !important;
        height: 71% !important;
        object-fit: cover !important;
    }
}

/* Home stats 3D image: keep under text up to 1400px */
@media (max-width: 1400px) {
    /* Kırmızı kartın içeriğe göre uzamasını sağla */
    .anasayfa-mxd-stats-cards__inner2 {
        position: relative !important;
        height: auto !important;
        min-height: 700px !important;
        max-height: none !important;
        padding-bottom: 320px !important; /* altta görsel için daha fazla yer */
        overflow: visible !important; /* pembe kutudan biraz taşabilsin */
    }

    .anasayfa-right-content-wrapper {
        position: relative !important;
        z-index: 2 !important;
        margin-top: 30px !important;
        text-align: center !important;
    }

    /* Butonlar ile görsel arasında boşluk bırak */
    .anasayfa-right-content-buttons {
        margin-bottom: 24px !important;
    }

    /* 3D bina görselini kartın altına, ortalanmış şekilde yerleştir */
    .anasayfa-mxd-stats-cards-image-3 {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        bottom: -164px !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        max-width: 700px !important;
        height: auto !important;
        margin: 0 auto !important;
        z-index: 1 !important;
        pointer-events: none;
    }

    .anasayfa-mxd-stats-cards-image-3 img {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
    }
}

/* 600px–1300px arası: görseli yazı/butonların çok altına al */
@media (min-width: 600px) and (max-width: 1300px) {
    .anasayfa-mxd-stats-cards__inner2 {
        min-height: 719px !important;
        padding-bottom: 419px !important;
    }

    .anasayfa-mxd-stats-cards-image-3 {
        bottom: -178px !important;
        max-width: 750px !important;
        min-width: 750px !important;
    }
}


/* 600px–1300px arası: görseli yazı/butonların çok altına al */
@media (max-width: 600px) {
    .anasayfa-mxd-stats-cards__inner2 {
        min-height: 709px !important;
        padding-bottom: 380px !important;
    }

    .anasayfa-mxd-stats-cards-image-3 {
        bottom: -147px !important;
        max-width: 756px !important;
        min-width: 630px !important;
    }

    
    .anasayfa-mxd-stats-cards-image-3 img {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
    }

}

@media (max-width: 576px) {
    .anasayfa-mxd-stats-cards__inner2 {
        min-height: 669px !important;
        padding-bottom: 353px !important;
    }

    .anasayfa-mxd-stats-cards-image-3 {
        bottom: -45px !important;
        max-width: 621px !important;
        min-width: 572px !important;
    }

    
    .anasayfa-mxd-stats-cards-image-3 img {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
    }

}

@media (max-width: 400px) {
    .anasayfa-mxd-stats-cards__inner2 {
        min-height: 643px !important;
        padding-bottom: 310px !important;
    }

    .anasayfa-mxd-stats-cards-image-3 {
        bottom: -54px !important;
        max-width: 594px !important;
        min-width: 532px !important;
    }
}


