/* ============================================
   Construction Website Styles
   Inspired by Koray.com - Elegant & Professional
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #10b981;
    --secondary-color: #8b5cf6;
    --dark-color: #1a1a1a;
    --light-gray: #f5f7fa;
    --text-gray: #64748b;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
    --hero-start: #0d4f3c;
    --hero-end: #4a3d7a;
    --border-color: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-color, #1e40af);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    position: fixed;
    background: var(--header-color, #1e40af);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0;
    gap: 3rem;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-link {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 0.5rem 0;
    font-size: 15px;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.btn-call {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    margin-right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-call:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section - Slider */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-end) 100%);
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
    margin-top: 0;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.hero-section::before {
    display: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 4;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    pointer-events: all;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

.hero-text {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    animation: bounce 2s infinite;
    backdrop-filter: blur(10px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Slogan Section */
.slogan-section {
    padding: 80px 0;
    background: var(--white);
}

.slogan-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.slogan-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-gray);
    line-height: 1.8;
    letter-spacing: 0.01em;
}

/* About Intro Section */
.about-intro-section {
    position: relative;
    background: var(--header-color, #1e40af);
    color: var(--white);
    padding: 0 0 80px;
}

.about-intro-section::before {
    content: '';
    display: block;
    width: 100%;
    height: 80px;
    background: var(--white);
}

.about-intro-image-wrapper {
    max-width: 1280px;
    width: 100%;
    height: 50vh;
    min-height: 450px;
    margin: -70px auto 80px;
    padding: 0 40px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.about-intro-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.about-intro-content-wrapper {
    padding: 0;
    background: transparent;
    position: relative;
}

.about-intro-content {
    max-width: 100%;
    margin: 0;
    position: relative;
}

.about-intro-content::after {
    content: '';
    display: table;
    clear: both;
}

.about-intro-icon {
    display: none;
}

.about-intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

.about-intro-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-align: left;
}

.about-intro-link {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition);
    float: right;
}

.about-intro-link:hover {
    opacity: 0.8;
    text-decoration-thickness: 2px;
}

/* About Background Image */
.about-background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* Debug için - resmin görünür olması için */
.about-background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Stats section ve diğer içeriklerin z-index'ini artır */
.stats-section,
.projects-section,
.news-section,
.contact-section {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Page Section */
.page-section {
    padding: 120px 0 100px;
    background: var(--white);
    min-height: 60vh;
    margin-top: 80px;
}

.page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

.page-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    display: block;
    visibility: visible;
    opacity: 1;
}

.sidebar-menu {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 2rem;
    overflow: visible;
    min-height: auto;
    max-height: none;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--header-color, #1e40af);
}

.sidebar-category {
    margin-bottom: 2rem;
}

.sidebar-category:last-child {
    margin-bottom: 0;
}

.sidebar-category-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--header-color, #1e40af);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: visible;
    min-height: auto;
    max-height: none;
}

.sidebar-links li {
    display: block;
    width: 100%;
}

.sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.9375rem;
}

.sidebar-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark-color);
    padding-left: 1.25rem;
}

.sidebar-link.active {
    background: var(--header-color, #1e40af);
    color: var(--white);
    font-weight: 500;
}

.page-content-wrapper {
    flex: 1;
}

.page-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 3rem;
    overflow: hidden;
    border-radius: 8px;
}

.page-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-content {
    max-width: 100%;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-color);
    line-height: 1.2;
}

.page-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-gray);
}

.page-text p {
    margin-bottom: 1.5rem;
}

.page-text h2,
.page-text h3,
.page-text h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.page-text h2 {
    font-size: 2rem;
}

.page-text h3 {
    font-size: 1.5rem;
}

.page-text h4 {
    font-size: 1.25rem;
}

.page-text ul,
.page-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-text li {
    margin-bottom: 0.5rem;
}

.page-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.page-text a {
    color: var(--header-color, #1e40af);
    text-decoration: underline;
}

.page-text a:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .page-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-sidebar {
        position: relative;
        top: 0;
    }
    
    .sidebar-menu {
        padding: 1.5rem;
    }
}

/* News Detail Layout */
.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    align-items: start;
}

.news-detail-content {
    flex: 1;
}

/* News Grid Layout (2 columns) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.news-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

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

.news-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-meta {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-card-title a:hover {
    color: var(--header-color, #1e3a8a);
}

.news-card-excerpt {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    color: var(--header-color, #1e3a8a);
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition);
    margin-top: auto;
}

.news-card-link:hover {
    color: var(--primary-color);
    gap: 0.5rem;
}

.news-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.popular-news-widget {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 2rem;
}

.popular-news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--header-color, #1e3a8a);
}

.popular-news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.popular-news-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.popular-news-image {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}

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

.popular-news-image:hover img {
    transform: scale(1.05);
}

.popular-news-content {
    flex: 1;
}

.popular-news-item-title {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.popular-news-item-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-news-item-title a:hover {
    color: var(--header-color, #1e3a8a);
}

@media (max-width: 1024px) {
    .news-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-sidebar {
        position: relative;
        top: 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-section {
        padding: 60px 0;
        margin-top: 80px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-text {
        font-size: 1rem;
    }
    
    .page-image-wrapper {
        margin-bottom: 2rem;
    }
    
    .sidebar-title {
        font-size: 1.125rem;
    }
    
    .sidebar-link {
        font-size: 0.875rem;
        padding: 0.625rem 0.875rem;
    }
}

/* Stats Section - Koray Style */
.stats-section {
    padding: 120px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0;
}

