:root {
    /* Arka Plan - Açık Tonlar */
    --arka-plan: #F0F4F8;
    --buz-acik: #E2EAF4;
    
    /* Koyu Tonlar - Header, Footer, Butonlar */
    --lacivert: #1E3A5F;
    --deniz-mavisi: #2C5282;
    --koyu-mavi: #1A365D;
    
    /* Hover Renkleri - Altın & Gümüş */
    --altin: #D4AF37;
    --altin-koyu: #B8942E;
    --gumus: #A0AEC0;
    --gumus-koyu: #718096;
    
    /* Gri Tonları */
    --gri: #4A5568;
    --gri-acik: #718096;
    --gri-koyu: #2D3748;
    
    /* Beyaz */
    --beyaz: #FFFFFF;
    
    /* Gölgeler */
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-dark: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--arka-plan);
    color: var(--gri);
    line-height: 1.6;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--lacivert);
    margin-bottom: 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: auto;
    color: var(--lacivert);
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--altin);
    border-radius: 3px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--lacivert);
}

/* ========== NAVBAR ========== */
.navbar {
    background: linear-gradient(135deg, #0F6B3A 0%, #1E3A5F 100%) !important;
}

.navbar .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 10px 18px !important;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar .nav-link:hover {
    background-color: var(--altin);
    color: var(--lacivert) !important;
    transform: translateY(-2px);
}

.navbar .nav-link.active {
    background-color: var(--altin);
    color: var(--lacivert) !important;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
    transition: transform 0.3s;
}

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

/* ========== SLIDER ========== */
.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.7);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
    z-index: 10;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
    color: white;
}

.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    animation: fadeInUp 1s ease;
    color: rgba(255,255,255,0.95);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: white;
    opacity: 0.5;
}

.carousel-indicators button.active {
    opacity: 1;
    background-color: var(--altin);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== KARTLAR ========== */
.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: var(--shadow);
    background: var(--beyaz);
    height: 100%;
}

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

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-title {
    color: var(--lacivert);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gri);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Hizmet kartları özel */
.service-card {
    text-align: center;
    padding: 30px 25px;
    background: var(--beyaz);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.35s ease;
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--deniz-mavisi);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--altin);
    color: var(--lacivert);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--lacivert);
}

.service-card p {
    color: var(--gri);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Proje kartları özel */
.project-card {
    position: relative;
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.project-overlay .btn {
    background: var(--altin);
    color: var(--lacivert);
    border: none;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 40px;
}

.project-overlay .btn:hover {
    background: var(--beyaz);
    color: var(--lacivert);
}

/* ========== BUTONLAR ========== */
.btn-kirmizi {
    background: var(--deniz-mavisi);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-kirmizi:hover {
    background: var(--altin);
    color: var(--lacivert);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-kirmizi {
    background: transparent;
    color: var(--deniz-mavisi);
    border: 2px solid var(--deniz-mavisi);
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-outline-kirmizi:hover {
    background: var(--altin);
    color: var(--lacivert);
    transform: translateY(-2px);
    border-color: var(--altin);
}

.btn-siyah {
    background: var(--lacivert);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-siyah:hover {
    background: var(--altin);
    color: var(--lacivert);
    transform: translateY(-2px);
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--lacivert);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
    margin-top: 0;
}

footer h4, footer h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}

footer h4:after, footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--altin);
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}

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

.social-links a {
    display: inline-block;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    margin-right: 8px;
    transition: all 0.3s;
    color: white;
}

.social-links a:hover {
    background: var(--altin);
    color: var(--lacivert);
    transform: translateY(-3px);

}


.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* ========== İSTATİSTİK BÖLÜMÜ ========== */
.stats-section {
    background: linear-gradient(135deg, var(--lacivert) 0%, var(--deniz-mavisi) 100%);
    color: white;
    padding: 60px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--altin);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ========== CTA BÖLÜMÜ ========== */
.cta-section {
      background: linear-gradient(135deg, #008080 0%, #1E3A5F 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
    margin-bottom: 0;
}
.cta-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.cta-btn {
    background: white;
    color: var(--deniz-mavisi);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn:hover {
    background: var(--altin);
    color: var(--lacivert);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cta-btn-wa {
    background: #25D366;
    color: white;
}

.cta-btn-wa:hover {
    background: #1da15a;
    color: white;
}

/* ========== İLETİŞİM FORMU ========== */
.contact-form {
    background: var(--beyaz);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-control {
    border: 1px solid var(--gumus);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--altin);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    outline: none;
}

label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--lacivert);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .carousel-item {
        height: 500px;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 350px;
    }
    
    .carousel-caption h1 {
        font-size: 1.4rem;
    }
    
    .btn-kirmizi, .btn-siyah {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* ========== ANİMASYONLAR ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Scroll bar özelleştirme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--arka-plan);
}

::-webkit-scrollbar-thumb {
    background: var(--deniz-mavisi);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--altin);
}