/* 
   Beyoğlu İnşaat Web Sitesi - Master Style Sheet v2.1
   Tamamen Modern, Responsive ve Görsel Odaklı Tasarım
*/

:root {
    --primary: #dc2626;    /* Kırmızı */
    --primary-dark: #b91c1c; /* Koyu Kırmızı */
    --secondary: #000000;  /* Siyah */
    --dark: #000000;       /* Siyah */
    --light: #f5f5f5;      /* Açık Gri/Beyaz */
    --white: #ffffff;      /* Beyaz */
    --gray: #666666;       /* Gri */
    --red: #dc2626;        /* Kırmızı (Footer için) */
    --red-dark: #991b1b;   /* Koyu Kırmızı */
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 1. Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--light);
}
::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark);
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 0, 0, 0.02) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 0, 0, 0.02) 0px, transparent 50%);
    background-attachment: fixed;
}

h1, h2, h3, h4, .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}

section {
    padding: 120px 0;
}

.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--secondary); color: var(--white); }

/* 2. Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    padding: 30px 0;
    transition: transform 0.3s ease-in-out, var(--transition);
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(0);
}

header.hidden {
    transform: translateY(-100%);
}

header .container {
    background: var(--white);
}

header.scrolled {
    background: var(--white) !important;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.logo {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.logo a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.8rem;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.logo a img {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    background: transparent !important;
    padding: 0;
    margin: 0;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    vertical-align: middle;
    mix-blend-mode: darken;
    filter: contrast(1.1);
}

.logo span { color: var(--red); }

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 30px;
    transition: 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    box-shadow: -20px 0 50px rgba(0,0,0,0.3);
    z-index: 2999;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.nav-links.active {
    right: 0;
}

.nav-links li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links.active li {
    opacity: 1;
    transform: translateY(0);
}

.nav-links li:nth-child(1) { transition-delay: 0.3s; }
.nav-links li:nth-child(2) { transition-delay: 0.4s; }
.nav-links li:nth-child(3) { transition-delay: 0.5s; }
.nav-links li:nth-child(4) { transition-delay: 0.6s; }
.nav-links li:nth-child(5) { transition-delay: 0.7s; }

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: var(--transition);
    display: inline-block;
    padding: 10px 20px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 50px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--red);
    transform: scale(1.1);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 2100;
    background: var(--red);
    padding: 12px;
    border-radius: 12px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--red-dark);
    transform: scale(1.05);
}

.bar {
    width: 30px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 5px;
}

/* Mobil Menü Animasyonu */
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Close Button in Nav (Optional, since toggle button is outside) */
.nav-close {
    display: none; /* We use the toggle button */
}

/* 3. Hero Slider */
.hero-slider {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.slider-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.1);
    transition: transform 6s linear;
}

.slide.active .slide-img {
    transform: scale(1);
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    padding: 0 20px;
    transform: translateY(80px);
    opacity: 0;
    transition: 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.5s;
}

.slide.active .slide-content { 
    transform: translateY(0); 
    opacity: 1;
}

.slide h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    letter-spacing: -2px;
}

.slide h1 span { color: var(--white); }

.slide p {
    font-size: 1.4rem;
    margin-bottom: 45px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Slider Buttons - Hidden */
.slider-nav {
    display: none;
}

.slider-dots {
    display: none;
}

/* 4. Sayfa Başlıkları */
.page-header {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: 4rem; margin-bottom: 15px; }
.page-header p { font-size: 1.3rem; opacity: 0.9; font-weight: 300; }

/* 5. Typography & Buttons */
.section-header { text-align: center; margin-bottom: 80px; }
.subtitle { color: var(--red); text-transform: uppercase; font-weight: 700; letter-spacing: 4px; font-size: 0.9rem; margin-bottom: 15px; display: block; }
.section-title { font-size: 3.5rem; line-height: 1.2; color: var(--secondary); }

.btn {
    display: inline-block;
    padding: 18px 45px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
}

.btn:hover { background: var(--red-dark); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(220, 38, 38, 0.3); }
.btn-outline { background: transparent; border: 2px solid var(--red); color: var(--secondary); box-shadow: none; }
.btn-outline:hover { background: var(--red); color: var(--white); }

/* 6. Grid Systems */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 60px; }

/* Services detail layout */
.services-detail .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 40px;
}
.services-detail .service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 30px;
    padding: 40px 32px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transform: none;
}
.services-detail .service-card:hover {
    transform: none;
}
.services-detail .service-card::before {
    opacity: 0;
}
.services-detail .service-card .card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--red);
}
.services-detail .service-card h3 {
    margin-bottom: 12px;
}
.services-detail .service-card p {
    color: #444;
    line-height: 1.6;
}
.services-detail .service-bullets {
    margin: 18px auto 0;
    padding-left: 22px;
    list-style: disc;
    text-align: left;
    display: inline-block;
}
.services-detail .service-bullets li {
    margin-bottom: 6px;
}

