/* ===========================
   Premium Emlak - Ana Stil Dosyası
   Renk Paleti: Okyanus Mavisi + Lacivert (Deniz Temalı)
   =========================== */

:root {
    --primary: #0B1A2E;
    --primary-light: #132D4A;
    --accent: #1A8FD1;
    --accent-hover: #1476B0;
    --accent-light: #E8F4FD;
    --white: #ffffff;
    --light-bg: #F0F5FA;
    --text-dark: #0B1A2E;
    --text-muted: #5A6E82;
    --text-light: #8FA3B8;
    --border-color: #D0DCE8;
    --shadow: 0 2px 15px rgba(11, 26, 46, 0.07);
    --shadow-lg: 0 10px 40px rgba(11, 26, 46, 0.12);
    --transition: all 0.3s ease;
    --radius: 8px;
}

/* ===========================
   Preloader
   =========================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

.preloader-bar {
    width: 120px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #4DB8E8);
    border-radius: 3px;
    animation: preloaderFill 1.2s ease-in-out forwards;
}

@keyframes preloaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===========================
   Scroll Progress Bar
   =========================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #4DB8E8);
    z-index: 99998;
    transition: width 0.05s linear;
}

/* ===========================
   Global
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 50px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===========================
   Navbar
   =========================== */
#mainNavbar {
    padding: 12px 0;
    transition: all 0.4s ease;
    background: var(--primary);
    z-index: 1050;
}

#mainNavbar.scrolled {
    background: var(--white);
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Brand / Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent), #4DB8E8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    transition: var(--transition);
}

.brand-icon:hover {
    transform: rotate(-5deg) scale(1.05);
}

.brand-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
    transition: var(--transition);
}

.brand-tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: var(--transition);
}

#mainNavbar.scrolled .brand-name {
    color: var(--primary);
}

#mainNavbar.scrolled .brand-tagline {
    color: var(--text-muted);
}

/* Nav Links */
.navbar-nav {
    gap: 4px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 8px 18px !important;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-icon {
    font-size: 1rem;
    opacity: 0.7;
    transition: var(--transition);
    display: none;
}

.navbar-nav .nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.navbar-nav .nav-link.active::before {
    display: none;
}

/* Scrolled nav links */
#mainNavbar.scrolled .navbar-nav .nav-link {
    color: var(--text-dark);
}

#mainNavbar.scrolled .navbar-nav .nav-link:hover {
    color: var(--accent);
    background: rgba(26, 143, 209, 0.06);
}

#mainNavbar.scrolled .navbar-nav .nav-link.active {
    color: var(--accent);
    background: rgba(26, 143, 209, 0.08);
}

/* Nav Right - Phone */
.nav-right {
    display: flex;
    align-items: center;
}

/* Google Translate bar gizle */
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }

/* Dil Seçici */
.nav-lang {
    position: relative;
    margin-right: 14px;
}
.nav-lang-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px 5px 5px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    transition: var(--transition);
}
.nav-lang-btn .fi {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}
.nav-lang-btn .lang-code {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-lang-btn .lang-arrow {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}
.nav-lang-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}
.nav-lang-btn:hover .lang-arrow {
    color: rgba(255,255,255,0.8);
}
#mainNavbar.scrolled .nav-lang-btn {
    border-color: var(--border-color);
    background: transparent;
}
#mainNavbar.scrolled .nav-lang-btn .lang-code {
    color: var(--text-dark);
}
#mainNavbar.scrolled .nav-lang-btn .lang-arrow {
    color: var(--text-muted);
}
#mainNavbar.scrolled .nav-lang-btn .fi {
    box-shadow: 0 0 0 2px var(--border-color);
}
#mainNavbar.scrolled .nav-lang-btn:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}
.nav-lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(11,26,46,0.15);
    min-width: 180px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1000;
}
.nav-lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}
.nav-lang-dropdown a .fi {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.nav-lang-dropdown a:hover {
    background: var(--accent-light);
    color: var(--accent);
}
.nav-lang-dropdown a.active-lang {
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
}
.nav-lang-dropdown a.active-lang::after {
    content: '\f26a';
    font-family: 'bootstrap-icons';
    margin-left: auto;
    font-size: 0.8rem;
}

/* Mobil Dil Seçici */
.nav-lang-mobile {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    justify-content: center;
}
.nav-lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 30px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
}
.nav-lang-flag .fi {
    width: 28px;
    height: 20px;
    border-radius: 3px;
}
.nav-lang-flag:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    color: var(--white);
}

.nav-phone:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-phone-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--accent), #4DB8E8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.nav-phone:hover .nav-phone-icon {
    background: rgba(255, 255, 255, 0.2);
}

