/* ============================================================
   TOBE DEMİR ÇELİK - Ana Stil Dosyası
   Renk Paleti: Koyu Gri, Siyah, Turuncu (Endüstriyel Tema)
   ============================================================ */

/* ---------- CSS DEĞİŞKENLERİ ---------- */
:root {
    --primary:     #e07b00;
    --primary-dark:#b86200;
    --dark:        #1a1a1a;
    --dark-2:      #2c2c2c;
    --dark-3:      #3d3d3d;
    --light:       #f5f5f5;
    --light-2:     #ebebeb;
    --white:       #ffffff;
    --text:        #333333;
    --text-light:  #666666;
    --border:      #ddd;
    --success:     #28a745;
    --error:       #dc3545;
    --font-main:   'Roboto', sans-serif;
    --font-head:   'Oswald', sans-serif;
    --radius:      6px;
    --shadow:      0 4px 20px rgba(0,0,0,0.12);
    --transition:  all 0.3s ease;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- YARDIMCI SINIFLAR ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-dark { background: var(--dark); }
.bg-light { background: var(--light); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 14px;
}
.section-title.white { color: var(--white); }
.section-desc { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-desc.white { color: #ccc; }

/* ---------- BUTONLAR ---------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224,123,0,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-full { width: 100%; text-align: center; }

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(26,26,26,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--primary);
    padding: 0;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}
.logo-icon { font-size: 1.8rem; color: var(--primary); }
.logo-text {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
}
.logo-sub { color: var(--primary); font-size: 0.75rem; display: block; letter-spacing: 2px; }

.nav-menu { display: flex; gap: 8px; align-items: center; }
.nav-link {
    color: #ccc;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(224,123,0,0.04) 40px,
            rgba(224,123,0,0.04) 41px
        );
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(224,123,0,0.08) 0%, transparent 70%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
    max-width: 700px;
}
.hero-badge {
    display: inline-block;
    background: rgba(224,123,0,0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title .highlight { color: var(--primary); }
.hero-desc { color: #bbb; font-size: 1.1rem; margin-bottom: 35px; max-width: 560px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- STATS BAR ---------- */
.stats-bar {
    background: var(--primary);
    padding: 30px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item { padding: 10px; }
.stat-number {
    display: block;
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.stat-label {
    display: block;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

/* ---------- HİZMETLER ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--primary);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { width: 100%; }
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}
.service-card p { color: var(--text-light); font-size: 14px; line-height: 1.6; }

/* ---------- NEDEN BİZ ---------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.why-content .section-tag { display: inline-block; }
.why-content .section-title { margin-top: 10px; }
.why-list { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.why-list li { color: #ccc; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.check { color: var(--primary); font-weight: 700; font-size: 1.1rem; }
.why-image-placeholder {
    background: var(--dark-2);
    border: 2px dashed var(--dark-3);
    border-radius: var(--radius);
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #888;
    text-align: center;
}
.big-icon { font-size: 5rem; }

/* ---------- CTA ---------- */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.cta-content { text-align: center; }
.cta-content h2 {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 12px;
}
.cta-content p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }
.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.cta .btn-primary:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--dark);
    padding: 60px 0 0;
    border-top: 3px solid var(--primary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-logo {
    font-family: var(--font-head);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 12px;
}
.footer-logo span { color: var(--primary); }
.footer-col p { color: #888; font-size: 14px; line-height: 1.7; margin-bottom: 6px; }
.footer-col h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #888; font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom {
    border-top: 1px solid var(--dark-3);
    padding: 18px 20px;
    text-align: center;
}
.footer-bottom p { color: #555; font-size: 13px; }

/* ---------- SAYFA HERO (İç Sayfalar) ---------- */
.page-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg, transparent, transparent 40px,
        rgba(224,123,0,0.04) 40px, rgba(224,123,0,0.04) 41px
    );
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at left, rgba(224,123,0,0.1) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content h1 {
    font-family: var(--font-head);
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 12px;
}
.breadcrumb { display: flex; gap: 8px; align-items: center; color: #888; font-size: 14px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- HAKKIMIZDA SAYFASI ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.about-image-box { position: relative; }
.about-img-placeholder {
    background: var(--light);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #aaa;
    text-align: center;
}
.about-badge-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}
.badge-year { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 700; }
.badge-text { font-size: 12px; opacity: 0.9; }
.about-text p { color: var(--text-light); margin-bottom: 16px; }
.about-stats {
    display: flex;
    gap: 30px;
    margin: 24px 0;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}
.astat { text-align: center; }
.astat strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--primary); }
.astat span { font-size: 12px; color: var(--text-light); }

/* VİZYON & MİSYON */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.vm-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}
.vm-icon { font-size: 2.5rem; margin-bottom: 16px; }
.vm-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 12px;
}
.vm-card p { color: var(--text-light); font-size: 14px; line-height: 1.7; }
.values-list { color: var(--text-light); font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.values-list li::before { content: '▸ '; color: var(--primary); font-weight: 700; }

/* EKİP */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-avatar { font-size: 3.5rem; margin-bottom: 16px; }
.team-card h4 { font-family: var(--font-head); font-size: 1.1rem; color: var(--dark); margin-bottom: 4px; }
.team-role {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}
.team-card p { color: var(--text-light); font-size: 13px; }

/* SERTİFİKALAR */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.cert-item {
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}
.cert-item:hover { border-color: var(--primary); transform: translateY(-4px); }
.cert-icon { font-size: 2.5rem; margin-bottom: 12px; }
.cert-item h4 { color: var(--white); font-family: var(--font-head); margin-bottom: 6px; }
.cert-item p { color: #888; font-size: 13px; }

/* ---------- İLETİŞİM SAYFASI ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.contact-info .section-title { margin-top: 10px; }
.contact-info > p { color: var(--text-light); margin-bottom: 28px; }
.info-cards { display: flex; flex-direction: column; gap: 16px; }
.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    background: var(--light);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}
.info-icon { font-size: 1.6rem; flex-shrink: 0; }
.info-card h4 { font-weight: 700; color: var(--dark); margin-bottom: 4px; font-size: 14px; }
.info-card p { color: var(--text-light); font-size: 14px; line-height: 1.5; }

/* FORM */
.contact-form-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.contact-form-box h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--dark); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(224,123,0,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: var(--error); font-size: 12px; }

/* HARİTA */
.map-section { height: 300px; background: var(--dark-2); position: relative; overflow: hidden; }
.map-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: repeating-linear-gradient(
        45deg, var(--dark-2), var(--dark-2) 10px,
        var(--dark-3) 10px, var(--dark-3) 20px
    );
}
.map-overlay-text {
    background: rgba(26,26,26,0.9);
    border: 1px solid var(--primary);
    padding: 20px 32px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--white);
}
.map-overlay-text span { display: block; font-weight: 600; margin-bottom: 6px; }
.map-overlay-text small { color: #888; font-size: 12px; }

/* ---------- ALERT / MESAJLAR ---------- */
.messages-container { padding: 20px 20px 0; }
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-weight: 500;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error, .alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ---------- RESPONSİVE ---------- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .vm-grid { grid-template-columns: 1fr; }
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
    .section-title { font-size: 1.8rem; }

    /* Navbar mobil */
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; left: 0; right: 0;
        background: var(--dark);
        padding: 20px;
        gap: 4px;
        border-top: 1px solid var(--dark-3);
    }
    .nav-menu.open { display: flex; }
    .nav-link { display: block; padding: 12px 16px; }

    /* Hero */
    .hero-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    /* Hizmetler */
    .services-grid { grid-template-columns: 1fr; }

    /* Neden biz */
    .why-grid { grid-template-columns: 1fr; gap: 30px; }
    .why-image { display: none; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    /* Hakkımızda */
    .about-grid { grid-template-columns: 1fr; }
    .about-badge-box { display: none; }
    .team-grid { grid-template-columns: 1fr; }
    .certs-grid { grid-template-columns: 1fr 1fr; }

    /* İletişim */
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-box { padding: 24px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .certs-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: column; gap: 16px; }
}
