/*
Theme Name: Ooprotema
Theme URI: https://example.com/
Author: Ooprotema
Description: Kurumsal baca temizligi ve yangin guvenligi temasi.
Version: 2.5
Text Domain: ooprotema
*/

:root {
    --primary-color: #0b2e59;
    --secondary-color: #0066cc;
    --accent-color: #ff6b00;
    --text-color: #444444;
    --bg-light: #f4f7f6;
}

body { font-family: 'Poppins', sans-serif; color: var(--text-color); line-height: 1.6; background-color: var(--bg-light); }
.topbar { background-color: #051b36; color: #e0e0e0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.topbar a { color: #e0e0e0; text-decoration: none; transition: 0.3s; }
.topbar a:hover { color: var(--accent-color); }
.topbar-social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: rgba(255,255,255,0.1); border-radius: 50%; margin-left: 8px; transition: all 0.3s; }
.topbar-social a:hover { background: var(--accent-color); color: #fff; transform: translateY(-2px); }

.navbar { background: #ffffff; box-shadow: 0 4px 20px rgba(0,0,0,0.06); padding: 15px 0; border-bottom: 2px solid var(--accent-color); }
.navbar-brand { font-weight: 800; font-size: 2rem; color: var(--primary-color) !important; letter-spacing: -0.5px; }
.navbar-nav .nav-item { margin-left: 15px; margin-right: 15px; }
.nav-link { font-weight: 600; color: var(--primary-color) !important; text-transform: uppercase; font-size: 0.95rem; padding: 10px 0 !important; position: relative; transition: 0.3s; text-decoration: none !important; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent-color); transform: scaleX(0); transition: transform 0.3s ease; }
.nav-link:hover::after, .nav-item.active .nav-link::after, .current-menu-item > a::after { transform: scaleX(1); }
.nav-link:hover, .current-menu-item > a { color: var(--secondary-color) !important; }

/* Orijinal, Sola Dayalı Kibar Hero Stilleri */
.hero-slide { height: 80vh; min-height: 600px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: flex-start; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(11, 46, 89, 0.75); }
.hero-content { position: relative; z-index: 2; color: #fff; width: 100%; text-align: left; }
.hero-badge-custom { background-color: #ffc107; color: #000; font-weight: 600; padding: 6px 16px; font-size: 0.9rem; border-radius: 50px; margin-bottom: 15px; display: inline-block; }
.hero-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.2rem; font-weight: 400; line-height: 1.6; max-width: 800px; margin-bottom: 40px; text-shadow: 1px 2px 10px rgba(0,0,0,0.3); }

.btn-custom { background-color: var(--accent-color); color: #fff; border-radius: 6px; padding: 14px 32px; font-weight: 700; text-transform: uppercase; transition: all 0.3s ease; border: none; box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3); }
.btn-custom:hover { background-color: #e65c00; color: #fff; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4); }
.btn-outline-custom { border: 2px solid #fff; color: #fff; border-radius: 6px; padding: 12px 30px; font-weight: 700; text-transform: uppercase; transition: all 0.3s ease; }
.btn-outline-custom:hover { background-color: #fff; color: var(--primary-color); }

.service-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.4s ease; height: 100%; display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.05); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.service-img-wrapper { height: 240px; width: 100%; overflow: hidden; }
.service-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-img { transform: scale(1.08); }
.service-content { padding: 30px 25px; flex-grow: 1; display: flex; flex-direction: column; text-align: center; }
.service-title { font-weight: 700; color: var(--primary-color); margin-bottom: 15px; font-size: 1.3rem; }
.service-excerpt { color: var(--text-color); margin-bottom: 20px; flex-grow: 1; }

.service-sidebar .widget-title { background: var(--primary-color); color: #fff; padding: 15px 20px; margin: 0; font-size: 1.1rem; border-radius: 5px 5px 0 0; }
.service-menu { list-style: none; padding: 0; margin: 0; border: 1px solid #ddd; background: #fff; border-top: none; border-radius: 0 0 5px 5px; }
.service-menu li { border-bottom: 1px solid #ddd; }
.service-menu a { display: block; padding: 12px 20px; color: var(--text-color); text-decoration: none; transition: 0.3s; font-weight: 500; }
.service-menu a:hover, .service-menu .active a { background: var(--bg-light); color: var(--secondary-color); padding-left: 25px; }

.accordion-button { font-weight: 600; color: var(--primary-color); padding: 1.25rem; }
.accordion-button:not(.collapsed) { background-color: rgba(0, 102, 204, 0.05); color: var(--secondary-color); box-shadow: inset 0 -1px 0 rgba(0,0,0,.125); }
.accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,.125); }
.accordion-item { border: 1px solid rgba(0,0,0,0.08); border-radius: 8px !important; margin-bottom: 15px; overflow: hidden; }
.accordion-body { padding: 1.25rem; line-height: 1.8; }

.brand-logo-box { padding: 30px 15px; background: #fff; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: 0.3s; border: 1px solid rgba(0,0,0,0.04); height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.brand-logo-box:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: var(--secondary-color); }
.brand-logo-box i { color: var(--primary-color); opacity: 0.6; transition: 0.3s; }
.brand-logo-box:hover i { opacity: 1; color: var(--accent-color); }
.brand-logo-box h6 { margin-top: 15px; margin-bottom: 0; font-weight: 700; color: var(--text-color); }

.footer { background-color: #0b1a2a; color: #a0aec0; padding: 70px 0 30px 0; font-size: 0.95rem; }
.footer-title { color: #ffffff; font-weight: 700; margin-bottom: 25px; font-size: 1.1rem; letter-spacing: 0.5px; }
.footer-logo-box { display: flex; align-items: center; margin-bottom: 20px; }
.footer-logo-icon { background-color: #20c997; color: white; width: 45px; height: 45px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-right: 15px; }
.footer-brand h4 { color: white; font-weight: 700; margin: 0; font-size: 1.2rem; }
.footer-brand span { font-size: 0.75rem; color: #a0aec0; letter-spacing: 1px; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #a0aec0; text-decoration: none; transition: all 0.3s ease; }
.footer-links a:hover { color: #ffffff; padding-left: 5px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { margin-bottom: 15px; color: #a0aec0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 25px; font-size: 0.85rem; }

.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: #fff; width: 60px; height: 60px; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 9999; display: flex !important; align-items: center; justify-content: center; transition: 0.3s; }
.whatsapp-float:hover { background: #1ebe57; color: #fff; transform: scale(1.1); }

.phone-float { position: fixed; bottom: 30px; left: 30px; background: #0b2e59; color: #fff; width: 60px; height: 60px; border-radius: 50px; text-align: center; font-size: 26px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 9999; display: flex !important; align-items: center; justify-content: center; transition: 0.3s; }
.phone-float:hover { background: #ff6b00; color: #fff; transform: scale(1.1); }

.page-header { background: var(--primary-color); padding: 80px 0 40px; color: white; text-align: center; }

/* MOBİL İÇİN YAZI TİPİ VE BOYUT OPTİMİZASYONLARI (KİBAR VERSİYON) */
@media (max-width: 768px) {
    body { font-size: 0.95rem; }
    .navbar-brand { font-size: 1.5rem !important; }
    .hero-slide { min-height: 500px; height: 70vh; padding: 60px 0; }
    .hero-title { font-size: 2.2rem !important; margin-bottom: 15px; line-height: 1.3; text-align: left; }
    .hero-subtitle { font-size: 1.05rem !important; margin-bottom: 30px !important; text-align: left; }
    .hero-content { text-align: left !important; }
    .badge.bg-warning { font-size: 0.85rem !important; padding: 6px 14px !important; }
    .whatsapp-float, .phone-float { width: 50px !important; height: 50px !important; font-size: 24px !important; bottom: 20px !important; display: flex !important; z-index: 9999 !important; }
    .whatsapp-float { right: 20px !important; }
    .phone-float { left: 20px !important; }
}

.contact-section-title { color: #20c997; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; margin-bottom: 15px; }
.contact-section-title::before { content: ''; display: inline-block; width: 30px; height: 2px; background-color: #20c997; margin-right: 10px; }
.contact-main-heading { font-weight: 800; color: #0b2e59; font-size: 3rem; margin-bottom: 20px; letter-spacing: -1px; }
.contact-info-panel { background-color: #0b1a2a; color: white; border-radius: 15px; padding: 40px; height: 100%; }
.contact-info-panel h3 { font-weight: 700; margin-bottom: 20px; }
.contact-info-item { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.contact-info-item:first-of-type { margin-top: 30px; }
.contact-info-label { font-size: 0.85rem; color: #a0aec0; margin-bottom: 5px; }
.contact-info-value { font-size: 1.1rem; color: white; }
.form-control, .form-select { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 15px; color: #4a5568; }
.form-control:focus, .form-select:focus { border-color: #20c997; box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.25); }
.btn-submit { background-color: #20c997; color: white; font-weight: 700; padding: 15px 30px; border-radius: 8px; border: none; transition: all 0.3s; }
.btn-submit:hover { background-color: #1ba87e; color: white; transform: translateY(-2px); }
