/*
Theme Name: Bolge Tesisat
Theme URI: https://bolgetesisat.com
Author: Bolge Tesisat
Author URI: https://bolgetesisat.com
Description: Su kacagi tespiti ve tesisat hizmetleri icin profesyonel WordPress temasi.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: bolge-tesisat
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #1e293b; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* Header */
.site-header { background: linear-gradient(135deg, #0f172a, #1e3a5f); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; color: white; }
.logo-icon { width: 48px; height: 48px; background: #2563eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.logo-text h1 { font-size: 18px; font-weight: 700; margin: 0; }
.logo-text span { font-size: 11px; color: #93c5fd; display: block; }

/* Navigation Menu */
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-menu .menu-item { margin: 0; }
.nav-menu .menu-link { color: white; padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; transition: all 0.3s; }
.nav-menu .menu-link:hover { background: rgba(255,255,255,0.1); }

.header-cta { display: flex; align-items: center; gap: 8px; background: #2563eb; color: white; padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.header-cta:hover { background: #1d4ed8; }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 28px; cursor: pointer; padding: 8px; }
.mobile-menu { display: none; background: #1e293b; padding: 20px; }
.mobile-menu.active { display: block; }
.mobile-nav-menu { list-style: none; margin: 0; padding: 0; }
.mobile-nav-menu li { margin-bottom: 10px; }
.mobile-nav-menu a { color: white; display: block; padding: 12px; border-radius: 8px; }
.mobile-nav-menu a:hover { background: rgba(255,255,255,0.1); }
.mobile-cta { display: block; background: #2563eb; color: white; text-align: center; padding: 14px; border-radius: 10px; margin-top: 16px; font-weight: 600; }

@media (max-width: 900px) {
    .main-nav { display: none; }
    .header-cta .cta-text { display: none; }
    .mobile-menu-btn { display: block; }
}

/* Hero */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%); padding: 60px 20px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero-content { text-align: left; }
.hero-badge { display: inline-block; background: #eab308; color: #000; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 20px; }
.hero h2 { font-size: 42px; color: white; line-height: 1.1; margin-bottom: 20px; }
.hero h2 span { color: #60a5fa; }
.hero-desc { font-size: 18px; color: #cbd5e1; margin-bottom: 30px; }
.hero-desc strong { color: white; }

.guarantee-box { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.guarantee-icon { font-size: 36px; }
.guarantee-text p { color: white; font-weight: 700; margin: 0; }
.guarantee-text span { color: #4ade80; font-size: 14px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.stat { text-align: center; }
.stat-num { font-size: 32px; font-weight: 700; color: white; }
.stat-label { font-size: 12px; color: #94a3b8; }

/* Chat Widget */
.widget-container { max-width: 450px; margin: 0 auto; }
.chat-widget { background: white; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); overflow: hidden; border: 1px solid #e5e7eb; }
.chat-header { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white; padding: 14px 16px; }
.chat-header-inner { display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 44px; height: 44px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.chat-title { font-weight: 700; font-size: 16px; }
.chat-status { font-size: 12px; opacity: 0.9; }
.chat-messages { height: 260px; overflow-y: auto; padding: 12px; background: linear-gradient(180deg, #f8fafc, #fff); }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.4; margin-bottom: 8px; }
.chat-msg-bot { background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border: 1px solid #f1f5f9; border-bottom-left-radius: 6px; }
.chat-msg-user { background: #2563eb; color: white; margin-left: auto; border-bottom-right-radius: 6px; }
.chat-options { border-top: 1px solid #e5e7eb; background: #f9fafb; padding: 12px; }
.chat-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: white; cursor: pointer; text-align: left; margin-bottom: 6px; }
.chat-btn:hover { background: #eff6ff; border-color: #3b82f6; }
.chat-cta { display: block; width: 100%; background: #2563eb; color: white !important; padding: 14px; border-radius: 10px; font-weight: 600; text-align: center; font-size: 16px; border: none; cursor: pointer; }
.chat-cta:hover { background: #1d4ed8; }

/* Sections */
.section { padding: 60px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 32px; text-align: center; margin-bottom: 16px; }
.section-desc { text-align: center; color: #64748b; max-width: 600px; margin: 0 auto 40px; }
.bg-gray { background: #f1f5f9; }

/* Features & Services Grid */
.features-grid, .services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .features-grid, .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .features-grid, .services-grid { grid-template-columns: 1fr; } }

.feature-card, .service-card { background: white; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; transition: all 0.3s; }
.feature-card:hover, .service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.feature-icon, .service-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 16px; color: white; }
.feature-icon.blue, .service-icon.blue { background: #2563eb; }
.feature-icon.green, .service-icon.green { background: #16a34a; }
.feature-icon.orange, .service-icon.orange { background: #ea580c; }
.feature-icon.purple { background: #9333ea; }
.service-icon.red { background: #dc2626; }
.feature-card h4, .service-card h4 { font-size: 18px; margin-bottom: 8px; }
.feature-card p, .service-card p { font-size: 14px; color: #64748b; margin: 0; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card { background: white; border-radius: 16px; padding: 24px; }
.stars { color: #eab308; font-size: 16px; margin-bottom: 12px; }
.testimonial-text { color: #475569; margin-bottom: 16px; font-size: 15px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.author-avatar.blue { background: #dbeafe; }
.author-avatar.green { background: #dcfce7; }
.author-avatar.orange { background: #ffedd5; }
.author-name { font-weight: 600; font-size: 14px; }
.author-location { font-size: 12px; color: #94a3b8; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, #2563eb, #1d4ed8); padding: 60px 20px; text-align: center; }
.cta-section h3 { font-size: 32px; color: white; margin-bottom: 12px; }
.cta-section p { color: #bfdbfe; margin-bottom: 24px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white, .btn-primary { background: white; color: #2563eb; padding: 14px 28px; border-radius: 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.btn-white:hover, .btn-primary:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.btn-outline { background: transparent; color: white; border: 2px solid white; padding: 12px 28px; border-radius: 10px; font-weight: 600; }
.btn-outline:hover { background: white; color: #2563eb; }

/* Footer */
.site-footer { background: #0f172a; color: white; padding: 48px 20px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 16px; margin-bottom: 16px; color: white; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; color: #94a3b8; font-size: 14px; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: white; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo span { font-size: 32px; }
.footer-logo strong { font-size: 18px; }
.footer-logo small { color: #64748b; font-size: 12px; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 8px; }
.footer-menu a { color: #94a3b8; font-size: 14px; }
.footer-menu a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid #1e293b; text-align: center; color: #64748b; font-size: 14px; }

/* Floating Button */
.floating-call { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background: #2563eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; box-shadow: 0 4px 20px rgba(37,99,235,0.4); z-index: 1000; }
.floating-call:hover { transform: scale(1.1); background: #1d4ed8; }
@media (min-width: 1024px) { .floating-call { display: none; } }

/* Page Content */
.page-content { padding: 60px 20px; background: #f8fafc; min-height: 60vh; }
.page-inner { max-width: 900px; margin: 0 auto; }
.page-title { font-size: 36px; margin-bottom: 24px; color: #1e293b; }
.page-body { background: white; padding: 32px; border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.page-body p { margin-bottom: 16px; color: #475569; }
.page-body h2, .page-body h3 { margin: 24px 0 12px; color: #1e293b; }
.page-body ul, .page-body ol { margin: 16px 0; padding-left: 24px; }
.page-body li { margin-bottom: 8px; color: #475569; }

/* Posts */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.post-card-image img { width: 100%; height: 200px; object-fit: cover; }
.post-card-content { padding: 20px; }
.post-card h2 { font-size: 18px; margin-bottom: 8px; }
.post-card h2 a { color: #1e293b; }
.post-card h2 a:hover { color: #2563eb; }
.post-card p { color: #64748b; font-size: 14px; margin-bottom: 12px; }
.read-more { color: #2563eb; font-weight: 600; font-size: 14px; }
.post-title { font-size: 36px; margin-bottom: 16px; }
.post-meta { color: #64748b; margin-bottom: 24px; font-size: 14px; }
.post-thumbnail { margin-bottom: 24px; border-radius: 12px; overflow: hidden; }
.post-body { background: white; padding: 32px; border-radius: 16px; }