.nav-phone-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-phone-info small {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.nav-phone-info span {
    font-size: 0.82rem;
    font-weight: 600;
}

#mainNavbar.scrolled .nav-phone {
    border-color: var(--border-color);
    color: var(--text-dark);
}

#mainNavbar.scrolled .nav-phone:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    padding: 6px;
    background: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.toggler-icon span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.toggler-icon span:nth-child(2) {
    width: 70%;
}

#mainNavbar.scrolled .toggler-icon span {
    background: var(--text-dark);
}

/* Navbar inner pages */
body.page-inner #mainNavbar {
    background: var(--primary);
}

body.page-inner #mainNavbar.scrolled {
    background: var(--white);
}

/* Btn Accent (global) */
.btn-accent {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 143, 209, 0.35);
}

/* ===========================
   Hero Section - Compact Split Layout
   =========================== */
.hero {
    background: linear-gradient(135deg, #0B1A2E 0%, #0E2A4A 60%, #133B5C 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(26, 143, 209, 0.06);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(26, 143, 209, 0.04);
    pointer-events: none;
}

/* Tag */
.hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(26, 143, 209, 0.12);
    color: #4DB8E8;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid rgba(26, 143, 209, 0.25);
    margin-bottom: 24px;
}

/* Text Slides */
.hero-text {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.hero-text-slide {
    display: none;
}

.hero-text-slide.active {
    display: block;
}

.hero-text-slide .anim-item {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-text-slide.active .anim-item:nth-child(1) { transition-delay: 0.15s; }
.hero-text-slide.active .anim-item:nth-child(2) { transition-delay: 0.3s; }
.hero-text-slide.active .anim-item:nth-child(3) { transition-delay: 0.45s; }

.hero-text-slide.active .anim-item {
    opacity: 1;
    transform: translateY(0);
}

.hero-text-slide h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.hero-text-slide p {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: 300;
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 24px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 11px 26px;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.btn-hero-primary {
    background: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
}

.btn-hero-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 143, 209, 0.4);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Hero Navigation Row */
.hero-nav-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--white);
    flex-shrink: 0;
}

.hero-counter-current {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.hero-counter-sep {
    font-size: 0.85rem;
    opacity: 0.35;
    margin: 0 2px;
}

.hero-counter-total {
    font-size: 0.85rem;
    opacity: 0.45;
    font-weight: 400;
}

/* Pip Navigation */
.hero-pager {
    display: flex;
    gap: 6px;
    align-items: center;
    flex: 1;
}

.hero-pip {
    position: relative;
    width: 32px;
    height: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-pip span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--accent);
    border-radius: 4px;
    transition: none;
}

.hero-pip.active {
    width: 48px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-pip.active span {
    animation: pipProgress 6s linear forwards;
}

@keyframes pipProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* Arrow Buttons */
.hero-arrows {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.hero-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.08);
}

/* Hero Visual - Right Image Card */
.hero-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    aspect-ratio: 4 / 3;
    z-index: 2;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(26, 143, 209, 0.3), transparent 50%, rgba(77, 184, 232, 0.2));
    border-radius: 18px;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

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

/* Placeholder backgrounds for slides without images */
.hero-slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.15);
}

