/* =========================================================
   Bodrum Koruma İlaçlama — Modern Tema
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #2b2d42;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; color: var(--primary); margin: 0 0 .6em; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.d-md { display: none; }
@media (min-width: 768px) { .d-md { display: inline-flex; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; letter-spacing: .3px;
  border: 2px solid transparent; cursor: pointer; transition: all .25s;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #c1121f; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230,57,70,.35); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--accent); color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--primary); color: #fff; font-size: .85rem; padding: 8px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-link { color: #fff; display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.topbar-link:hover { color: #fff; opacity: 1; }
.social-icons { display: flex; gap: 8px; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  transition: background .25s, transform .25s;
}
.social-icons a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.header { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.logo img { height: 70px; width: auto; }
.main-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; }
.main-nav a {
  color: #2b2d42; font-weight: 500; font-size: .95rem; padding: 8px 0;
  position: relative; transition: color .25s;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0; background: var(--accent); transition: width .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--primary); margin: 5px 0; border-radius: 2px; transition: all .25s; }
.nav-close { display: none; background: transparent; border: 0; font-size: 30px; color: #fff; cursor: pointer; position: absolute; top: 20px; right: 25px; }

@media (max-width: 960px) {
  .main-nav {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
    background: var(--primary); padding: 80px 30px; z-index: 200; transition: right .35s;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a { color: #fff; font-size: 1.1rem; padding: 12px 0; display: block; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav a:hover, .main-nav a.active { color: var(--accent); }
  .nav-close { display: block; }
  .nav-toggle { display: inline-block; }
}

/* Mobile-only: hide topbar, compact header CTA */
@media (max-width: 720px) {
  .topbar { display: none; }
  .header-inner { padding: 8px 0; gap: 10px; }
  .logo img { height: 50px; }
  .header-cta { gap: 6px; }
  .header-cta .btn-accent {
    width: 42px; height: 42px; padding: 0; border-radius: 50%;
    justify-content: center;
  }
  .header-cta .btn-accent .call-text { display: none; }
  .header-cta .btn-accent svg { width: 18px; height: 18px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 600px; padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0d3a8a 100%);
  color: #fff; overflow: hidden;
}
@media (max-width: 720px) {
  .hero { min-height: auto; padding: 60px 0 80px; }
  .hero-grid { gap: 32px; }
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(230,57,70,.15) 0%, transparent 50%);
}
.hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,40 C360,80 1080,0 1440,40 L1440,80 L0,80 Z' fill='%23ffffff'/%3E%3C/svg%3E") center/cover;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.2fr 1fr; } }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .hero-sub { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: .9rem; margin-bottom: 14px; display: inline-block; }
.hero p { font-size: 1.1rem; opacity: .92; max-width: 580px; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  border-radius: 24px; overflow: hidden;
  border: 4px solid rgba(255,255,255,.15);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  aspect-ratio: 4/3;
  background: rgba(255,255,255,.05);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,42,94,.4) 100%);
  pointer-events: none;
}
@media (max-width: 720px) { .hero-visual { aspect-ratio: 16/10; } }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; }
.section-head h2 { margin-top: 8px; }
.section-head p { color: #555; font-size: 1.05rem; }

/* ---------- Feature strip ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.feature-card {
  background: #fff; padding: 28px 22px; border-radius: 16px;
  text-align: center; transition: all .3s;
  border: 1px solid #eef0f4;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10,42,94,.12); border-color: transparent; }
.feature-icon {
  width: 72px; height: 72px; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), #1e4cab); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(10,42,94,.25);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: #666; font-size: .95rem; margin: 0; }

/* ---------- Services grid ---------- */
.services-bg { background: #f5f7fa; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.service-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  transition: all .35s; position: relative;
  border: 1px solid #eef0f4;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(10,42,94,.15); }
.service-card-top { padding: 32px 28px 20px; }
.service-icon-wrap {
  width: 80px; height: 80px; border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #c1121f); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 12px 24px rgba(230,57,70,.3);
}
.service-icon-wrap svg { width: 44px; height: 44px; }
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: #666; font-size: .95rem; }
.service-card .service-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 16px 28px 24px; color: var(--primary); font-weight: 600;
}
.service-card .service-link:hover { color: var(--accent); gap: 10px; }

/* ---------- About section ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-image {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(10,42,94,.2);
  aspect-ratio: 5/4;
  background: #f0f4fa;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-image::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(10,42,94,.15) 100%);
  z-index: 1; pointer-events: none;
}
.about-image::after {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 180px; height: 180px; background: var(--accent); opacity: .15; border-radius: 50%;
  z-index: 1;
}
.about-content .eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.about-stat { text-align: center; padding: 18px 8px; background: #f5f7fa; border-radius: 14px; }
.about-stat strong { display: block; font-size: 1.8rem; color: var(--accent); font-family: 'Playfair Display', serif; }
.about-stat span { font-size: .85rem; color: #555; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3a8a 100%);
  color: #fff; padding: 60px 0; text-align: center;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { opacity: .9; max-width: 640px; margin: 0 auto 24px; }

/* ---------- Page header ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3a8a 100%);
  color: #fff; padding: 100px 0 110px; text-align: center; position: relative;
}
.page-header::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,30 C360,60 1080,0 1440,30 L1440,60 L0,60 Z' fill='%23ffffff'/%3E%3C/svg%3E") center/cover;
}
.page-header h1 { color: #fff; }
.page-header p { opacity: .85; max-width: 640px; margin: 12px auto 0; }
.breadcrumb { margin-top: 14px; font-size: .9rem; opacity: .85; }
.breadcrumb a { color: #fff; }

/* ---------- Article content ---------- */
.article-content { max-width: 820px; margin: 0 auto; font-size: 1.05rem; color: #444; }
.article-content h2, .article-content h3 { margin-top: 1.5em; }
.article-content ul { padding-left: 1.4em; }
.article-content li { margin: .4em 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-item {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: #f0f2f5; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,42,94,.7) 100%);
  opacity: 0; transition: opacity .25s;
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info { background: var(--primary); color: #fff; padding: 40px; border-radius: 20px; }
.contact-info h3 { color: #fff; }
.contact-info ul { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-info li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-info li:first-of-type { border-top: 0; }
.contact-info li svg { flex-shrink: 0; margin-top: 4px; }
.contact-info a { color: #fff; }
.contact-info a:hover { color: var(--accent); }
.contact-form { background: #fff; padding: 40px; border-radius: 20px; border: 1px solid #eef0f4; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
@media (min-width: 600px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .9rem; color: #555; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid #e0e4ec; font-family: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,42,94,.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-msg { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; }
.form-msg.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.form-msg.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ---------- Footer ---------- */
.footer { background: #0a1e42; color: #cbd5e1; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer h4 { color: #fff; font-family: 'Poppins', sans-serif; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--accent); border-radius: 2px; }
.footer-logo { height: 80px; width: auto; margin-bottom: 18px; }
.footer p { color: #94a3b8; font-size: .9rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: #94a3b8; font-size: .92rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; color: #94a3b8; font-size: .9rem; }
.footer-contact a { color: #cbd5e1; }
.footer-contact a:hover { color: var(--accent); }
.footer-social a { background: rgba(255,255,255,.06); }
.footer-bottom { background: rgba(0,0,0,.25); margin-top: 50px; padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #94a3b8; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px rgba(37,211,102,.4);
  z-index: 99; animation: pulse 2s infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Animations ---------- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
