/*
--- VECTRISDEV THEME ---
* 1. Değişkenler ve Temel Stiller
* 2. Yardımcı Sınıflar
* 3. Header ve Navigasyon
* 4. Footer
* 5. Ana Sayfa Stilleri (Hero, Services, etc.)
* 6. İç Sayfa Stilleri (Page Header, Detailed Services, etc.)
* 7. Form Elemanları
* 8. Duyarlılık (Responsiveness)
*/

/* 1. Değişkenler ve Temel Stiller */
:root {
    --color-dark: #0D0D1A;
    --color-dark-light: #1A1A2E;
    --color-primary: #00A9FF; /* Canlı mavi */
    --color-secondary: #3D5AFE;
    --color-white: #FFFFFF;
    --color-text: #E0E0E0;
    --color-text-muted: #A0A0A0;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--color-white);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

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

ul {
    list-style: none;
}

/* 2. Yardımcı Sınıflar */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-muted);
}

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


/* 3. Header ve Navigasyon */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(13, 13, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(13, 13, 26, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo a {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 21px;
    position: relative;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-nav-toggle span:nth-child(1) { top: 0; }
.mobile-nav-toggle span:nth-child(2) { top: 9px; }
.mobile-nav-toggle span:nth-child(3) { top: 18px; }

/* 4. Footer */
.site-footer {
    background-color: var(--color-dark-light);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.footer-grid ul li {
    margin-bottom: 0.5rem;
}

.footer-grid a, .footer-grid span {
    color: var(--color-text-muted);
}

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

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.2rem;
    /* Placeholder styles */
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid var(--color-text-muted);
    border-radius: 50%;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* 5. Ana Sayfa Stilleri */

/* Hero */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 169, 255, 0.15) 0%, rgba(0, 169, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 5s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--color-dark-light);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 169, 255, 0.1);
}

.service-icon {
    margin-bottom: 20px;
    color: var(--color-primary);
    font-size: 3rem;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* About Teaser */
.about-teaser-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-teaser-image img {
    border-radius: 10px;
}

/* CTA */
.cta {
    background-color: var(--color-dark-light);
}

.cta h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta p { margin-bottom: 2rem; }

/* 6. İç Sayfa Stilleri */
.main-content { 
    padding-top: var(--header-height);
}

.page-header {
    padding: 80px 0;
    background: linear-gradient(rgba(13, 13, 26, 0.8), rgba(13, 13, 26, 0.8)), url('../images/banner.jpg') no-repeat center center/cover;
    text-align: center;
}

.page-header h1 { font-size: 3rem; }
.page-header p { color: var(--color-text-muted); font-size: 1.1rem; }

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail-item:last-child { margin-bottom: 0; }

.service-detail-item.reverse {
    grid-template-areas: 'text image';
}

.service-detail-item.reverse .service-detail-image { grid-area: image; }
.service-detail-item.reverse .service-detail-text { grid-area: text; }

.service-detail-image img {
    border-radius: 10px;
}

.service-detail-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 20px;
}

.service-detail-text ul li {
    margin-bottom: 10px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vision-card, .mission-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

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

.team-member-card {
    text-align: center;
}

.team-member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--color-primary);
}

.team-member-card h4 {
    margin-bottom: 5px;
}

.team-member-card span {
    color: var(--color-text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-info-list li {
    margin-bottom: 20px;
}

.contact-info-list strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 5px;
}

.social-links-contact {
    margin-top: 30px;
}

.social-links-contact a {
    margin-right: 15px;
}

/* 7. Form Elemanları */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--color-dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--color-white);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* 8. Duyarlılık (Responsiveness) */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 3rem; }

    .about-teaser-content, .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-item {
        display: flex; /* Grid yerine flexbox kullan */
        flex-direction: column; /* Öğeleri alt alta sırala */
        gap: 30px; /* Boşluğu ayarla */
    }

    .service-detail-item.reverse {
        flex-direction: column-reverse; /* Ters sırada görseli üste al */
    }

    .contact-form-wrapper { margin-bottom: 40px; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .main-nav a { font-size: 1.5rem; }

    .mobile-nav-toggle {
        display: block;
    }

    body.nav-open .mobile-nav-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    body.nav-open .mobile-nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    body.nav-open .mobile-nav-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-title { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }

    /* Mobil Uyumluluk İyileştirmeleri */
    .section-padding {
        padding: 60px 0;
    }

    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .service-detail-item {
        margin-bottom: 60px;
    }

    .service-detail-text h3 {
        font-size: 1.3rem;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
}