.stat-icon {
    display: none;
}

.stat-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 200px;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
    font-weight: 400;
}

/* Services Section */
.services-section {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #1e3a8a);
    color: var(--white);
    border-radius: 12px;
    font-size: 28px;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.service-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9375rem;
}

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

/* Projects Section */
.projects-section {
    background: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.project-image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 185, 129, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 22px;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.project-category {
    color: var(--text-gray);
    font-size: 0.9375rem;
    font-weight: 400;
}

.projects-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.placeholder-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Projects Slider Styles */
.projects-slider-wrapper {
    position: relative;
    margin-top: 3rem;
}

.projects-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.projects-slider {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.project-slide {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    color: var(--dark-color);
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .project-slide {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .projects-slider-container {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .project-slide {
        flex: 0 0 100%;
    }
    
    .projects-slider-container {
        padding: 0 50px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* About Section */
.about-section {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    max-width: 600px;
}

.about-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.exp-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.02em;
}

.exp-label {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--white);
    margin-top: 80px;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-section .section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--header-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.contact-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.contact-section .section-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
}

/* İletişim Bilgileri */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--header-color);
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--header-color);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.25rem;
}

.contact-info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-info-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.contact-info-content a {
    color: var(--header-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.phone-type {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.contact-social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--header-color);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.125rem;
}

.contact-social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-map-wrapper-top {
    margin-bottom: 2rem;
    width: 100%;
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* İletişim Formu */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-form-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--header-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-label .required {
    color: #dc3545;
    margin-left: 0.25rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: var(--white);
    color: var(--dark-color);
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--header-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

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

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--header-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-section .section-title {
        font-size: 2rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.125rem;
    }
    
    .contact-map {
        height: 250px;
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-card {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    font-size: 24px;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.info-card p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-card a {
    color: var(--primary-color);
}

.info-card a:hover {
    text-decoration: underline;
}

.phone-type {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

.contact-map {
    margin-top: 5rem;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    height: 450px;
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.main-footer {
    background: var(--header-color, #1e40af);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-right-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-end;
    overflow: visible;
    min-height: auto;
    max-height: none;
}

.footer-links-horizontal {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-bottom: 0.5rem;
    justify-content: flex-end;
    align-items: center;
    overflow: visible;
    min-height: auto;
    max-height: none;
}

.footer-links-horizontal li {
    margin: 0;
    display: inline-block;
    width: auto;
    flex-shrink: 0;
}

.footer-links-horizontal a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.9375rem;
    white-space: nowrap;
}

.footer-links-horizontal a:hover {
    color: var(--white);
    padding-left: 0;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
    text-align: right;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    justify-content: flex-end;
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

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

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

.footer-logo img {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links.footer-links-horizontal {
    flex-direction: row !important;
}

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

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

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-end;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    justify-content: flex-end;
    text-align: right;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 4px;
}

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

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

.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom-left {
    flex: 1;
}

.footer-bottom-right {
    flex: 1;
    text-align: right;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1e3a8a;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .slogan-text {
        font-size: 1.25rem;
    }
    
    .about-intro-title {
        font-size: 2rem;
    }
    
    .about-intro-text {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .stat-number {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--header-color, #1e40af);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        transition: var(--transition);
        z-index: 1000;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.9);
        padding: 1rem 0;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .btn-call {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .slogan-section {
        padding: 60px 0;
    }
    
    .slogan-text {
        font-size: 1.125rem;
    }
    
    .about-intro-section::before {
        height: 40px;
    }
    
    .about-intro-image-wrapper {
        max-width: 100%;
        height: 300px;
        min-height: 300px;
        margin: -20px auto 40px;
        padding: 0 24px;
    }
    
    .about-intro-content-wrapper {
        padding: 0;
    }
    
    .about-intro-title {
        font-size: 1.75rem;
    }
    
    .about-intro-text {
        font-size: 0.9375rem;
    }
    
    .about-intro-link {
        float: none;
        display: block;
        text-align: right;
        margin-top: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-right-column {
        gap: 2rem;
        align-items: flex-start;
    }
    
    .footer-links-horizontal {
        flex-direction: row;
        gap: 1.5rem;
        justify-content: flex-start;
    }
    
    .footer-contact-info {
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-contact-item {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-left,
    .footer-bottom-right {
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .slider-controls {
        padding: 0 1rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}
