@import 'https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap';

:root {
    --alt-font: "Urbanist", sans-serif;
    --primary-font: "Urbanist", sans-serif;
    --base-color: #304b5e;
    --dark-gray: #141414;
    --medium-gray: #707070;
    --aluminium-grey: rgba(255, 255, 255, 0.4)
}

body {
    font-size: 18px;
    line-height: 30px
}

a:hover {
    color: var(--dark-gray)
}

.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600
}

.navbar .navbar-nav .dropdown.open .dropdown-menu {
    background-color: var(--dark-gray)
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 17px;
    font-weight: 500;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

header .navbar-brand img {
    max-height: 65px
}

.header-top-bar div>a {
    color: var(--white)
}

.header-top-bar div>a:hover {
    color: var(--white)
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 30px
}

.navbar .navbar-nav .dropdown .dropdown-menu a i {
    width: 35px
}

header .btn.btn-box-shadow.btn-base-color,
.btn.btn-base-color {
    color: var(--white)
}

header .btn.btn-box-shadow.btn-base-color:hover,
.btn.btn-box-shadow.btn-base-color:hover {
    color: var(--white)
}

header .btn.btn-small {
    font-size: 15px;
    padding: 10px 18px
}

.btn.btn-hover-animation-switch.btn-link {
    padding-top: 0
}

.btn {
    text-transform: inherit;
    font-weight: 600;
    letter-spacing: 0
}

.btn.btn-extra-large {
    font-size: 18px;
    padding: 16px 32px
}

.btn.btn-large {
    font-size: 17px;
    padding: 14px 28px
}

.btn.btn-medium {
    font-size: 16px;
    padding: 12px 24px
}

.btn.btn-small {
    font-size: 15px
}

.btn.btn-very-small {
    font-size: 14px;
    padding: 9px 20px
}

.counter-style-04 .vertical-counter:after {
    color: var(--base-color)
}

.review-star-icon i {
    color: var(--base-color)
}

.google-maps-link a:hover {
    color: var(--white)
}

footer ul li {
    margin-bottom: 1px
}

footer p {
    line-height: 28px
}

.page-title-double-large h1 {
    font-size: 4.375rem;
    line-height: 4.688rem
}

.page-title-double-large h2 {
    font-size: 16px;
    line-height: 28px
}

.right-12 {
    right: 12%
}

.bg-jungle-green {
    background-color: #2ebb79
}

.outside-box-top-205px {
    margin-top: -205px
}

.bg-gradient-gray-light-dark-transparent {
    background-image: linear-gradient(to top, #f7f7f7 0%, transparent 100%)
}

@media(max-width:1399px) {
    .xl-h-180px {
        height: 180px
    }

    .xl-w-180px {
        width: 180px
    }
}

@media(max-width:1199px) {
    .outside-box-top-200px {
        margin-top: -150px
    }
}

@media(max-width:991px) {
    .outside-box-top-200px {
        margin-top: 0
    }

    .navbar .navbar-nav .dropdown.open .dropdown-menu {
        padding-bottom: 15px
    }
}

/* =============================================
   Ürün Kapak Görseli - Kare Düzeni
   Hem hizmetler.php hem index.php için
   ============================================= */

/* Ürünler Sayfası & Anasayfa - img etiketi */
.services-box-style-03 .position-relative img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
}

/* =============================================
   Ürün Kartı - Başlık & Açıklama Sabit Yükseklik
   ============================================= */

/* Başlık: sabit 2 satır yükseklik */
.product-card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4em;
    min-height: 2.8em;   /* 2 satır = 2 × 1.4em */
    max-height: 2.8em;
}

/* Açıklama: maks 3 satır, sonra "..." */
.product-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6em;
    max-height: 4.8em;   /* 3 satır = 3 × 1.6em */
    margin-bottom: 0;
}

/* =============================================
   Proje İçerik Alanı - YouTube & iframe Embed
   ============================================= */

/* proje_icerik alanındaki tüm iframe'leri responsive yap */
.proje-icerik-alani iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto;
    min-height: 400px;
    border-radius: 8px;
    margin: 20px 0;
}

/* YouTube embed için 16:9 oranını koru */
.proje-icerik-alani p:has(iframe) {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin: 20px 0;
}

