/*
Theme Name: Bodrum Hidrofor Premium
Theme URI: https://bodrumhidroforbobinajhavuzsistemleri.tr
Author: Replit
Author URI: https://replit.com
Description: Bodrum merkezli hidrofor, bobinaj ve havuz sistemleri firmaları için premium, hızlı ve SEO uyumlu hizmet teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: bodrum-hidrofor
*/

:root {
  --navy: #071d3a;
  --navy-2: #0c2d55;
  --blue: #087bc1;
  --blue-bright: #14b9e6;
  --aqua: #45d7df;
  --gold: #d6a84f;
  --ink: #10243d;
  --muted: #64758a;
  --line: #e6edf4;
  --surface: #f5f9fc;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(7, 29, 58, .07);
  --shadow-md: 0 20px 55px rgba(7, 29, 58, .12);
  --radius: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px;
  overflow: hidden; position: absolute !important; white-space: nowrap; width: 1px;
}

/* Announcement strip */
.announcement {
  background: var(--navy);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  letter-spacing: .04em;
  overflow: hidden;
  white-space: nowrap;
}
.announcement__track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.announcement__item { display: inline-flex; align-items: center; gap: 10px; padding: 9px 28px; }
.announcement__item::before { content: "✦"; color: var(--aqua); font-size: 13px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(230,237,244,.8); backdrop-filter: blur(18px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.site-brand { display: flex; align-items: center; min-width: 222px; }
.site-brand img { width: 194px; max-height: 62px; object-fit: contain; object-position: left center; }
.site-brand .custom-logo-link { display: block; line-height: 0; }
.site-brand__text { display: none; color: var(--navy); font-weight: 800; line-height: 1.15; font-size: 15px; }
.site-brand__text small { color: var(--blue); display: block; font-size: 10px; letter-spacing: .11em; margin-top: 4px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 22px; align-items: center; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: #496079; font-size: 13px; font-weight: 700; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--blue); }
.header-actions { display: flex; gap: 9px; align-items: center; }
.button {
  align-items: center; border: 0; border-radius: 999px; cursor: pointer; display: inline-flex;
  font-size: 13px; font-weight: 800; gap: 9px; justify-content: center; letter-spacing: .01em;
  min-height: 46px; padding: 0 19px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--navy); box-shadow: 0 9px 24px rgba(7,29,58,.18); color: var(--white); }
.button--primary:hover { background: var(--navy-2); box-shadow: 0 13px 28px rgba(7,29,58,.25); }
.button--whatsapp { background: #18a874; box-shadow: 0 9px 24px rgba(24,168,116,.18); color: #fff; }
.button--whatsapp:hover { background: #118e61; }
.button--outline { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.button--outline:hover { border-color: var(--blue-bright); color: var(--blue); }
.button svg { width: 17px; height: 17px; flex: 0 0 17px; fill: currentColor; }
.menu-toggle { display: none; background: transparent; border: 0; color: var(--navy); cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 25px; height: 25px; }

/* Shared sections */
.section { padding: 104px 0; }
.section--soft { background: var(--surface); }
.section-heading { max-width: 670px; margin-bottom: 44px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.eyebrow {
  align-items: center; color: var(--blue); display: inline-flex; font-size: 11px; font-weight: 900;
  gap: 9px; letter-spacing: .16em; margin-bottom: 13px; text-transform: uppercase;
}
.eyebrow::before { background: var(--gold); content: ""; height: 2px; width: 24px; }
h1, h2, h3, h4 { color: var(--navy); font-family: "Plus Jakarta Sans", "Inter", sans-serif; line-height: 1.16; margin: 0 0 18px; }
h1 { font-size: clamp(40px, 5.5vw, 72px); letter-spacing: -.055em; }
h2 { font-size: clamp(31px, 4vw, 49px); letter-spacing: -.045em; }
h3 { font-size: 21px; letter-spacing: -.025em; }
p { margin: 0 0 18px; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.75; }
.text-muted { color: var(--muted); }

/* Hero */
.hero { overflow: hidden; padding: 92px 0 70px; position: relative; }
.hero::before {
  background: radial-gradient(circle, rgba(20,185,230,.11) 0, rgba(20,185,230,0) 68%);
  content: ""; height: 620px; position: absolute; right: -170px; top: -220px; width: 620px;
}
.hero-grid { align-items: center; display: grid; gap: 72px; grid-template-columns: .92fr 1.08fr; position: relative; }
.hero-copy { max-width: 610px; }
.hero-copy h1 span { color: var(--blue); display: block; }
.hero-copy .lead { max-width: 555px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-note { align-items: center; color: var(--muted); display: flex; font-size: 12px; gap: 9px; margin-top: 23px; }
.hero-note strong { color: var(--navy); }
.hero-note svg { color: var(--gold); width: 17px; }
.hero-media { min-height: 485px; position: relative; }
.hero-photo {
  border-radius: 30px; box-shadow: var(--shadow-md); height: 470px; object-fit: cover; object-position: 58% center;
  transform: rotate(1.3deg); width: 100%;
}
.hero-media::after {
  border: 1px solid rgba(20,185,230,.3); border-radius: 30px; content: ""; inset: 17px -17px -17px 17px;
  pointer-events: none; position: absolute; z-index: -1;
}
.hero-badge {
  align-items: center; background: rgba(255,255,255,.93); border: 1px solid rgba(230,237,244,.8);
  border-radius: 15px; bottom: 28px; box-shadow: var(--shadow-sm); display: flex; gap: 12px; left: -24px;
  padding: 13px 17px; position: absolute;
}
.hero-badge__icon { align-items: center; background: #e7f9fb; border-radius: 11px; color: var(--blue); display: flex; height: 39px; justify-content: center; width: 39px; }
.hero-badge__icon svg { height: 20px; width: 20px; }
.hero-badge strong { color: var(--navy); display: block; font-size: 13px; line-height: 1.2; }
.hero-badge small { color: var(--muted); display: block; font-size: 11px; margin-top: 3px; }

/* Trust strip / CTA */
.trust-strip { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { align-items: center; border-right: 1px solid var(--line); display: flex; gap: 12px; min-height: 92px; padding: 18px 24px; }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item svg { color: var(--blue); height: 23px; width: 23px; }
.trust-item strong { color: var(--navy); display: block; font-size: 13px; line-height: 1.3; }
.trust-item span { color: var(--muted); display: block; font-size: 11px; margin-top: 4px; }
.contact-band { background: linear-gradient(110deg, var(--navy), #0c4871); color: white; overflow: hidden; position: relative; }
.contact-band::after { background: radial-gradient(circle, rgba(69,215,223,.28), transparent 65%); content: ""; height: 360px; position: absolute; right: -80px; top: -160px; width: 360px; }
.contact-band__inner { align-items: center; display: flex; justify-content: space-between; min-height: 137px; position: relative; z-index: 1; }
.contact-band h2 { color: #fff; font-size: clamp(23px, 3vw, 34px); margin: 0 0 6px; }
.contact-band p { color: rgba(255,255,255,.67); font-size: 14px; margin: 0; }
.contact-band__phone { color: #fff; font-size: 22px; font-weight: 800; }
.contact-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-band .button--outline { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }

/* Services */
.services-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 0 rgba(7,29,58,.015); display: flex; flex-direction: column; min-height: 296px; padding: 27px; position: relative; transition: border-color .25s, box-shadow .25s, transform .25s; }
.service-card:hover { border-color: rgba(8,123,193,.35); box-shadow: var(--shadow-md); transform: translateY(-7px); }
.service-card__icon { align-items: center; background: #eaf8fb; border-radius: 14px; color: var(--blue); display: flex; height: 49px; justify-content: center; margin-bottom: 25px; width: 49px; }
.service-card__icon svg { height: 25px; width: 25px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-card__link { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .03em; margin-top: auto; }
.service-card__link::after { content: " →"; transition: margin-left .2s; }
.service-card:hover .service-card__link::after { margin-left: 5px; }

/* Split service sections */
.split-grid { align-items: center; display: grid; gap: 80px; grid-template-columns: 1fr 1fr; }
.split-grid--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: 25px; box-shadow: var(--shadow-md); height: 410px; object-fit: cover; width: 100%; }
.split-media__label { background: var(--navy); border-radius: 13px; bottom: 20px; color: #fff; font-size: 12px; font-weight: 800; left: 20px; padding: 12px 16px; position: absolute; }
.split-copy p { color: var(--muted); }
.feature-list { display: grid; gap: 15px; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 26px 0 30px; padding: 0; }
.feature-list li { align-items: flex-start; color: var(--ink); display: flex; font-size: 13px; font-weight: 700; gap: 9px; line-height: 1.45; }
.feature-list svg { color: var(--blue); flex: 0 0 17px; height: 17px; margin-top: 2px; width: 17px; }

/* Why us */
.why-grid { align-items: start; display: grid; gap: 70px; grid-template-columns: .75fr 1.25fr; }
.why-intro h2 { max-width: 390px; }
.why-intro p { color: var(--muted); max-width: 410px; }
.why-items { display: grid; gap: 30px 34px; grid-template-columns: repeat(2, 1fr); }
.why-item { display: grid; gap: 14px; grid-template-columns: 44px 1fr; }
.why-item__icon { align-items: center; background: #edf9fc; border-radius: 12px; color: var(--blue); display: flex; height: 44px; justify-content: center; width: 44px; }
.why-item__icon svg { height: 21px; width: 21px; }
.why-item h3 { font-size: 17px; margin: 0 0 5px; }
.why-item p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }

/* Locations */
.locations-wrap { align-items: center; display: grid; gap: 70px; grid-template-columns: .75fr 1.25fr; }
.locations-copy p { color: var(--muted); }
.location-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.location-pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-size: 12px; font-weight: 800; padding: 9px 14px; transition: all .2s; }
.location-pill:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }
.location-note { color: var(--muted); font-size: 12px; margin-top: 23px; }

/* FAQ + blog */
.faq-grid { display: grid; gap: 12px; margin-inline: auto; max-width: 860px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.faq-item summary { align-items: center; cursor: pointer; display: flex; font-size: 14px; font-weight: 800; justify-content: space-between; list-style: none; padding: 20px 22px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { color: var(--blue); content: "+"; font-size: 22px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 17px 22px 20px; }
.posts-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.post-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-5px); }
.post-card__image { aspect-ratio: 16 / 9; background: var(--surface); object-fit: cover; width: 100%; }
.post-card__body { padding: 23px; }
.post-card__meta { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.post-card h3 { font-size: 18px; margin: 10px 0 0; }
.post-card h3 a:hover { color: var(--blue); }

/* Footer and floating CTAs */
.site-footer { background: var(--navy); color: rgba(255,255,255,.68); padding: 74px 0 24px; }
.footer-grid { display: grid; gap: 45px; grid-template-columns: 1.5fr 1fr 1fr 1fr; padding-bottom: 60px; }
.footer-brand img { filter: drop-shadow(0 5px 9px rgba(0,0,0,.2)); margin-bottom: 20px; max-height: 63px; object-fit: contain; object-position: left; width: 235px; }
.footer-brand p { font-size: 13px; max-width: 315px; }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: .02em; margin: 0 0 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 10px; }
.footer-links a { font-size: 13px; }
.footer-links a:hover { color: var(--aqua); }
.footer-contact a { color: #fff; display: block; font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.footer-contact span { display: block; font-size: 12px; line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); display: flex; font-size: 11px; justify-content: space-between; padding-top: 20px; }
.floating-actions { bottom: 25px; display: flex; flex-direction: column; gap: 10px; position: fixed; right: 25px; z-index: 22; }
.floating-actions .button { box-shadow: 0 12px 26px rgba(7,29,58,.2); min-width: 144px; }
.mobile-cta { display: none; }

/* WordPress content / inner templates */
.page-hero { background: linear-gradient(135deg, #f3f9fc, #fff); padding: 76px 0; }
.page-hero h1 { font-size: clamp(37px, 5vw, 60px); max-width: 810px; }
.breadcrumbs { color: var(--muted); font-size: 12px; margin-bottom: 19px; }
.breadcrumbs a { color: var(--blue); }
.content-area { padding: 70px 0 100px; }
.content-area__inner { max-width: 850px; }
.content-area__inner p, .content-area__inner li { color: #52657b; }
.content-area__inner h2 { font-size: 32px; margin-top: 42px; }
.content-area__inner h3 { margin-top: 30px; }
.post-single__meta { color: var(--blue); font-size: 12px; font-weight: 800; margin-bottom: 24px; }
.entry-content img { border-radius: 18px; }
.pagination { display: flex; gap: 8px; margin-top: 50px; }
.pagination .page-numbers { border: 1px solid var(--line); border-radius: 10px; color: var(--navy); font-size: 13px; padding: 8px 13px; }
.pagination .current, .pagination .page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

@media (max-width: 1080px) {
  .primary-nav ul { gap: 13px; }
  .primary-nav a { font-size: 12px; }
  .header-actions .button { font-size: 11px; padding: 0 13px; }
  .hero-grid { gap: 48px; }
  .footer-grid { gap: 25px; }
}
@media (max-width: 850px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .header-inner { min-height: 72px; }
  .site-brand { min-width: 0; }
  .site-brand img { max-height: 54px; width: 175px; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); display: none; left: 0; padding: 14px 18px 20px; position: absolute; right: 0; top: 100%; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav li { border-bottom: 1px solid #f0f3f7; }
  .primary-nav a { display: block; font-size: 14px; padding: 12px 4px; }
  .header-actions { margin-left: 0; }
  .header-actions .button { min-height: 39px; padding: 0 11px; }
  .header-actions .button span { display: none; }
  .hero { padding: 65px 0 48px; }
  .hero-grid, .split-grid, .why-grid, .locations-wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-media { min-height: 370px; }
  .hero-photo { height: 360px; }
  .split-grid--reverse .split-media { order: 0; }
  .why-grid, .locations-wrap { gap: 35px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .trust-item:nth-child(3) { padding-left: 0; }
  .services-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 30px); }
  .header-actions { display: none; }
  h1 { font-size: 40px; }
  .hero .lead { font-size: 16px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-media { min-height: 280px; }
  .hero-photo { height: 275px; }
  .hero-badge { bottom: -15px; left: 13px; }
  .section { padding: 73px 0; }
  .contact-band__inner { align-items: flex-start; flex-direction: column; gap: 19px; padding: 28px 0; }
  .contact-band__actions { width: 100%; }
  .contact-band__actions .button { flex: 1; }
  .trust-item { padding: 16px 10px; }
  .trust-item strong { font-size: 11px; }
  .trust-item span { font-size: 10px; }
  .services-grid, .posts-grid, .why-items, .feature-list { grid-template-columns: 1fr; }
  .split-media img { height: 290px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .floating-actions { display: none; }
  .mobile-cta { background: #fff; border-top: 1px solid var(--line); bottom: 0; display: grid; gap: 8px; grid-template-columns: 1fr 1fr; left: 0; padding: 8px 10px; position: fixed; right: 0; z-index: 40; }
  .mobile-cta .button { min-height: 45px; }
  body { padding-bottom: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}