/* ==========================================================================
   Güven Fidancılık (sertifikalicevizfidan.com) - Production Stylesheet
   ========================================================================== */

:root {
  --primary: #14532d;
  --primary-dark: #0c351c;
  --primary-light: #166534;
  --blue-cert: #0284c7;
  --accent: #d97706;
  --accent-hover: #b45309;
  --bg-cream: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #1f2937;
  --text-muted: #4b5563;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--primary); color: #fff; padding: 10px 18px;
  border-radius: var(--radius-sm); z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.94rem;
  cursor: pointer; border: 2px solid transparent; transition: var(--transition); text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-blue { background: var(--blue-cert); color: #fff; }
.btn-blue:hover { background: #0369a1; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-whatsapp { background: #16a34a; color: #fff; }
.btn-whatsapp:hover { background: #15803d; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.75); }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: #fff; }

.top-bar {
  background: var(--primary-dark); color: #e5e7eb; font-size: 0.85rem; padding: 8px 0;
}
.top-bar-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-bar a:hover { color: #fcd34d; }

.site-header {
  background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 54px; width: auto; object-fit: contain; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.logo-sub { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-cert); }

.main-nav ul { display: flex; align-items: center; gap: 22px; }
.main-nav a { font-weight: 600; font-size: 0.92rem; color: var(--text-dark); position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-btn {
  display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px 12px; cursor: pointer; color: var(--primary); font-size: 1.25rem;
}

.mobile-drawer {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 2000;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer-panel {
  width: 290px; max-width: 85%; height: 100%; background: #fff; padding: 24px;
  display: flex; flex-direction: column; gap: 18px; transform: translateX(-100%); transition: transform 0.25s ease;
}
.mobile-drawer.open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border); padding-bottom: 14px;
}
.mobile-drawer-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; }
.mobile-drawer nav ul { display: flex; flex-direction: column; gap: 12px; }
.mobile-drawer nav a { display: block; font-weight: 600; padding: 8px 0; border-bottom: 1px solid #f3f4f6; }

.hero {
  position: relative; min-height: 540px; display: flex; align-items: center;
  background: linear-gradient(120deg, rgba(12,53,28,0.9), rgba(20,83,45,0.75)), url('../images/acik-koklu-chandler-ceviz-fidani.jpg') center/cover no-repeat;
  color: #fff; padding: 76px 0 96px;
}
.hero-content { max-width: 740px; }
.hero-badge {
  display: inline-block; background: var(--blue-cert); color: #fff; font-size: 0.82rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 14px;
  border-radius: 999px; margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.15; margin-bottom: 16px; font-weight: 800;
}
.hero p { font-size: 1.08rem; color: #e5e7eb; margin-bottom: 26px; max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.page-banner {
  background: linear-gradient(120deg, rgba(12,53,28,0.92), rgba(22,101,52,0.82)), url('../images/chandler-ceviz-fidani-bahcesi.jpg') center/cover no-repeat;
  color: #fff; padding: 58px 0; text-align: center;
}
.page-banner h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.9rem; color: #d1d5db; }
.breadcrumb a:hover { color: #fcd34d; }

.section { padding: 68px 0; }
.section-cream { background: var(--bg-cream); }
.section-header { text-align: center; max-width: 740px; margin: 0 auto 44px; }
.section-subtitle {
  display: inline-block; color: var(--blue-cert); font-weight: 700; font-size: 0.84rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  color: var(--primary); margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); }

.feature-strip { margin-top: -50px; position: relative; z-index: 10; padding-bottom: 36px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }

.card {
  background: #fff; border-radius: var(--radius-md); padding: 26px 22px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-family: var(--font-display); font-size: 1.12rem; color: var(--primary); margin-bottom: 8px; }
.card p { font-size: 0.93rem; color: var(--text-muted); }

.cert-badge-card { border-top: 4px solid var(--blue-cert); }
.cert-badge-card.gold { border-top-color: var(--accent); }

.product-card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-img-wrap { aspect-ratio: 4 / 3; overflow: hidden; background: #f3f4f6; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-tag {
  display: inline-block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
  color: var(--blue-cert); background: #e0f2fe; padding: 4px 10px; border-radius: 999px;
  align-self: flex-start; margin-bottom: 10px;
}
.product-body h3 { font-family: var(--font-display); font-size: 1.18rem; color: var(--primary); margin-bottom: 8px; }
.product-body p { font-size: 0.91rem; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.product-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--border); font-size: 0.88rem; font-weight: 600;
}

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem;
}
.form-control:focus { outline: none; border-color: var(--primary); }

.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; padding: 18px 22px; text-align: left;
  font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--primary);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer;
}
.faq-question::after { content: '+'; font-size: 1.4rem; font-weight: 400; }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 22px; color: var(--text-muted); font-size: 0.94rem; }
.faq-item.active .faq-answer { max-height: 400px; padding: 0 22px 18px; }

.share-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 18px 22px; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border);
}
.share-bar span { font-weight: 700; font-size: 0.9rem; color: var(--primary); margin-right: 6px; }
.share-btn { padding: 7px 14px; border-radius: 6px; font-size: 0.84rem; font-weight: 600; color: #fff; border: none; cursor: pointer; }
.share-wa { background: #16a34a; }
.share-fb { background: #1877f2; }
.share-x { background: #111827; }
.share-li { background: #0a66c2; }
.share-copy { background: var(--primary); }

.site-footer { background: var(--primary-dark); color: #d1d5db; padding: 60px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px;
  padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; font-size: 0.91rem; }
.footer-col ul a:hover { color: #fcd34d; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 14px; padding-top: 20px; font-size: 0.85rem;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

.floating-ctas { position: fixed; right: 22px; bottom: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 900; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: var(--shadow-lg); font-weight: 700; font-size: 1.25rem;
}
.float-wa { background: #16a34a; }
.float-call { background: var(--accent); }

.mobile-bottom-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff;
  border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  z-index: 950; grid-template-columns: repeat(3, 1fr);
}
.mobile-bottom-bar a, .mobile-bottom-bar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 6px; font-size: 0.78rem; font-weight: 700; border: none; background: none; cursor: pointer; color: var(--primary);
}
.mobile-bottom-bar .m-wa { color: #15803d; }
.mobile-bottom-bar .m-quote { background: var(--primary); color: #fff; }

.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; max-width: 440px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px;
  box-shadow: var(--shadow-lg); z-index: 1500; display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2500;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg); max-width: 520px; width: 100%;
  padding: 32px; position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--text-muted); }

.form-alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-top: 14px; font-size: 0.9rem; font-weight: 600; display: none; }
.form-alert.success { display: block; background: #dcfce7; color: #166534; }

.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.doc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; text-align: center; box-shadow: var(--shadow-sm); }
.doc-card img { margin: 0 auto 12px; border-radius: 6px; max-height: 220px; object-fit: contain; }

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .top-bar, .main-nav, .header-actions .btn { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .feature-strip { margin-top: 24px; }
  .floating-ctas { display: none; }
  .mobile-bottom-bar { display: grid; }
  body { padding-bottom: 62px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 72px; max-width: none; }
}