.proje-icerik-alani p:has(iframe) iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: unset;
    border-radius: 8px;
    margin: 0;
}

/* Fallback: :has() desteklemeyenler için */
.proje-icerik-alani .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin: 20px 0;
}

.proje-icerik-alani .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: unset;
}

/* =============================================
   Emlak / Proje Kartı Stilleri (Deprecated - replaced by .modern-project-card)
   ============================================= */

/* =============================================
   Genel Düzeltmeler
   ============================================= */

/* CTA bölümü ikon */
.icon-with-text-style-08 .feature-box-icon img {
    max-width: 40px;
}

/* Feature box kartları hover */
.feature-box.bg-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box.bg-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 767px) {
    .proje-icerik-alani iframe {
        min-height: 250px;
    }
}



/* Mobil cihazlar için (maksimum genişlik 768px) */
@media only screen and (max-width: 768px) {
    .mobil {
        display: block;
        /* Görünür */
    }

    .site-wrapper {
        margin-left: 0;
    }

    .masaustu {
        display: none;
        /* Gizli */
    }
}

/* Masaüstü cihazlar için (minimum genişlik 769px) */
@media only screen and (min-width: 769px) {
    .mobil {
        display: none;
        /* Gizli */
    }

    /* Sayfanın tamamını saran ana container (örnek: body > .main-wrapper vs.) */
    .main-wrapper {
        margin-left: 100px;
        /* Sol menü kadar boşluk bırak */
    }

    .masaustu {
        display: block;
        /* Görünür */
    }
}

/* ==========================================================================
   PROJE DETAY SAYFASI MODERNİZE STİLLERİ (AKZ Metal Premium Theme updates)
   ========================================================================== */

/* Project Details Hero & Badge */
.project-hero-badge {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 18px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
}
.badge-ongoing {
    background: linear-gradient(135deg, var(--base-color), #4f7895);
    color: #fff !important;
}
.badge-completed {
    background: linear-gradient(135deg, var(--dark-gray), #333333);
    color: #fff !important;
}

/* Pulse animation */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #2ebb79;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 0 0 0 rgba(46, 187, 121, 0.7);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 187, 121, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(46, 187, 121, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 187, 121, 0);
    }
}

/* Glassmorphic Breadcrumb Container */
.hero-glass-breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 6px 24px;
    display: inline-flex;
    margin-top: 15px;
}

/* Metadata Grid */
.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: -45px; /* Overlap with hero for modern card placement */
    position: relative;
    z-index: 10;
}
.project-meta-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}
.project-meta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(48, 75, 94, 0.1);
    border-color: rgba(48, 75, 94, 0.2);
}
.project-meta-icon {
    width: 50px;
    height: 50px;
    background: rgba(48, 75, 94, 0.06);
    color: var(--base-color);
    font-size: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
}
.project-meta-card:hover .project-meta-icon {
    background: var(--base-color);
    color: #ffffff;
    transform: scale(1.05);
}
.project-meta-info span {
    display: block;
}
.project-meta-label {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--medium-gray);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.project-meta-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
}
.project-meta-value a {
    color: var(--dark-gray);
    transition: color 0.2s ease;
}
.project-meta-value a:hover {
    color: var(--base-color);
}

/* Lightbox Gallery Interactions */
.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    display: block;
}
.gallery-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(48, 75, 94, 0.8);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    z-index: 2;
}
.gallery-image-wrapper:hover .gallery-image-overlay {
    opacity: 1;
}
.gallery-zoom-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--base-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transform: scale(0.7);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.gallery-image-wrapper:hover .gallery-zoom-icon {
    transform: scale(1);
}
.gallery-image-wrapper img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-image-wrapper:hover img {
    transform: scale(1.08);
}

/* Custom Swiper Controls */
.custom-swiper-prev, .custom-swiper-next {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    width: 55px !important;
    height: 55px !important;
    transition: all 0.3s ease !important;
}
.custom-swiper-prev:hover, .custom-swiper-next:hover {
    background: var(--base-color) !important;
    color: #ffffff !important;
    border-color: var(--base-color) !important;
    box-shadow: 0 10px 20px rgba(48, 75, 94, 0.3) !important;
}

