/* GENEL AYARLAR VE DEĞİŞKENLER */
html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #446BAD;
    --secondary-color: #00c6ff;
    --dark-color: #1a202c;
    --light-color: #ffffff;
    --gray-color: #f8f9fa; /* Hafif kırık beyaz tonu */
    --text-color: #4a5568;
    --heading-color: var(--dark-color);
}

body {
    margin: 0;
    font-family: "Quicksand", sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: var(--heading-color);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
}

/* HEADER VE NAVİGASYON */
.main-header {
    background: var(--light-color);
    padding: 20px 0; /* Artırıldı */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-height: 70px; /* Artırıldı */
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a.active {
    color: var(--primary-color);
    font-weight: 700; /* Aktif linki kalın yapar */
}

/* KAHRAMAN (HERO) BÖLÜMÜ - IDENFIT TARZI */
.hero-section {
    background-color: var(--gray-color);
    padding: 80px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.btn {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: var(--light-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

.btn-secondary {
    background: var(--light-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

/* BÖLÜM BAŞLIKLARI */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
    font-size: 1.4rem; /* Boyutu biraz büyüttük */

}

.section-title h2 {
    font-size: 2.4rem;
}

/* HİZMETLER BÖLÜMÜ */
.services-section {
    background-color: var(--gray-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center; /* Ortalandı */
}

.service-card:hover {
    transform: translateY(-8px); /* Efekt güçlendirildi */
    box-shadow: 0 15px 30px rgba(0,0,0,0.12); /* Efekt güçlendirildi */
}

.service-card i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* NEDEN BİZ BÖLÜMÜ */
.why-us-section {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item h4 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-item h4 i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.feature-item p {
    padding-left: 40px; /* İkon ve başlıkla hizalı olması için metne sol boşluk verdik */
    font-size: 1.2rem; /* Metin fontunu çok az büyüttük */
    line-height: 1.8; /* Satır aralığını artırarak ferahlattık */
}

/* EYLEM ÇAĞRISI (CTA) BÖLÜMÜ */
.cta-section {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: var(--light-color);
    text-align: center;
}

.cta-section h2 {
    color: var(--light-color);
    font-size: 2.2rem;
}

.btn-light {
    background: var(--light-color);
    color: var(--primary-color);
}
.btn-light:hover {
    background: var(--gray-color);
    transform: translateY(-3px);
}

.contact-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--light-color);
}

.contact-item a {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--light-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s;
}

.contact-item a:hover {
    border-bottom: 1px solid var(--light-color);
}

/* POP-UP (MODAL) VE FORM STİLLERİ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding-top: 20px;
}

.modal-body form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.4rem;
    font-family: 'Quicksand', sans-serif;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.checkbox-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
#submit-btn {
    margin-top: 10px;
    padding: 12px;
    width: 100%;
    border: none;
    cursor: pointer;
}
#submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
#form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
}


/* FOOTER (ALT BİLGİ) BÖLÜMÜ */
.main-footer {
    background: var(--dark-color);
    color: #a0aec0;
    padding: 30px 0;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--light-color);
}

/* MOBİL UYUMLULUK */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    h1, .hero-text h1 { font-size: 2rem; }
    h2, .section-title h2 { font-size: 1.8rem; }
    
    .main-header .container { flex-direction: column; gap: 15px; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; }

    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    
    .contact-details {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .main-footer .container { flex-direction: column; gap: 15px; text-align: center; }
    .footer-links { margin-top: 10px; }
    .footer-links a { margin: 0 10px; }
}

/* Yeni Hayalet Buton Stili */
.btn-ghost {
    background-color: transparent;
    border: 2px solid var(--light-color);
    color: var(--light-color);
}

.btn-ghost:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* CTA bölümündeki metin rengini garantilemek için */
.cta-section p {
    color: #ffffff;
}