/* 7. Cards & Items */
.card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.card:hover { 
    transform: translateY(-20px); 
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.card:hover h3, .card:hover p, .card:hover i {
    color: var(--white) !important;
}

.card:hover::before {
    opacity: 1;
}

/* Projects */
.project-item {
    position: relative;
    height: 450px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.project-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Force project grid images to fill cards even if inline styles differ */
.projects-grid .project-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.95), transparent);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 50px; color: var(--white); text-align: left;
    opacity: 0; 
    transform: translateY(20px);
    transition: var(--transition);
}

.project-item:hover .project-overlay { 
    opacity: 1; 
    transform: translateY(0);
}

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

.project-category {
    display: inline-block;
    padding: 6px 15px;
    background: var(--red);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.project-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.project-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Devam Eden Projelerimiz bölümü için grid düzenlemesi - Tamamlanan Projelerimiz ile aynı boyut */
.projects-grid .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: stretch;
}

.projects-grid .grid-3 > * {
    width: 100%;
}

.projects-grid .project-item {
    width: 100%;
}

/* Tek öğe olduğunda da grid-3 yapısındaki bir öğe gibi görünsün */
@media (max-width: 1200px) {
    .projects-grid .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

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

/* Single Project Page Styles */
.project-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.project-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

@media (max-width: 768px) {
    .project-hero-background {
        background-attachment: scroll;
    }
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.project-hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 900px;
    padding: 60px 0;
}

.project-hero-category {
    display: inline-block;
    padding: 8px 20px;
    background: var(--red);
    color: var(--white);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.project-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.project-hero-tagline {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 300;
    max-width: 700px;
}

.project-meta-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    margin-top: -50px;
    z-index: 10;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-meta-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.project-meta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-meta-card:hover::before {
    transform: scaleX(1);
}

.project-meta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.project-meta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
    transition: all 0.4s ease;
}

.project-meta-card:hover .project-meta-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.4);
}

.project-meta-card-status .project-meta-icon {
    background: linear-gradient(135deg, var(--status-color) 0%, var(--status-color) 100%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.project-meta-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin: 0 0 10px;
}

.project-meta-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    line-height: 1.2;
}

.project-meta-status {
    color: var(--status-color);
    font-size: 1.3rem;
}

.project-content-section {
    padding: 100px 0;
    background: var(--white);
}

.project-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.project-content-inner {
    width: 100%;
}

/* WordPress içeriğindeki görselleri media-grid'e uygun hale getir */
.project-content-inner .wp-block-gallery,
.project-content-inner .blocks-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin: 50px 0;
    padding: 0;
}

.project-content-inner .wp-block-gallery figure,
.project-content-inner .blocks-gallery-grid figure {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--white);
    cursor: pointer;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.project-content-inner .wp-block-gallery figure:hover,
.project-content-inner .blocks-gallery-grid figure:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.project-content-inner .wp-block-gallery img,
.project-content-inner .blocks-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-content-inner .wp-block-gallery figure:hover img,
.project-content-inner .blocks-gallery-grid figure:hover img {
    transform: scale(1.1);
}

/* Tekil görseller */
.project-content-inner .wp-block-image figure,
.project-content-inner figure:not(.wp-block-gallery figure):not(.blocks-gallery-grid figure) {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--white);
    cursor: pointer;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
}

.project-content-inner .wp-block-image figure:hover,
.project-content-inner figure:not(.wp-block-gallery figure):not(.blocks-gallery-grid figure):hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.project-content-inner .wp-block-image img,
.project-content-inner figure:not(.wp-block-gallery figure):not(.blocks-gallery-grid figure) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-content-inner .wp-block-image figure:hover img,
.project-content-inner figure:not(.wp-block-gallery figure):not(.blocks-gallery-grid figure):hover img {
    transform: scale(1.1);
}

/* Başlıklar için media-section stili */
.project-content-inner h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin: 80px 0 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
}

.project-content-inner h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
}

.project-content-inner h2:first-of-type {
    margin-top: 0;
}

/* Videolar */
.project-content-inner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.project-content-inner .wp-block-video {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--white);
    cursor: pointer;
    aspect-ratio: 4/3;
    margin: 25px 0;
}

.project-content-inner .wp-block-video:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.project-content {
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.project-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 40px 0 20px;
    color: var(--dark);
    line-height: 1.2;
}

.project-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--dark);
}

.project-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 25px 0 12px;
    color: var(--dark);
}

.project-content p {
    margin-bottom: 20px;
    color: #555;
}

.project-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-content ul,
.project-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.project-content li {
    margin-bottom: 10px;
    color: #555;
}