.hero-slide-placeholder-1 {
    background: linear-gradient(135deg, #0E2A4A 0%, #133B5C 50%, #1A5276 100%);
}

.hero-slide-placeholder-2 {
    background: linear-gradient(135deg, #0B1A2E 0%, #1A3D5C 50%, #1A6B8A 100%);
}

.hero-slide-placeholder-3 {
    background: linear-gradient(135deg, #071422 0%, #0E2A4A 50%, #1A5276 100%);
}

/* Slide Info Strip */
.hero-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: linear-gradient(to top, rgba(7, 20, 34, 0.85) 0%, rgba(7, 20, 34, 0.4) 70%, transparent 100%);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-slide-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 400;
}

.hero-slide-info-item i {
    color: var(--accent);
    font-size: 0.9rem;
}

.hero-slide-badge-sm {
    margin-left: auto;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--white);
}

.hero-slide-badge-sm.badge-devam {
    background: linear-gradient(135deg, var(--accent), #4DB8E8);
}

.hero-slide-badge-sm.badge-tamamlandi {
    background: #28a745;
}

/* ===========================
   Page Banner (Inner Pages)
   =========================== */
.page-banner {
    background: linear-gradient(135deg, #0B1A2E 0%, #132D4A 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.page-banner h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-banner .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.page-banner .breadcrumb-item.active {
    color: var(--accent);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ===========================
   Stats / Counter Section
   =========================== */
.stats-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #4DB8E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===========================
   About / Hakkımızda Section
   =========================== */
.about-section {
    background: var(--white);
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
}

.about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

.about-img {
    border-radius: var(--radius);
    overflow: hidden;
}
.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius);
    text-align: center;
}

.about-badge .number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge .text {
    font-size: 0.8rem;
    font-weight: 500;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

.about-features li {
    padding: 8px 0;
    color: var(--text-dark);
    font-weight: 500;
}

.about-features li i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* ===========================
   Project Cards
   =========================== */
.projects-section {
    background: var(--light-bg);
}

.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.project-card:hover .project-card-img img {
    transform: scale(1.08);
}

.project-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
}

.badge-devam {
    background: linear-gradient(135deg, var(--accent), #4DB8E8);
    color: var(--white);
}

.badge-tamamlandi {
    background: #28a745;
}

.project-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-body h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.project-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex: 1;
}

.project-card-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.project-card-meta span {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-card-meta span i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* ===========================
   Project Detail Page
   =========================== */
.project-detail-section {
    padding-top: 40px;
}

.project-gallery {
    margin-bottom: 30px;
}

.gallery-main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.gallery-thumb {
    height: 90px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    box-shadow: 0 0 0 3px var(--accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.project-info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-bg);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li .label {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-list li .label i {
    color: var(--accent);
    width: 18px;
    text-align: center;
}

.info-list li .value {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    text-align: right;
}

.btn-pdf-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-pdf-download:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 143, 209, 0.35);
}

.project-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    margin-top: 10px;
}

.project-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

.project-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.project-map iframe {
    border-radius: var(--radius);
}

/* ===========================
   Kurumsal Page
   =========================== */
.kurumsal-section {
    background: var(--white);
}

.vision-mission-card {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 35px;
    height: 100%;
    transition: var(--transition);
    border-left: 4px solid var(--accent);
}

.vision-mission-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.vision-mission-card .icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.vision-mission-card .icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.vision-mission-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.vision-mission-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, #1A3D5C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-card .icon i {
    font-size: 1.6rem;
    color: var(--white);
}

.value-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ===========================
   Contact / İletişim
   =========================== */
.contact-section {
    background: var(--white);
}

.contact-info-card {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.contact-info-card .icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-info-card .icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.contact-info-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.contact-info-card a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
}

.form-control,
.form-select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26, 143, 209, 0.15);
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    border-radius: var(--radius);
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background: linear-gradient(135deg, #0B1A2E 0%, #132D4A 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-hours {
    list-style: none;
    padding: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0 0;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
}

/* ===========================
   WhatsApp Float
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: white;
}

/* ===========================
   Scroll to Top
   =========================== */
.scroll-top {
    position: fixed;
    bottom: 95px;
    right: 33px;
    width: 42px;
    height: 42px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ===========================
   Placeholder Image
   =========================== */
.placeholder-img {
    background: linear-gradient(135deg, #E0EBF5 0%, #D0DCE8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
}

/* ===========================
   Animations
   =========================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.row .fade-up:nth-child(1) { transition-delay: 0s; }
.row .fade-up:nth-child(2) { transition-delay: 0.1s; }
.row .fade-up:nth-child(3) { transition-delay: 0.2s; }
.row .fade-up:nth-child(4) { transition-delay: 0.3s; }
.row .fade-up:nth-child(5) { transition-delay: 0.35s; }
.row .fade-up:nth-child(6) { transition-delay: 0.4s; }

/* ===========================
   Alert Messages
   =========================== */
.alert-success-custom {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: var(--radius);
    padding: 15px 20px;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 991.98px) {
    #mainNavbar {
        background: var(--primary) !important;
        padding: 10px 0;
    }

    #mainNavbar .brand-name {
        color: var(--white) !important;
    }

    #mainNavbar .brand-tagline {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    .navbar-nav {
        padding: 15px 0;
        gap: 2px;
    }

    #mainNavbar .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 10px 15px !important;
        border-radius: 8px;
    }

    .nav-icon {
        display: inline-block;
    }

    #mainNavbar .navbar-nav .nav-link:hover,
    #mainNavbar .navbar-nav .nav-link.active {
        color: var(--white) !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    #mainNavbar .navbar-nav .nav-link.active::before {
        display: none;
    }

    .toggler-icon span {
        background: var(--white) !important;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-text-slide h1 {
        font-size: 2rem;
    }

    .hero-text-slide p {
        font-size: 0.92rem;
    }

    .hero-visual {
        aspect-ratio: 16 / 10;
        margin-top: 20px;
    }

    .hero-nav-row {
        margin-top: 24px;
        padding-top: 18px;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-banner {
        padding: 130px 0 60px;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .gallery-main-img {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 110px 0 50px;
    }

    .hero-text-slide h1 {
        font-size: 1.6rem;
    }

    .hero-text-slide p {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .hero-visual {
        aspect-ratio: 16 / 9;
    }

    .hero-arrows {
        display: none;
    }

    .hero-nav-row {
        gap: 12px;
    }

    .hero-slide-info {
        padding: 10px 14px;
        gap: 10px;
    }

    .hero-slide-info-item {
        font-size: 0.75rem;
    }

    .hero-slide-badge-sm {
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-form {
        padding: 25px;
    }

    .project-info-card {
        padding: 20px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .scroll-top {
        bottom: 78px;
        right: 23px;
        width: 36px;
        height: 36px;
    }
}

/* ===========================
   Card Shine Effect (Hover)
   =========================== */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%
    );
    z-index: 5;
    transition: left 0.6s ease;
    pointer-events: none;
}

.project-card:hover::before {
    left: 125%;
}

/* ===========================
   Button Magnetic & Ripple
   =========================== */
.btn-accent,
.btn-hero-primary,
.btn-hero-outline {
    position: relative;
    overflow: hidden;
}

.btn-accent::after,
.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
}

.btn-accent:active::after,
.btn-hero-primary:active::after {
    width: 300px;
    height: 300px;
}

/* ===========================
   Enhanced Footer Link Hover
   =========================== */
.footer-links a {
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    font-size: 0.7rem;
    margin-right: 0;
    opacity: 0;
    transform: translateX(-10px);
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    margin-right: 6px;
    opacity: 1;
    transform: translateX(0);
}

/* ===========================
   Parallax Background Effect
   =========================== */
.cta-section {
    background-attachment: fixed;
    background-size: cover;
}

.page-banner {
    background-attachment: fixed;
    background-size: cover;
}

/* ===========================
   Enhanced Stat Counter
   =========================== */
.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.6s ease;
    border-radius: 2px;
}

.fade-up.visible .stat-item::after {
    width: 40px;
}

/* ===========================
   Enhanced Nav Link Underline
   =========================== */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
    left: 20%;
}

