/* ============================================
   Construction CMS - Frontend CSS
   ============================================ */

:root {
  --primary: #e8a020;
  --primary-dark: #c8891a;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --text: #444;
  --light-bg: #f8f9fa;
  --border: #e0e0e0;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 0px;
  --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: 'Poppins', sans-serif; color: var(--text); line-height: 1.7; font-size: 15px; overflow-x: hidden; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; }

.py-80 { padding: 80px 0; }

/* Section Header */
.section-header { margin-bottom: 3rem; }
.section-tag { display: inline-block; color: var(--primary); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; color: var(--dark); line-height: 1.3; }

/* Top Bar */
.top-bar { background: var(--dark); color: #ccc; font-size: 13px; padding: 8px 0; }
.top-bar-left a, .top-bar-left span { margin-right: 20px; color: #ccc; }
.top-bar-left a:hover { color: var(--primary); }
.top-bar-right a { color: #ccc; margin-left: 15px; }
.top-bar-right a:hover { color: var(--primary); }
.top-bar i { margin-right: 5px; color: var(--primary); }

/* Language Switcher */
.lang-switcher { display: inline-block; margin-left: 15px; }
.lang-switcher .dropdown-toggle { color: #ccc; cursor: pointer; }
.lang-switcher .dropdown-toggle::after { border-top-color: #ccc; }
.lang-switcher .dropdown-menu { min-width: 130px; border: 0; box-shadow: 0 5px 20px rgba(0,0,0,0.15); border-radius: 0; }
.lang-switcher .dropdown-item:hover { background: var(--primary); color: #fff; }

.lang-switcher { 
  display: inline-block; 
  margin-left: 15px; 
  position: relative; /* önemli */
}

.lang-switcher .dropdown-menu { 
  min-width: 130px; 
  border: 0; 
  box-shadow: 0 5px 20px rgba(0,0,0,0.15); 
  border-radius: 0; 
  z-index: 9999; /* ekle */
}

/* Navbar */
.main-nav { background: var(--white) !important; box-shadow: 0 2px 20px rgba(0,0,0,0.1); padding: 12px 0; z-index: 1000; }
.navbar-brand .logo-text { font-size: 1.4rem; font-weight: 800; color: var(--dark); }
.navbar-brand .logo-text span { color: var(--primary); }
.site-logo { max-height: 55px; }
.main-nav .nav-link { color: var(--dark) !important; font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 15px !important; position: relative; }
.main-nav .nav-link::after { content: ''; position: absolute; bottom: 0; left: 15px; right: 15px; height: 2px; background: var(--primary); transform: scaleX(0); transition: var(--transition); }
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .dropdown-menu { border: 0; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-radius: 0; border-top: 3px solid var(--primary); min-width: 220px; }
.main-nav .dropdown-item { font-size: 14px; padding: 10px 20px; transition: var(--transition); }
.main-nav .dropdown-item:hover { background: var(--primary); color: #fff; padding-left: 20px; }
.btn-primary { background: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; font-weight: 600; }
.btn-primary:hover { background: var(--primary-dark) !important; border-color: var(--primary-dark) !important; }
.btn-outline-primary { border-color: var(--primary) !important; color: var(--primary) !important; }
.btn-outline-primary:hover { background: var(--primary) !important; color: #fff !important; }

/* Hero Slider */
.hero-slider { position: relative; height: 100vh; min-height: 600px; }
.hero-swiper { width: 100%; height: 100%; }
.swiper-slide { position: relative; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 6s ease; }
.swiper-slide-active .slide-bg { transform: scale(1.05); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,46,0.8) 0%, rgba(26,26,46,0.4) 100%); }
.slide-content { position: relative; z-index: 2; padding: 0; color: #fff; max-width: 650px; margin-top: 15vh; }
.slide-number { font-size: 4rem; font-weight: 800; color: var(--primary); opacity: 0.4; line-height: 1; margin-bottom: 15px; }
.slide-content h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.slide-content p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
.btn-slide { border: 2px solid #fff; color: #fff; padding: 12px 35px; font-weight: 600; letter-spacing: 1px; border-radius: 0; text-transform: uppercase; font-size: 13px; transition: var(--transition); }
.btn-slide:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.slide-counter { position: absolute; bottom: 50px; right: 60px; color: #fff; z-index: 2; font-size: 1.4rem; font-weight: 700; }
.slide-counter .current { color: var(--primary); font-size: 2rem; }
.slide-counter .separator { margin: 0 8px; opacity: 0.5; }
.hero-swiper .swiper-button-prev, .hero-swiper .swiper-button-next { color: #fff; background: rgba(255,255,255,0.15); width: 50px; height: 50px; border-radius: 0; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.hero-swiper .swiper-button-prev::after, .hero-swiper .swiper-button-next::after { display: none; }
.hero-swiper .swiper-button-prev:hover, .hero-swiper .swiper-button-next:hover { background: var(--primary); }
.hero-swiper .swiper-button-prev i, .hero-swiper .swiper-button-next i { font-size: 1.3rem; }
.hero-pagination { bottom: 30px !important; }
.hero-pagination .swiper-pagination-bullet { background: #fff; opacity: 0.5; width: 8px; height: 8px; }
.hero-pagination .swiper-pagination-bullet-active { background: var(--primary); opacity: 1; width: 25px; border-radius: 4px; }

/* Stats Bar */
.stats-bar { background: var(--primary); color: #fff; }
.stat-item { padding: 25px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: 0; }
.stat-number { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; }
.stat-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; opacity: 0.85; }

/* Service Cards */
.service-card { display: block; background: #fff; padding: 35px 30px; border: 1px solid var(--border); border-top: 4px solid transparent; transition: var(--transition); color: var(--text); }
.service-card:hover { border-top-color: var(--primary); box-shadow: 0 10px 40px rgba(0,0,0,0.1); transform: translateY(-5px); color: var(--text); }
.service-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border-radius: 0; }
.service-icon i { font-size: 1.8rem; color: #fff; }
.service-card h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.service-card p { color: #666; font-size: 14px; line-height: 1.7; }
.service-more { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; font-size: 13px; margin-top: 15px; }
.service-img { width: 100%; height: 180px; object-fit: cover; margin-bottom: 20px; border-radius: 0; }

/* About Section */
.about-image-grid { position: relative; }
.about-image-grid .img-main img { width: 100%; height: 450px; object-fit: cover; }
.about-image-grid .img-secondary { position: absolute; bottom: -30px; right: -20px; width: 50%; border: 5px solid #fff; box-shadow: var(--shadow); }
.about-image-grid .img-secondary img { height: 200px; object-fit: cover; width: 100%; }
.experience-badge { position: absolute; top: 30px; left: -20px; background: var(--primary); color: #fff; padding: 20px; text-align: center; min-width: 100px; }
.experience-badge .num { display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.experience-badge .text { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feat-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }

/* Project Cards */
.project-card { display: block; color: var(--text); overflow: hidden; background: #fff; border: 1px solid var(--border); transition: var(--transition); }
.project-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.12); transform: translateY(-5px); color: var(--text); }
.project-img { position: relative; overflow: hidden; height: 250px; background: var(--dark); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--dark), var(--dark2)); }
.project-card:hover .project-img img { transform: scale(1.08); }
.project-overlay { position: absolute; inset: 0; background: rgba(232,160,32,0.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.project-card:hover .project-overlay { opacity: 1; }
.view-btn { width: 60px; height: 60px; border: 2px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; }
.project-info { padding: 20px; }
.project-info h5 { font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.project-info p { color: #666; font-size: 13px; margin-bottom: 10px; }
.project-year { font-size: 12px; color: var(--primary); font-weight: 600; }
.project-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.filter-btn { padding: 8px 22px; border: 2px solid var(--border); background: #fff; color: var(--text); font-size: 13px; font-weight: 500; cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Team Cards */
.team-card { background: #fff; border: 1px solid var(--border); overflow: hidden; text-align: center; transition: var(--transition); }
.team-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); transform: translateY(-5px); }
.team-photo { height: 280px; overflow: hidden; background: var(--light-bg); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-avatar { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e0e0e0, #f5f5f5); }
.team-avatar i { font-size: 4rem; color: #aaa; }
.team-info { padding: 20px; }
.team-info h5 { font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.team-info .position { color: var(--primary); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.team-email { display: inline-flex; width: 35px; height: 35px; background: var(--primary); color: #fff; border-radius: 50%; align-items: center; justify-content: center; margin-top: 10px; font-size: 14px; }
.team-social a { display: inline-flex; width: 32px; height: 32px; background: var(--light-bg); border-radius: 50%; align-items: center; justify-content: center; margin: 0 3px; font-size: 13px; color: var(--dark); transition: var(--transition); }
.team-social a:hover { background: var(--primary); color: #fff; }

/* News Cards */
.news-card { display: block; color: var(--text); background: #fff; border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.news-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); transform: translateY(-4px); color: var(--text); }
.news-img { height: 220px; overflow: hidden; background: var(--light-bg); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--light-bg); color: #ccc; font-size: 3rem; }
.news-body { padding: 20px; }
.news-date { font-size: 12px; color: #999; margin-bottom: 10px; }
.news-body h5 { font-weight: 700; margin-bottom: 10px; color: var(--dark); line-height: 1.4; }
.news-body p { font-size: 14px; color: #666; }
.read-more { color: var(--primary); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); padding: 60px 0; color: #fff; }
.cta-inner h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; }
.cta-inner p { opacity: 0.85; }

/* Page Header */
.page-header { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); padding: 60px 0; color: #fff; }
.page-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 10px; }
.page-header .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb-item a:hover { color: var(--primary); }
.page-header .breadcrumb-item.active { color: var(--primary); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* Contact */
.contact-info-box { background: var(--dark); color: #fff; padding: 40px; height: 100%; }
.contact-info-box h4 { color: #fff; margin-bottom: 25px; }
.contact-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon { width: 45px; height: 45px; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon i { color: #fff; font-size: 1.1rem; }
.contact-item h6 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.contact-item p, .contact-item a { color: rgba(255,255,255,0.75); font-size: 14px; margin: 0; }
.contact-item a:hover { color: var(--primary); }
.social-btn { display: inline-flex; width: 38px; height: 38px; background: rgba(255,255,255,0.1); color: #fff; border-radius: 50%; align-items: center; justify-content: center; margin-right: 6px; transition: var(--transition); }
.social-btn:hover { background: var(--primary); color: #fff; }
.contact-form-box { background: #fff; padding: 40px; box-shadow: var(--shadow); border-top: 4px solid var(--primary); }
.contact-form-box h4 { color: var(--dark); margin-bottom: 25px; }
.map-container iframe { width: 100%; height: 400px; border: 0; display: block; }

/* Sidebar */
.sidebar-widget { background: #fff; padding: 25px; border: 1px solid var(--border); border-top: 3px solid var(--primary); }
.sidebar-widget h5 { font-weight: 700; color: var(--dark); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li { border-bottom: 1px solid var(--border); }
.sidebar-list li a { display: block; padding: 10px 0; font-size: 14px; color: var(--text); transition: var(--transition); }
.sidebar-list li a:hover, .sidebar-list li.active a { color: var(--primary); padding-left: 8px; }
.sidebar-cta { background: var(--dark); padding: 25px; text-align: center; }
.sidebar-cta h5 { color: #fff; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 15px; }

/* Content Body */
.content-body { line-height: 1.9; }
.content-body h2, .content-body h3, .content-body h4 { color: var(--dark); margin: 25px 0 15px; font-weight: 700; }
.content-body p { margin-bottom: 15px; color: #555; }
.content-body img { max-width: 100%; border-radius: 4px; }
.content-body ul, .content-body ol { padding-left: 25px; margin-bottom: 15px; }

/* Footer */
.site-footer { background: #111; color: #aaa; }
.footer-top { padding: 70px 0 40px; }
.footer-logo { max-height: 50px; filter: brightness(0) invert(1); }
.footer-logo-text { color: #fff; font-size: 1.3rem; font-weight: 700; margin-bottom: 15px; display: block; }
.footer-title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-widget p { font-size: 14px; line-height: 1.8; color: #888; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { color: #888; font-size: 14px; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links li a:hover { color: var(--primary); padding-left: 5px; }
.footer-links li a i { font-size: 11px; color: var(--primary); }
.social-links a { display: inline-flex; width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 50%; align-items: center; justify-content: center; margin-right: 6px; color: #aaa; transition: var(--transition); }
.social-links a:hover { background: var(--primary); color: #fff; }
.newsletter-form .form-control { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.5); }
.footer-bottom { background: #0a0a0a; padding: 18px 0; font-size: 13px; }
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--primary); }

/* Back to Top */
.back-to-top { position: fixed; bottom: 25px; right: 25px; width: 45px; height: 45px; background: var(--primary); color: #fff; border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(232,160,32,0.4); z-index: 999; opacity: 0; visibility: hidden; transition: var(--transition); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); color: #fff; }

/* Responsive */
@media (max-width: 991px) {
  .slide-content h1 { font-size: 2.2rem; }
  .about-image-grid .img-secondary { display: none; }
  .experience-badge { left: 10px; top: 10px; }
  .hero-slider { height: 70vh; }
}

@media (max-width: 767px) {
  .py-80 { padding: 50px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .slide-content h1 { font-size: 1.8rem; }
  .top-bar { display: none; }
  .hero-slider { height: 80vh; }
  .stat-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
}

@media (max-width: 576px) {
  .slide-content { margin-top: 12vh; }
  .slide-number { font-size: 2.5rem; }
}