.project-content blockquote {
    border-left: 4px solid var(--red);
    padding-left: 30px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    font-size: 1.2rem;
}

/* Modern Gallery Slider Styles */
.project-content .wp-block-gallery,
.project-content .blocks-gallery-grid {
    position: relative;
    margin: 50px 0;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
}

.project-gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #f8f9fa;
    padding: 20px 0;
}

.project-gallery-slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.project-gallery-slide {
    min-width: 100%;
    flex-shrink: 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.project-gallery-slide figure {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    margin: 0;
    max-height: 600px;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .project-gallery-slide figure {
        max-height: 400px;
        aspect-ratio: 4/3;
    }
}

.project-gallery-slide figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.project-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    display: block;
    filter: brightness(1);
}

.project-gallery-slide figure:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Gallery Navigation */
.project-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 50%;
    color: var(--red);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-gallery-nav:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.project-gallery-prev {
    left: 10px;
}

.project-gallery-next {
    right: 10px;
}

/* Gallery Dots */
.project-gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.project-gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.project-gallery-dot:hover {
    background: rgba(220, 38, 38, 0.5);
    transform: scale(1.2);
}

.project-gallery-dot.active {
    background: var(--red);
    width: 30px;
    border-radius: 6px;
    border-color: var(--red);
}