.navbar-nav .nav-link.active::after {
    width: 60%;
    left: 20%;
}

/* ===========================
   Contact Info Card Hover Glow
   =========================== */
.contact-info-card {
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, transparent 40%, rgba(26, 143, 209, 0.15) 50%, transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--radius);
}

.contact-info-card:hover::before {
    opacity: 1;
}

/* ===========================
   Value Card Icon Rotate
   =========================== */
.value-card:hover .icon {
    transform: rotateY(180deg);
    transition: transform 0.6s ease;
}

.value-card .icon {
    transition: transform 0.6s ease;
    perspective: 800px;
}

/* ===========================
   Vision Mission Card Enhanced
   =========================== */
.vision-mission-card {
    position: relative;
    overflow: hidden;
    border-left-color: transparent;
    transition: all 0.4s ease, border-left-color 0.4s ease;
}

.vision-mission-card:hover {
    border-left-color: var(--accent);
}

/* ===========================
   Project Info List Hover
   =========================== */
.info-list li {
    transition: padding-left 0.3s ease, background 0.3s ease;
    border-radius: 4px;
    padding-left: 0;
    padding-right: 0;
}

.info-list li:hover {
    padding-left: 8px;
    padding-right: 8px;
    background: var(--light-bg);
}

/* ===========================
   Gallery Thumb Enhanced
   =========================== */
.gallery-thumb {
    position: relative;
    transform: scale(1);
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    z-index: 2;
}

/* ===========================
   Section Title Animated Line
   =========================== */
.section-line {
    position: relative;
    overflow: hidden;
}

.section-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: sectionLineShimmer 3s ease-in-out infinite;
}

@keyframes sectionLineShimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* ===========================
   Filter Button Group Enhanced
   =========================== */
.btn-group .btn-outline-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-group .btn-outline-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===========================
   WhatsApp Pulse Animation
   =========================== */
.whatsapp-float {
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
}

.whatsapp-float:hover {
    animation: none;
}

/* ===========================
   About Badge Float Animation
   =========================== */
.about-badge {
    animation: aboutBadgeFloat 3s ease-in-out infinite;
}

@keyframes aboutBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===========================
   Skeleton Loading Placeholder
   =========================== */
.placeholder-img {
    position: relative;
    overflow: hidden;
}

.placeholder-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: skeletonShimmer 2s ease-in-out infinite;
}

@keyframes skeletonShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===========================
   Page Entry Animation
   =========================== */
body {
    animation: pageEntry 0.6s ease-out;
}

@keyframes pageEntry {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ===========================
   Breadcrumb Enhanced
   =========================== */
.page-banner .breadcrumb-item a {
    position: relative;
}

.page-banner .breadcrumb-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.page-banner .breadcrumb-item a:hover::after {
    width: 100%;
}

.page-banner .breadcrumb-item a:hover {
    color: var(--accent);
}
