/* ===== CSS Variables ===== */
:root {
    --primary: #279b44;
    --primary-dark: #1e7a36;
    --primary-light: #3ab858;
    --secondary: #1A1A2E;
    --dark: #0F0F1A;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(39, 155, 68, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 12px !important;
    }

    /* Hakkımızda sayfası text optimizasyonları */
    .about-intro {
        font-size: 17px !important; /* Giriş paragrafları */
        line-height: 1.5 !important;
    }

    .about-footer {
        font-size: 16px !important; /* Sonuç paragrafları */
        line-height: 1.6 !important;
    }

    .about-feature span {
        font-size: 16px !important; /* Özellik açıklamaları - daha büyük */
        line-height: 1.5 !important;
    }

    .about-feature strong {
        font-size: 16px !important; /* Özellik başlıkları */
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 36px;
        height: 36px;
    }
    
    .logo {
        gap: 8px;
    }
}

.logo-box {
    background: var(--primary);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
}

.logo-text {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .logo-text {
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Navbar Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.nav-dropdown-link:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--dark);
}

.mobile-menu {
    position: fixed;
    top: 70px; /* Fallback for JS disabled */
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    font-weight: 500;
    font-size: 16px;
    color: var(--text);
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 15, 26, 0.75) 0%,
        rgba(15, 15, 26, 0.5) 50%,
        rgba(15, 15, 26, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 21px;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 13px;
    opacity: 0.7;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
}

/* ===== Section Styles ===== */
.section-header {
    margin-bottom: 60px;
}

.section-header-center {
    text-align: center;
}