/* Gallery Counter */
.project-gallery-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 768px) {
    .project-gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .project-gallery-prev {
        left: 5px;
    }
    
    .project-gallery-next {
        right: 5px;
    }
    
    .project-gallery-slide {
        padding: 0 10px;
    }
    
    .project-gallery-counter {
        top: 10px;
        right: 10px;
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Legacy gallery support (if not converted to slider) */
.project-content .wp-block-gallery:not(.project-gallery-slider) figure,
.project-content .blocks-gallery-grid:not(.project-gallery-slider) figure {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    margin: 0;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-content .wp-block-gallery:not(.project-gallery-slider) figure:hover,
.project-content .blocks-gallery-grid:not(.project-gallery-slider) figure:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.project-content .wp-block-gallery figure::before,
.project-content .blocks-gallery-grid figure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.project-content .wp-block-gallery figure:hover::before,
.project-content .blocks-gallery-grid figure:hover::before {
    opacity: 1;
}

.project-content .wp-block-gallery figure::after,
.project-content .blocks-gallery-grid figure::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 2rem;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.project-content .wp-block-gallery figure:hover::after,
.project-content .blocks-gallery-grid figure:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Single Image Styles */
.project-content .wp-block-image,
.project-content figure {
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-content .wp-block-image:hover,
.project-content figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.project-content .wp-block-image img,
.project-content figure img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    filter: brightness(1);
}

.project-content .wp-block-image:hover img,
.project-content figure:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.project-content .wp-block-image figcaption,
.project-content figure figcaption {
    padding: 15px 20px;
    background: #f8f9fa;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    margin-top: 0;
}

/* Lightbox Styles */
.project-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.project-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: lightboxZoom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.7) rotate(-2deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.project-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.project-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.project-lightbox-close:hover {
    background: rgba(220, 38, 38, 0.9);
    border-color: var(--red);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.project-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.project-lightbox-nav:hover {
    background: rgba(220, 38, 38, 0.9);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.project-lightbox-prev {
    left: 20px;
}

.project-lightbox-next {
    right: 20px;
}

.project-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    z-index: 10000;
}

/* Video Styles */
.project-content .wp-block-video,
.project-content video {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 40px 0;
}

/* Columns Layout */
.project-content .wp-block-columns {
    gap: 30px;
    margin: 40px 0;
}

.project-content .wp-block-column {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

/* Cover Block */
.project-content .wp-block-cover {
    border-radius: 15px;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Group Block */
.project-content .wp-block-group {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

/* Project Detail Page - Original HTML Styles */
.project-detail {
    padding: 120px 0 80px;
    background: #f8f9fa;
}

.project-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.project-header h1 {
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.project-header .subtitle {
    color: var(--red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

/* WordPress gallery block'larını media-grid içinde override et */
.media-grid .wp-block-gallery,
.media-grid .blocks-gallery-grid,
.media-section .wp-block-gallery,
.media-section .blocks-gallery-grid {
    display: contents !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.media-grid .wp-block-gallery figure,
.media-grid .blocks-gallery-grid figure,
.media-section .wp-block-gallery figure,
.media-section .blocks-gallery-grid figure {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
}

.media-grid .wp-block-gallery img,
.media-grid .blocks-gallery-grid img,
.media-section .wp-block-gallery img,
.media-section .blocks-gallery-grid img {
    display: none !important;
}

.media-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--white);
    cursor: pointer;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-filter: contrast(1.05) brightness(1.02);
    filter: contrast(1.05) brightness(1.02);
}

.media-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.media-item:hover::before {
    opacity: 1;
}

.media-section {
    margin-bottom: 100px;
    padding: 60px 40px;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.media-section h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
    width: 100%;
}

.media-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
}

.media-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
    padding: 12px 24px;
    background: var(--white);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.back-button:hover {
    color: var(--white);
    background: var(--red);
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.back-button i {
    transition: transform 0.3s ease;
}

.back-button:hover i {
    transform: translateX(-3px);
}

/* Original Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    position: relative;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.lightbox-content video {
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: rgba(255,255,255,0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(220, 38, 38, 0.9);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .media-item {
        height: 250px;
    }
    
    .media-section {
        padding: 40px 20px;
    }
    
    .project-header h1 {
        font-size: 2.5rem;
    }
    
    .media-section h2 {
        font-size: 2rem;
    }
}

.project-related-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.project-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .project-hero-title {
        font-size: 2.5rem;
    }
    
    .project-hero-tagline {
        font-size: 1.1rem;
    }
    
    .project-meta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-content {
        padding: 40px 30px;
    }
    
    .project-content h2 {
        font-size: 2rem;
    }
    
    .project-content h3 {
        font-size: 1.6rem;
    }
    
    .project-related-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 8. Stats */
.stats {
    background: var(--white);
    padding: 60px 0;
    color: var(--secondary);
    margin-top: 0;
    border-radius: 60px 60px 0 0;
    position: relative; 
    z-index: 20;
    box-shadow: 0 -20px 50px rgba(0,0,0,0.1);
}

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

.stat-item {
    padding: 30px;
    background: rgba(0,0,0,0.03);
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.stat-item:hover {
    background: var(--red);
    transform: translateY(-10px);
}

.stat-number { 
    font-size: 5rem; 
    font-weight: 900; 
    line-height: 1; 
    color: var(--red); 
    transition: var(--transition); 
}

.stat-item:hover .stat-number { color: var(--white); }
.stat-item p { text-transform: uppercase; font-weight: 700; letter-spacing: 2px; margin-top: 10px; font-size: 0.85rem; color: var(--secondary); }
.stat-item:hover p { color: var(--white); }

/* 9. Contact Page Form */
.contact-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 40px;
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 25px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    background: #fdfdfd;
}

/* 10. Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 60px; margin-bottom: 60px; }
.footer-about .logo a img {
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    mix-blend-mode: darken;
    filter: contrast(1.1);
}
.footer-about p { margin-top: 25px; opacity: 0.7; }
.footer-links h3 { font-size: 1.3rem; margin-bottom: 30px; color: var(--white); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: var(--white); text-decoration: none; opacity: 0.9; transition: var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--white); padding-left: 10px; text-decoration: underline; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    display: flex; justify-content: space-between; align-items: center;
}

.footer-bottom .social a {
    display: inline-block;
    transition: var(--transition);
}

.footer-bottom .social a i {
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.footer-bottom .social a:hover i {
    color: var(--red);
    transform: scale(1.2);
}

/* 11. Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 12. Responsive */
@media (max-width: 1024px) {
    .slide h1 { font-size: 2.5rem; }
    .section-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    /* Mobil için genel ayarlar */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
    }
    
    /* Tüm görsellerin mobilde responsive olması */
    img {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        object-fit: cover;
    }
    
    .nav-links {
        width: 100%;
    }
    .logo a img {
        max-height: 45px;
    }
    .footer-about .logo a img {
        max-height: 40px;
    }
    .slide h1 { font-size: 1.8rem; }
    .page-header h1 { font-size: 3rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .stats { 
        margin-top: 0; 
        border-radius: 0;
        padding: 40px 0;
        width: 100%;
        overflow: hidden;
    }
    
    .stats .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
        margin: 0;
    }
    
    .stat-item {
        padding: 20px 15px;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
        line-height: 1.1;
        word-break: break-word;
    }
    
    .stat-item p {
        font-size: 0.7rem;
        margin-top: 8px;
        letter-spacing: 1px;
        word-break: break-word;
    }
    
    .partner-projects-banner .container > div > div {
        grid-template-columns: 1fr !important;
    }
    .partner-projects-banner {
        padding: 60px 0 !important;
    }
    
    /* About section mobil düzenlemesi */
    .about-image-collage img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    /* Section padding'leri mobilde azalt */
    .section {
        padding: 60px 0;
    }
    
    /* Hero slider mobil düzenlemesi */
    .slide-img {
        width: 100%;
        max-width: 100%;
    }
    
    /* Project items mobil düzenlemesi */
    .project-item {
        width: 100%;
        max-width: 100%;
    }
    
    .project-item img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

/* Çözüm Ortağı Projeler Banner Stilleri */
.partner-projects-banner .container > div > div > div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-projects-banner .container > div > div > div:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
    background: #ffffff !important;
    border-color: var(--red) !important;
}
