/* ===== TEMEL AYARLAR & DEĞİŞKENLER ===== */
:root {
    --primary: #d63031; /* Koyu Kırmızı */
    --secondary: #2d3436; /* Antrasit */
    --light: #f5f6fa;
    --dark: #1e272e;
    --text: #636e72;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
h1 { color:#FFF; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

.container { width: 90%; max-width: 1200px; margin: auto; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* ===== TOP BAR ===== */
.top-bar { background: var(--secondary); color: #ccc; padding: 10px 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-bar i { color: var(--primary); margin-right: 5px; }
.social-mini a > i { color: #ccc; margin-left: 15px; }
.social-mini a:hover > i { color: var(--primary); }

/* ===== NAVBAR ===== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: 0.4s;
    padding: 15px 0;
}

.navbar.scrolled { padding: 10px 0; background: rgba(255, 255, 255, 0.98); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }

.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; flex-direction: column; line-height: 1; color: var(--secondary); font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; }
.logo span { color: var(--primary); }
.logo small { font-size: 0.6rem; letter-spacing: 3px; color: #888; margin-top: 3px; }

.desktop-menu { display: flex; gap: 30px; align-items: center; }
.desktop-menu a { color: var(--secondary); font-weight: 600; font-size: 0.95rem; }
.desktop-menu a:hover { color: var(--primary); }

.btn-nav {
    padding: 10px 25px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 4px;
}
.btn-nav:hover { background: #b71c1c; }

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1558030006-450675393462?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}
.btn-review { font-size: 0.85rem; padding: 12px 25px; }
.btn-review:hover { color: var(--primary)!important; border-color: var(--primary)!important; }

.hero h1 { font-size: 4rem; margin-bottom: 15px; text-shadow: 2px 2px 10px rgba(255,255,255,0.1); }
.hero p { font-size: 1.3rem; margin-bottom: 30px; font-weight: 300; opacity: 0.9; }

.btn { display: inline-block; padding: 15px 40px; background: var(--primary); color: #fff; font-weight: bold; border-radius: 5px; border: 2px solid var(--primary); }
.btn:hover { background: transparent; color: #fff; }
.btn-outline { background: transparent; border: 2px solid #fff; margin-left: 15px; }
.btn-outline:hover { background: #fff; color: var(--secondary); }

/* ===== SECTION GENEL ===== */
.section-padding { padding: 100px 0; }
.bg-light { background: var(--light); }
.text-center { text-align: center; }

.section-header { margin-bottom: 60px; text-align: center; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; position: relative; display: inline-block; }
.section-header h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary); margin: 10px auto 0; }
.section-header p { max-width: 600px; margin: auto; color: #777; }

/* ===== KARTLAR (ÖZELLİKLER) ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card {
    background: #fff; padding: 40px; text-align: center;
    border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease; position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-10px); }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); transform: scaleX(0); transition: 0.4s; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.feature-card-link { text-decoration: none; display: block; color: inherit; transition: 0.3s; }
.feature-card-link:hover { text-decoration: none; color: inherit; }
.feature-card { height: 100%; }

/* ===== RESİMLİ BÖLÜM (HAKKIMIZDA KISA) ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img img { width: 100%; height: 100%; border-radius: 10px; box-shadow: 20px 20px 0 var(--light); }
.check-list li { margin-bottom: 10px; font-size: 1.1rem; }
.check-list i { color: var(--primary); margin-right: 10px; }

/* ===== SAYFA BAŞLIKLARI (PAGE HEADER) ===== */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1615937657715-bc7b4b7962c1?auto=format&fit=crop&w=1920');
    background-size: cover; background-position: center;
    padding: 120px 0 60px; text-align: center; color: #fff;
}
.page-header h1 { font-size: 3rem; }

/* ===== KURUMSAL BELGE GALERİSİ ===== */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 40px; }
.cert-item { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: transform 0.3s ease; border: 1px solid #eee; }
.cert-item:hover { transform: translateY(-10px); }
.cert-img-link { position: relative; display: block; height: 400px; overflow: hidden; background: #f9f9f9; }
.cert-img-link img { width: 100%; height: 100%; object-fit: contain; padding: 15px; transition: 0.5s ease; }
.overlay-icon { position: absolute; inset: 0; background: rgba(214, 48, 49, 0.8); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.5rem; opacity: 0; transition: 0.3s ease; }
.cert-img-link:hover .overlay-icon { opacity: 1; }
.cert-img-link:hover img { transform: scale(1.05); }
.cert-info { padding: 25px; text-align: center; border-top: 1px solid #eee; }
.cert-info h3 { margin-bottom: 10px; font-size: 1.25rem; color: var(--secondary); }
.cert-info p { font-size: 0.9rem; color: #777; margin: 0; }
@media (max-width: 600px) { .cert-img-link { height: 300px; } }


/* ===== İLETİŞİM & FORM ===== */
.contact-wrapper { background: #fff; padding: 50px; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); margin-top: -80px; position: relative; z-index: 10; }
.contact-info-box h3 { margin-bottom: 10px; font-size: 1.8rem; text-align: center; }
.contact-info-box > p { text-align: center; margin-bottom: 40px; }
.info-container { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.info-row { flex: 1; min-width: 250px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 25px; background: var(--light); border-radius: 10px; transition: 0.3s; }
.info-row:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.info-row i { width: 60px; height: 60px; background: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.5rem; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.info-row h4 { margin-bottom: 10px; font-size: 1.1rem; color: var(--secondary); }
.info-row p, .info-row a { font-size: 0.95rem; color: #666; margin: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: #fff; padding: 70px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer h4 { color: #fff; margin-bottom: 25px; }
.footer p { color: #aaa; margin-bottom: 20px; }
.footer-links a { display: block; color: #aaa; margin-bottom: 10px; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; color: #666; font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
.mobile-menu-btn { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-menu-btn span { width: 30px; height: 3px; background: var(--secondary); display: block; transition: 0.3s; }

.side-menu {
    position: fixed; top: 0; right: -300px; width: 300px; height: 100%;
    background: #fff; padding: 30px; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s; z-index: 1001; display: flex; flex-direction: column; gap: 20px;
}
.side-menu.active { right: 0; }
.side-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.side-menu a { font-size: 1.2rem; color: var(--secondary); border-bottom: 1px solid #eee; padding-bottom: 15px; }
.side-menu a i { width: 30px; color: var(--primary); }
#close-menu { background: transparent; border: none; color: var(--secondary); font-size: 1.5rem; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s ease; } #close-menu:hover { background-color: var(--light); color: var(--primary); transform: rotate(90deg); /* Kapatırken şık bir dönme efekti */ }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1000; }
.overlay.active { opacity: 1; visibility: visible; }

/* Animasyon Class */
.fade-in { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .desktop-menu { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 30px; }
    .about-grid, .footer-grid { grid-template-columns: 1fr; }
    .top-bar .flex-between { flex-direction: column; gap: 5px; }
}

.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.modal.active { display: flex; opacity: 1; }
.modal-content { max-width: 90%; max-height: 85vh; border-radius: 10px; box-shadow: 0 0 20px rgba(255,255,255,0.2); transform: scale(0.7); transition: transform 0.3s ease; }
.modal.active .modal-content { transform: scale(1); }
.modal-close { position: absolute; top: 30px; right: 35px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.modal-close:hover { color: var(--primary); transform: rotate(90deg); }