/*
Theme Name: Gediz Prefabrik
Theme URI: https://gedizprefabrik.com
Author: Ayzala Web Tasarım Stüdyosu
Author URI: https://ayzala.com
Description: Gediz Prefabrik Kurumsal WordPress Teması - Prefabrik Ev, Çelik Yapı, Tiny House, Bungalov, Konteyner ve Ahşap Yapı hizmetleri için profesyonel kurumsal tema. SEO optimizasyonlu, hızlı, mobil uyumlu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gediz-prefabrik
Tags: business, corporate, prefabrik, construction, one-page, responsive, seo-friendly
*/

/* ============================================
   GEDIZ PREFABRİK TEMA - ANA STİL DOSYASI
   ============================================ */

:root {
  --navy: #1B3A6B;
  --navy-dark: #0f2447;
  --navy-light: #234d8a;
  --orange: #F47820;
  --orange-dark: #d4621a;
  --orange-light: #ff9040;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --mid-gray: #e9ecef;
  --dark-gray: #6c757d;
  --text-dark: #1a1a2e;
  --text-body: #444;
  --shadow: 0 4px 20px rgba(27,58,107,0.12);
  --shadow-hover: 0 8px 32px rgba(27,58,107,0.22);
  --transition: all 0.3s ease;
  --radius: 8px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { font-size: 2.2rem; color: var(--navy); margin-bottom: 15px; }
.section-subtitle { font-size: 1.1rem; color: var(--dark-gray); margin-bottom: 50px; }
.orange { color: var(--orange); }
.text-center { text-align: center; }

/* ANNOUNCEMENT BAR */
.announcement-bar {
  background: var(--navy-dark);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 1001;
}
.announcement-bar .ticker-wrap {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.announcement-bar .ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
  gap: 60px;
}
.announcement-bar .ticker span {
  font-size: 0.9rem;
  font-weight: 500;
  padding-right: 60px;
}
.announcement-bar .ticker a { color: var(--orange); }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HEADER & NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--orange);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.site-logo img { max-width: 160px; max-height: 60px; object-fit: contain; width: auto; height: auto; }
.nav-menu { display: flex; list-style: none; gap: 8px; align-items: center; }
.nav-menu a { font-size: 0.9rem; font-weight: 600; color: var(--navy); padding: 8px 14px; border-radius: var(--radius); transition: var(--transition); }
.nav-menu a:hover, .nav-menu .current-menu-item a { color: var(--orange); background: rgba(244,120,32,0.08); }
.nav-cta { background: var(--orange) !important; color: #fff !important; border-radius: 6px !important; padding: 10px 20px !important; }
.nav-cta:hover { background: var(--orange-dark) !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 26px; height: 3px; background: var(--navy); display: block; border-radius: 2px; transition: var(--transition); }

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a3a6c 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  text-align: center; color: #fff;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><polygon points="0,600 400,100 800,600" fill="rgba(244,120,32,0.05)"/></svg>') center/cover;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 40px 20px; }
.hero-gediz { font-size: clamp(4rem, 12vw, 9rem); font-weight: 900; color: var(--orange); letter-spacing: -2px; line-height: 1; display: block; text-shadow: 0 4px 30px rgba(244,120,32,0.5); }
.hero-title { font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; margin: 10px 0; font-weight: 700; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin: 15px 0 35px; }
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--orange); color: #fff; padding: 14px 32px; border-radius: 6px; font-weight: 700; font-size: 1rem; border: 2px solid var(--orange); transition: var(--transition); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(244,120,32,0.4); }
.btn-outline { background: transparent; color: #fff; padding: 14px 32px; border-radius: 6px; font-weight: 700; font-size: 1rem; border: 2px solid rgba(255,255,255,0.7); transition: var(--transition); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* SERVICES */
.services { background: var(--light-gray); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.service-card { background: #fff; border-radius: var(--radius-lg); padding: 35px 25px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border-bottom: 4px solid transparent; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-bottom-color: var(--orange); }
.service-icon { width: 70px; height: 70px; background: rgba(27,58,107,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.service-icon svg { width: 32px; height: 32px; color: var(--navy); }
.service-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--dark-gray); font-size: 0.95rem; }

/* STATS / WHY US */
.stats { background: var(--navy); padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { color: #fff; }
.stat-number { font-size: 3rem; font-weight: 900; color: var(--orange); display: block; }
.stat-label { font-size: 1rem; color: rgba(255,255,255,0.85); margin-top: 8px; }

/* PROJECTS */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }
.project-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.project-card img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.4s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,58,107,0.85) 0%, transparent 50%); display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: var(--transition); }
.project-card:hover .project-overlay { opacity: 1; }
.project-tag { background: var(--orange); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; position: absolute; top: 15px; left: 15px; }
.project-title { color: #fff; font-size: 1.1rem; }

/* REGIONS */
.regions { background: var(--light-gray); }
.regions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 15px; }
.region-card { background: #fff; border: 2px solid var(--mid-gray); border-radius: var(--radius); padding: 18px; text-align: center; font-weight: 700; color: var(--navy); transition: var(--transition); cursor: pointer; }
.region-card:hover, .region-card.featured { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow); }
.region-card.featured { background: var(--orange); border-color: var(--orange); }
.region-icon { font-size: 1.5rem; margin-bottom: 8px; display: block; }

/* TESTIMONIALS */
.testimonials { background: var(--navy-dark); }
.testimonials .section-title, .testimonials .section-subtitle { color: #fff; }
.testimonials .section-subtitle { color: rgba(255,255,255,0.7); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.testimonial-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 30px; }
.stars { color: #ffc107; font-size: 1.2rem; margin-bottom: 15px; }
.testimonial-text { color: rgba(255,255,255,0.9); font-style: italic; margin-bottom: 20px; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; font-size: 1.1rem; }
.author-name { color: #fff; font-weight: 700; font-size: 0.95rem; }
.author-city { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* QUOTE FORM */
.quote-section { background: var(--navy); }
.quote-section .section-title { color: #fff; }
.quote-section .section-subtitle { color: rgba(255,255,255,0.7); }
.quote-form { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 40px; max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: rgba(255,255,255,0.85); margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1);
  color: #fff; font-size: 0.95rem; transition: var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--orange); background: rgba(255,255,255,0.15);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group select option { background: var(--navy-dark); color: #fff; }
.btn-submit { width: 100%; background: var(--orange); color: #fff; padding: 15px; border: none; border-radius: var(--radius); font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: var(--transition); letter-spacing: 1px; }
.btn-submit:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.blog-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.blog-thumb { height: 200px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); display: flex; align-items: center; justify-content: center; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 25px; }
.blog-date { color: var(--orange); font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--dark-gray); font-size: 0.9rem; margin-bottom: 15px; }
.blog-link { color: var(--orange); font-weight: 700; font-size: 0.9rem; }

/* FOOTER */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.85); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-logo img { max-width: 150px; height: auto; margin-bottom: 18px; }
.footer-desc { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; transition: var(--transition); }
.social-icon:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); display: inline-block; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--orange); padding-left: 5px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.contact-icon { color: var(--orange); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.contact-text { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.5; }
.footer-map iframe { width: 100%; height: 180px; border-radius: var(--radius); border: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: var(--orange); }

/* FLOATING BUTTONS */
.floating-btns { position: fixed; bottom: 30px; right: 25px; z-index: 9999; display: flex; flex-direction: column; gap: 15px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.3); transition: var(--transition); position: relative; text-decoration: none; }
.float-btn:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(0,0,0,0.4); color: #fff; }
.float-wa { background: #25D366; animation: pulse-green 2s infinite; }
.float-phone { background: var(--orange); animation: pulse-orange 2s infinite; animation-delay: 1s; }
.float-btn::before { content: attr(data-tooltip); position: absolute; right: 65px; background: rgba(0,0,0,0.8); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 0.8rem; white-space: nowrap; opacity: 0; transition: var(--transition); pointer-events: none; }
.float-btn:hover::before { opacity: 1; }
@keyframes pulse-green { 0%,100%{box-shadow:0 0 0 0 rgba(37,211,102,0.5)} 50%{box-shadow:0 0 0 12px rgba(37,211,102,0)} }
@keyframes pulse-orange { 0%,100%{box-shadow:0 0 0 0 rgba(244,120,32,0.5)} 50%{box-shadow:0 0 0 12px rgba(244,120,32,0)} }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); padding: 80px 0 50px; text-align: center; color: #fff; }
.page-header h1 { font-size: 2.5rem; color: #fff; }
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 10px; }
.breadcrumb a { color: var(--orange); }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: var(--shadow); gap: 5px; }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .hero-gediz { font-size: clamp(3rem, 18vw, 6rem); }
  .section { padding: 55px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .site-logo img { max-width: 120px; max-height: 48px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.7rem; }
  .floating-btns { bottom: 20px; right: 15px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.2rem; }
  .regions-grid { grid-template-columns: repeat(2, 1fr); }
}