/* Sidebar CTA Card */
.sidebar-cta-card {
    background: linear-gradient(145deg, #304b5e, #1c2b36);
    border-radius: 20px;
    padding: 40px 30px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(28, 43, 54, 0.15);
    border: 1px solid rgba(255,255,255,0.05);
}
.sidebar-cta-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.sidebar-cta-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}
.sidebar-cta-card h5 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 30px;
    position: relative;
    z-index: 2;
}
.sidebar-cta-card p {
    font-size: 15px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}
.sidebar-cta-btn {
    width: 100%;
    background: #ffffff;
    color: var(--base-color) !important;
    border: none;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.sidebar-cta-btn:hover {
    background: var(--base-color);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2), 0 0 0 2px rgba(255,255,255,0.2);
}
.sidebar-cta-btn i {
    font-size: 16px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}
.sidebar-cta-btn:hover i {
    transform: translateX(5px);
}
.sidebar-contact-info {
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    position: relative;
    z-index: 2;
}
.sidebar-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.sidebar-contact-item:last-child {
    margin-bottom: 0;
}
.sidebar-contact-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 15px;
    color: #ffffff;
    transition: background 0.3s ease;
}
.sidebar-contact-item:hover .sidebar-contact-icon {
    background: #ffffff;
    color: var(--base-color);
}
.sidebar-contact-text span {
    display: block;
}
.sidebar-contact-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
}
.sidebar-contact-val {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}
.sidebar-contact-val a {
    color: #ffffff;
}

/* Related Projects Modernized */
.modern-project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.modern-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(48, 75, 94, 0.15);
    border-color: rgba(48, 75, 94, 0.15);
}
.modern-project-card .image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.modern-project-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.modern-project-card:hover .image img {
    transform: scale(1.06);
}
.project-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 30px;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 3;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}
.project-card-badge i {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    margin: 0 !important;
    font-size: 12px !important;
}
.project-card-badge .pulse-dot {
    margin-right: 0 !important;
}
.project-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.project-card-title-link {
    font-size: 19px;
    font-weight: 700;
    line-height: 26px;
    color: var(--dark-gray);
    margin-bottom: 10px;
    display: block;
    transition: color 0.2s ease;
}
.project-card-title-link:hover {
    color: var(--base-color);
}
.project-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 15px;
}
.project-card-location i {
    font-size: 15px;
    color: var(--base-color);
}
.project-card-btn {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--base-color);
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}
.project-card-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.modern-project-card:hover .project-card-btn {
    color: var(--dark-gray);
}
.modern-project-card:hover .project-card-btn i {
    transform: translateX(4px);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS FOR PROJECT DETAIL PAGE (Banner & Grid Overlap)
   ========================================================================== */

.page-title-parallax-background {
    padding: 80px 0 120px 0 !important;
}

@media (max-width: 991px) {
    .page-title-parallax-background {
        padding: 60px 0 80px 0 !important;
    }
}

@media (max-width: 767px) {
    .page-title-parallax-background {
        padding: 50px 0 60px 0 !important;
    }
    
    .page-title-parallax-background h1 {
        font-size: 26px !important;
        line-height: 34px !important;
        margin-top: 10px;
    }
    
    .project-hero-badge {
        font-size: 11px !important;
        padding: 5px 12px !important;
        margin-bottom: 10px !important;
    }
    
    .hero-glass-breadcrumb {
        padding: 6px 16px !important;
        margin-top: 15px !important;
        border-radius: 20px !important;
    }
    
    .hero-glass-breadcrumb ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-glass-breadcrumb ul li {
        font-size: 13px !important;
    }
    
    /* Meta metadata cards layout responsive tweaks */
    .project-meta-grid {
        margin-top: -30px !important;
        gap: 12px !important;
        padding: 0 15px;
    }
    
    .project-meta-card {
        padding: 16px 20px !important;
        border-radius: 12px !important;
    }
    
    .project-meta-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 16px !important;
        margin-right: 15px !important;
    }
    
    .project-meta-label {
        font-size: 11px !important;
    }
    
    .project-meta-value {
        font-size: 14px !important;
    }
}