:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
}

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

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px; /* Navbar yüksekliğini artır */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem; /* Padding azaltıldı */
    height: 100%; /* Tam yükseklik */
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center; /* Dikey hizalama */
    margin: 0; /* Margin sıfırlandı */
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1rem; /* Padding artırıldı */
    transition: color 0.3s ease;
    font-weight: 500; /* Font kalınlığı eklendi */
}

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

/* Logo Styles - Güncellenmiş */
.navbar .logo {
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar .logo img {
    max-height: 70px; /* 65px'den 70px'e çıkarıldı */
    height: 70px; /* Sabit yükseklik eklendi */
    width: auto;
    transition: transform 0.3s ease;
}

.navbar .logo img:hover {
    transform: scale(1.05);
}

/* Mobil için Logo */
@media (max-width: 768px) {
    .navbar .logo {
        height: 60px;
    }
    
    .navbar .logo img {
        max-height: 55px; /* 50px'den 55px'e çıkarıldı */
        height: 55px;
    }
    
    .nav-links a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('../images/hero-bg-optimized.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax efekti için */
    height: 100vh;
    min-height: 600px;
    position: relative;
    margin-top: 60px; /* Navbar yüksekliği kadar margin */
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 2rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.highlight {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.support-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.service-features li {
    padding: 4px 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Hero Background Styles */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('../images/hero-bg-optimized.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax efekti için */
    height: 100vh;
    min-height: 600px;
    position: relative;
    margin-top: 60px; /* Navbar yüksekliği kadar margin */
}

/* Mobil için Hero ayarları */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll; /* Mobilde parallax'ı kapat */
        min-height: 400px;
    }
}

/* Hero Slider Styles - Yükseklik azaltıldı */
.hero-slider {
    position: relative;
    height: 50vh; /* 100vh'den 70vh'e düşürüldü (%30 azalma) */
    min-height: 400px; /* 600px'den 400px'e düşürüldü */
    overflow: hidden;
    margin-top: 80px; /* 60px'den 80px'e çıkarıldı */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden; /* Yeni eklendi */
    transition: all 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible; /* Yeni eklendi */
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    background: rgba(0,0,0,0.5);
}

/* Yeni eklendi - Slider okları için z-index */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100; /* Yeni eklendi */
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; /* Yeni eklendi */
    align-items: center; /* Yeni eklendi */
    justify-content: center; /* Yeni eklendi */
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.4);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.service-link:hover {
    background-color: var(--secondary-color);
}