.section-header-light {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header-light .section-title {
    color: var(--white);
}

.section-title .highlight {
    color: var(--primary);
}

.highlight-underline {
    position: relative;
    color: var(--primary);
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-desc {
    font-size: 19px;
    color: var(--text-light);
    max-width: 700px;
    line-height: 1.7;
}

.section-header-light .section-desc {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== About Section ===== */
.about {
    padding: 100px 0 0;
    background: var(--white);
}

.about > .container:first-child {
    padding-bottom: 0; /* Başlık sonrası boşluk kaldırıldı */
}

/* About Blocks */
.about-block {
    padding: 80px 0;
    background: var(--white);
}

.about-block-alt {
    background: var(--gray-100);
}

.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-row-reverse {
    direction: rtl;
}

.about-row-reverse > * {
    direction: ltr;
}

/* About Text */
.about-text h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.about-intro {
    font-size: 18px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.about-feature strong {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
}

.about-feature span {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

.about-footer {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.about-block-alt .about-footer {
    background: var(--white);
}

/* About Media */
.about-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
}

.about-media img,
.about-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
    .about-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-row-reverse {
        direction: ltr;
    }
    
    .about-media {
        aspect-ratio: 16/9;
        max-height: 400px;
    }
    
    .about-text h3 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .about-media {
        aspect-ratio: 4/3;
        max-height: 350px;
        min-height: 280px;
    }
}

@media (max-width: 576px) {
    .about-block {
        padding: 60px 0;
    }
    
    .about-text h3 {
        font-size: 24px;
    }
    
    .about-intro {
        font-size: 15px;
    }
    
    .about-media {
        aspect-ratio: 3/4;
        max-height: none;
        min-height: 400px;
    }
}

/* ===== Stats Section ===== */
.stats {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.stats-bg img,
.stats-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
}

.stats .container {
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .stats {
        min-height: 500px;
        padding: 100px 0;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Fleet Section ===== */
.fleet {
    position: relative;
    padding: 200px 0;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.fleet-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.fleet-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.fleet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50);
    z-index: 1;
}

.fleet .container {
    position: relative;
    z-index: 10;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.fleet-item {
    text-align: center;
}

.fleet-number {
    display: block;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.fleet-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .fleet {
        min-height: 500px;
        padding: 100px 0;
    }
    
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* ===== Services Section ===== */
.services {
    padding: 120px 0;
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    display: block;
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    text-decoration: none;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.service-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 8px;
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* Services Detail Page */
.services-detail {
    padding-bottom: 0;
}

.service-block {
    padding: 100px 0;
    background: var(--white);
}

.service-block-alt {
    background: var(--gray-100);
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 80px;
    align-items: center;
}

.service-row-reverse {
    direction: rtl;
}

.service-row-reverse > * {
    direction: ltr;
}

.service-text .service-icon-large {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.service-text .service-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.service-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.service-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    min-height: 540px;
}

.service-media img,
.service-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-row-reverse {
        direction: ltr;
    }
    
    .service-media {
        max-height: 400px;
        min-height: auto; /* Fix overflow caused by large min-height */
    }
}

@media (max-width: 768px) {
    .service-block {
        padding: 50px 0;
    }

    .service-row, 
    .service-row-reverse {
        display: flex;
        flex-direction: column;
        gap: 30px;
        direction: ltr !important;
    }

    .service-text {
        order: 1; /* Title and description first */
    }

    .service-media {
        order: 2; /* Image/Video second */
        width: 100%;
        max-height: none;
        min-height: auto;
        aspect-ratio: auto;
        border-radius: var(--radius);
    }

    .service-media img,
    .service-media video {
        width: 100%;
        height: auto;
        object-fit: contain; /* Don't crop the image */
        border-radius: var(--radius);
    }

    .service-text h2 {
        font-size: 26px;
        text-align: center;
    }

    .service-text p {
        text-align: center;
    }

    .service-icon-large {
        margin: 0 auto 20px !important;
    }
}

/* ===== Projects Section ===== */
.projects {
    padding: 120px 0;
    background: var(--white);
}

.projects-subsection {
    margin-bottom: 60px;
}

.projects-ongoing {
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    background: var(--white);
    transition: var(--transition);
}

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

.project-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-card-content {
    padding: 20px 24px;
}

.project-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.4;
}

.project-card-content p {
    font-size: 14px;
    color: var(--text-light);
}

/* Featured project cards on homepage */
.project-card-featured {
    background: transparent;
}

.project-card-featured .project-card-image {
    position: relative;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    color: var(--white);
    transition: var(--transition);
}

.project-card-featured:hover .project-overlay {
    padding-bottom: 40px;
}

.project-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.project-overlay p {
    font-size: 14px;
    opacity: 0.8;
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== Partners Section ===== */
.partners {
    padding: 100px 0;
    background: var(--secondary);
    overflow: hidden;
}

.partners .section-title {
    color: var(--white);
}

.partners-slider {
    margin-top: 60px;
    overflow: hidden;
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: slide 30s linear infinite;
    width: max-content;
}

@media (max-width: 768px) {
    .partners-slider {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .partners-track {
        animation: none;
        width: auto;
        padding-bottom: 12px;
    }

    .partners-track::-webkit-scrollbar {
        display: none;
    }

    .partners-track {
        scroll-snap-type: x mandatory;
    }

    .partner-logo {
        scroll-snap-align: start;
    }
}

.partner-logo {
    flex-shrink: 0;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    white-space: nowrap;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}

.partner-logo-img {
    padding: 10px 20px;
    background: var(--white);
}

.partner-logo-img img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.partner-with-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
}

.partner-with-logo img {
    height: 32px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    border-radius: 4px;
}

.partner-with-logo span {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
}

.partners-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
}

/* Clients Page */
.all-clients {
    padding: 80px 0;
    background: var(--gray-100);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.client-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.client-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.client-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.client-logo-text {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 20px;
}

.client-logo-text span {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.client-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

a.client-card-clickable {
    text-decoration: none;
    display: block;
    position: relative;
    cursor: pointer;
}

a.client-card-clickable:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(39, 155, 68, 0.2);
    border-color: var(--primary);
}

a.client-card-clickable:hover h3 {
    color: var(--primary);
}

.client-link-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 14px;
    opacity: 0.5;
    transition: var(--transition);
}

a.client-card-clickable:hover .client-link-indicator {
    opacity: 1;
}

@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .partners {
        padding: 60px 0;
    }
    
    .partners .section-title {
        font-size: 24px;
    }
    
    .partners-slider {
        margin-top: 40px;
    }
    
    .partners-track {
        gap: 30px;
        animation: slide 25s linear infinite;
    }
    
    .partner-logo {
        padding: 12px 20px;
        font-size: 12px;
        letter-spacing: 1px;
        border-radius: var(--radius-sm);
    }
    
    .partner-logo-img img {
        height: 30px;
    }
    
    .partner-with-logo {
        padding: 10px 16px;
        gap: 8px;
    }
    
    .partner-with-logo img {
        height: 24px;
        max-width: 40px;
    }
    
    .partner-with-logo span {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .client-card {
        padding: 30px 20px;
    }
}

/* ===== Project Type Badges ===== */
.project-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(39, 155, 68, 0.3);
}

.project-card-detailed .project-type-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* ===== Detailed Project Content ===== */
.detailed-project-content {
    max-width: none;
    line-height: 1.8;
    text-align: center; /* Tüm içeriği merkeze hizala */
}

.detailed-project-content h1,
.detailed-project-content h2,
.detailed-project-content h3,
.detailed-project-content h4,
.detailed-project-content h5,
.detailed-project-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
    text-align: center;
}

.detailed-project-content h1 { font-size: 2.5rem; }
.detailed-project-content h2 { font-size: 2rem; }
.detailed-project-content h3 { font-size: 1.75rem; }

.detailed-project-content p {
    margin-bottom: 1.5rem;
    text-align: center; /* Yazıları ortala */
}

.detailed-project-content ul,
.detailed-project-content ol {
    margin-bottom: 1.5rem;
    padding-left: 0; /* Listeleri ortalamak için padding'i sıfırla */
    list-style-position: inside; /* Madde işaretlerini içeri al */
    text-align: center;
}

.detailed-project-content li {
    margin-bottom: 0.5rem;
}

.detailed-project-content img,
.detailed-project-content iframe,
.video-container {
    display: block;
    margin: 2rem auto;
    position: relative;
}

.detailed-project-content img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: #f8f8f8;
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.detailed-project-content iframe {
    width: 100%;
    max-width: 100%;
    height: 500px;
    border: none;
    background: #f8f8f8;
    border-radius: 32px;
}

.video-container {
    width: 100%;
    max-width: 100%;
    height: 500px;
    background: #f8f8f8;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-container video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.video-caption {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

.detailed-project-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* ===== Contact Section ===== */
.contact {
    padding: 120px 0 40px 0;
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    justify-content: center;
}

.logo-footer {
    margin-bottom: 0;
}

.logo-footer .logo-text {
    color: var(--dark);
    font-size: 18px;
}

.logo-footer .logo-img {
    width: 60px;
    height: 60px;
}

.contact-desc {
    font-size: 18px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

/* E-posta adresi spam koruması */
#emailLink {
    display: none;
    visibility: hidden;
}

.contact-link:hover {
    color: var(--primary);
}

.address-link {
    display: block;
    padding: 8px 0;
    margin: -8px 0;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.address-link:hover {
    background: rgba(39, 155, 68, 0.05);
    padding-left: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

.contact-google-btn {
    margin-top: 0;
    display: inline-flex;
    gap: 10px;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    margin-bottom: 28px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-facebook {
    background: #1877f2;
}

.social-linkedin {
    background: #0a66c2;
}

.social-tiktok {
    background: #000000;
}

.social-tiktok:hover {
    background: linear-gradient(45deg, #69c9d0, #ee1d52);
}

.contact-map {
    margin: 0;
    width: 100%;
}

.contact-branding {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.contact-branding .logo-text {
    color: var(--dark);
}

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

.contact-form-container h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 17px;
    color: var(--text);
    transition: var(--transition);
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--primary);
}

/* ===== Responsive ===== */

@media (max-width: 992px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .service-card {
        padding: 24px 16px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }
    
    .service-card h3 {
        font-size: 14px;
    }
    
    .service-block {
        padding: 60px 0;
    }
    
    .service-text h2 {
        font-size: 24px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 32px 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* ===== Projects Page Styles ===== */
.page-header {
    background: var(--secondary);
    padding: 160px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.all-projects {
    padding: 80px 0;
    background: var(--gray-100);
}

.projects-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.projects-filter-btn {
    padding: 12px 28px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.projects-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.projects-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.project-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status-badge.status-completed {
    background: rgba(39, 155, 68, 0.95);
    color: white;
}

.project-status-badge.status-ongoing {
    background: rgba(255, 165, 0, 0.95);
    color: white;
}

.all-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .all-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .all-projects-grid {
        grid-template-columns: 1fr;
    }
}

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

.project-detail-header {
    margin-bottom: 40px;
}

.project-detail-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 24px;
}

.back-link:hover {
    gap: 12px;
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.project-main-image {
    border-radius: 32px !important;
    overflow: hidden;
    height: 500px; /* Sabit yükseklik, dikey görsellerin taşmasını engeller */
    background: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-main-image img {
    border-radius: 32px !important;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Görselin tamamını göster, oranını bozma */
}

.project-main-image video {
    border-radius: 32px !important;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, 100px));
    gap: 8px;
    background: transparent;
    padding: 0;
}

.project-gallery-item {
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}

.project-gallery-item:hover {
    transform: scale(1.02);
}

.project-gallery-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(39, 155, 68, 0.2);
}

.project-gallery-item img,
.project-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-gallery-item video {
    pointer-events: none;
}

.gallery-video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
}

.project-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-thumb {
    border-radius: var(--radius);
    overflow: hidden;
    flex: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.project-thumb:hover,
.project-thumb.active {
    opacity: 1;
}

.project-thumb img,
.project-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-thumb {
    position: relative;
}

.thumb-video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: none;
}

.project-main-image video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.project-description {
    display: flex;
    flex-direction: column;
}

.project-description h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.project-description p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .project-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(35px, 80px));
        gap: 6px;
        background: transparent;
        padding: 0;
    }
}

/* ===== No Media Placeholder ===== */
.no-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.no-media-content {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.no-media-content svg {
    opacity: 0.8;
}

.no-media-content p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
}

/* ===== Equipment Cards ===== */
.equipment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.equipment-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.equipment-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.equipment-card:hover .equipment-card-image img {
    transform: scale(1.05);
}

.equipment-count-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(39, 155, 68, 0.3);
}

.equipment-card-content {
    padding: 24px;
}

.equipment-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.equipment-card-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

/* ===== INSTAGRAM SECTION ===== */

.instagram-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.instagram-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.instagram-post-item {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    overflow: hidden;
}

.instagram-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Instagram embed overrides for better styling */
.instagram-post-item blockquote {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.instagram-post-item .instagram-media {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 12px !important;
}

/* Ensure Instagram iframes are properly sized */
.instagram-post-item iframe {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 12px !important;
}

/* ===== SOCIAL MEDIA LINKS ===== */

/* Disabled social links */
.social-links .social-link.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(100%);
}

.social-links .social-link.disabled:hover {
    transform: none;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 768px) {
    .instagram-section {
        padding: 60px 0;
    }

    .instagram-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .instagram-post-item {
        padding: 15px;
        min-height: 350px;
    }
}
