/*
Theme Name: Köyceğiz Teknik Servis
Theme URI: https://koycegizservis.com
Author: Köyceğiz Teknik Servis
Author URI: https://koycegizservis.com
Description: Köyceğiz ve Muğla bölgesinde beyaz eşya, kombi, klima, hidrofor ve güneş enerjisi teknik servis hizmeti için premium WordPress teması.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koycegiz-teknik-servis
Tags: business, service, responsive, seo-friendly
*/

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

:root {
  --navy: #0D2B5E;
  --navy-light: #1A3A7A;
  --teal: #1AA5A0;
  --teal-light: #22C4BE;
  --orange: #F5821F;
  --orange-light: #FF9A3C;
  --white: #ffffff;
  --off-white: #F8FAFC;
  --gray-light: #E8EDF5;
  --gray: #94A3B8;
  --gray-dark: #475569;
  --text: #1E293B;
  --gold: #D4A017;
  --gold-light: #F0C040;
  --shadow-sm: 0 2px 8px rgba(13,43,94,0.08);
  --shadow-md: 0 4px 20px rgba(13,43,94,0.12);
  --shadow-lg: 0 8px 40px rgba(13,43,94,0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-dark);
  max-width: 600px;
  margin: 0 auto 50px;
}

.text-center { text-align: center; }

/* ========================================
   ANNOUNCEMENT TICKER
   ======================================== */
.ticker-wrap {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 1001;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
}

.ticker-content:hover { animation-play-state: paused; }

.ticker-item {
  padding: 0 40px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-separator {
  color: var(--navy);
  opacity: 0.4;
  font-size: 1.2rem;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 2px solid var(--gray-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

.site-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  transition: var(--transition);
}

.main-nav a:hover {
  background: var(--gray-light);
  color: var(--teal);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1FB956;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  color: var(--white);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,130,31,0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #173A7A 40%, var(--teal) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.hero-image-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.hero-image-badge .badge-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.badge-text strong { display: block; color: var(--navy); font-size: 1rem; }
.badge-text span { font-size: 0.78rem; color: var(--gray-dark); }

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  padding: 90px 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.service-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.service-icon.navy { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.service-icon.teal { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.service-icon.orange { background: linear-gradient(135deg, var(--orange), var(--orange-light)); }

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

.service-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  background: var(--gray-light);
  color: var(--navy);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Row of 2 for last row */
.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5) {
  /* handled by grid auto */
}

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us {
  padding: 90px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.feature-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover h3,
.feature-card:hover p {
  color: var(--white);
}

.feature-card:hover .feature-icon {
  background: rgba(255,255,255,0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--gray-dark);
  transition: var(--transition);
}

/* ========================================
   SERVICE AREA SECTION
   ======================================== */
.service-area {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #173A7A 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.service-area::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,165,160,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.service-area .section-title { color: var(--white); }
.service-area .section-subtitle { color: rgba(255,255,255,0.75); }

.area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.areas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.area-item:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--teal);
}

.area-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-light);
  flex-shrink: 0;
}

.area-item span {
  font-size: 0.92rem;
  font-weight: 500;
}

.area-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  padding: 90px 0;
  background: var(--off-white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--gray-dark);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  text-decoration: none;
}

.contact-method:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-method-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.method-phone .contact-method-icon { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.method-whatsapp .contact-method-icon { background: linear-gradient(135deg, #25D366, #1FB956); }
.method-location .contact-method-icon { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }

.contact-method-text strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
}

.contact-method-text span {
  font-size: 0.85rem;
  color: var(--gray-dark);
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
}

.contact-card h3 {
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.contact-card .big-phone {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 8px;
  transition: var(--transition);
}

.contact-card .big-phone:hover { color: var(--teal); }

.contact-card .sub-text {
  color: var(--gray-dark);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hours-box {
  margin-top: 28px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
}

.hours-box h4 {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.hours-box p {
  font-size: 0.85rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

/* ========================================
   FLOATING WHATSAPP
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.7);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,0.25);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.65);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover { background: var(--teal); }

.footer-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--teal-light); padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact .icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.seo-text {
  text-align: center;
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.6;
  padding: 0 20px;
  color: rgba(255,255,255,0.35);
}

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

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px; border-bottom: 1px solid var(--gray-light); box-shadow: var(--shadow-md); }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .menu-toggle { display: block; }
  .header-cta .btn:not(.btn-whatsapp) { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-image-wrap { display: none; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .area-inner { grid-template-columns: 1fr; }
  .area-image { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
}
