/* CSS Variables */
:root {
    --primary-color: #004080;
    --primary-light: #336699;
    --secondary-color: #f5f5f5;
    --text-color: #333333;
    --heading-color: #004080;
    --font-family: 'Montserrat', sans-serif;
    --btn-radius: 6px;
}

/* Global Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text-color); line-height: 1.6; background:#fff; }
.container { width: 90%; max-width: 1200px; margin: auto; padding: 20px 0; }

/* Navbar */
.navbar { background-color: #ffffff; border-bottom: 1px solid #e0e0e0; position: sticky; top: 0; z-index: 1000; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
/* Logo alanı */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;              /* Logo ile yazı arası boşluk */
    text-decoration: none;  /* Alt çizgiyi kaldırır */
}

.logo img {
    height: 60px;           /* Logoyu büyüttüm */
    width: auto;
    vertical-align: middle; /* Dikey hizayı düzeltir */
}

.logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;         /* Dikey hizalamayı iyileştirir */
}

.nav-links { display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-color); }
.mobile-menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero-section {
    position: relative;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}
.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}
.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: var(--primary-light);
}

/* Sections */
section { padding: 60px 0; }
section h2 { text-align: center; font-size: 2rem; color: var(--heading-color); margin-bottom: 40px; }

/* About Section */
.about-section .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-section img { width: 100%; border-radius: 8px; object-fit: cover; }

/* Services Section */
.services-section .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { background-color: #ffffff; border: 1px solid #e0e0e0; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow .3s; }
.service-card img { width: 100%; height: 180px; object-fit: cover; display:block; }
.service-card h3 { font-size: 1.2rem; color: var(--heading-color); margin: 15px; }
.service-card p { margin: 0 15px 10px; font-size: 0.95rem; color: var(--text-color); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 16px rgba(0,0,0,0.12); }
.service-link { color: inherit; text-decoration: none; display: block; height: 100%; }

/* Testimonials Section */
.testimonials-section .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.testimonial-card { background-color: var(--secondary-color); padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.08); }
.testimonial-card p { font-style: italic; margin-bottom: 10px; }
.testimonial-card h4 { text-align: right; font-weight: 600; }

/* Contact Section */
.contact-section .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info p { margin-bottom: 10px; }
.contact-form form { display: flex; flex-direction: column; gap: 15px; }
.contact-form label { font-weight: 500; }
.contact-form input, .contact-form textarea { padding: 10px; border: 1px solid #ccc; border-radius: 6px; font-family: var(--font-family); }
.contact-form button { width: fit-content; }

/* Footer Section */
.footer-section { background-color: var(--primary-color); color: #ffffff; padding: 20px 0; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.social-links a { color: #ffffff; margin: 0 10px; text-decoration: none; transition: opacity 0.3s; }
.social-links a:hover { opacity: 0.8; }

/* Announcement Banner */
.announcement-banner { background-color: #004080; color: #ffffff; text-align: center; padding: 10px 0; font-family: var(--font-family); }
.announcement-banner p { margin: 0; font-size: 0.95rem; }
.announcement-banner a { color: #ffdd57; text-decoration: underline; }

/* WhatsApp Floating Button */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px; z-index: 1000; background-color: transparent; }
.whatsapp-float img { width: 100%; height: 100%; }
.whatsapp-float:hover { transform: scale(1.05); transition: transform 0.2s; }

/* Service Detail */
.service-detail-hero { background: #f8fbff; }
.service-detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.service-detail-image img { width: 100%; border-radius: 12px; object-fit: cover; border: 1px solid #e7eef7; }
.service-detail-content h1 { color: var(--heading-color); font-size: 2rem; margin-bottom: 10px; }
.service-detail-content .lead { font-size: 1.05rem; margin: 10px 0 20px; }
.service-detail-body { background: #fff; }
.service-detail-body .feature-list { margin: 10px 0 0 18px; }
.service-detail-body .feature-list li { margin-bottom: 6px; }

/* Responsive */
@media (max-width: 992px) {
    .about-section .about-grid, .contact-section .contact-grid, .service-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; background-color: #ffffff; position: absolute; top: 60px; right: 20px; border: 1px solid #e0e0e0; border-radius: 8px; padding: 10px; }
    .mobile-menu-toggle { display: block; }
}
