/* Albayrak Tel & Çit Sistemleri - albayrakcit.com.tr */
:root {
  --red: #c8102e;
  --red-dark: #9b0a22;
  --black: #1a1a1a;
  --gray: #55595f;
  --light: #f5f6f7;
  --border: #e4e6e8;
  --wa: #25d366;
  --wa-dark: #1eb857;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--black);
  line-height: 1.65;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.25; font-weight: 700; }

/* Topbar */
.topbar { background: var(--black); color: #ddd; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 20px; gap: 10px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }

/* Header */
.site-header { background: #fff; border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.logo img { width: 180px; height: auto; }
.main-nav ul { display: flex; list-style: none; gap: 4px; align-items: center; }
.main-nav a { display: block; padding: 10px 14px; color: var(--black); font-weight: 600; font-size: 15px; border-radius: 4px; }
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.nav-cta a { background: var(--wa); color: #fff !important; }
.nav-cta a:hover { background: var(--wa-dark); }
.menu-toggle { display: none; font-size: 26px; background: none; border: none; cursor: pointer; color: var(--black); padding: 4px 10px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--black) 0%, #2d2d2d 60%, var(--red-dark) 140%); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; padding: 60px 20px; }
.hero-badge { display: inline-block; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .5px; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; }
.hero h1 { font-size: 40px; margin-bottom: 16px; }
.hero p { color: #e3e3e3; margin-bottom: 26px; font-size: 17px; }
.hero-img img { border-radius: 10px; box-shadow: 0 12px 34px rgba(0,0,0,.45); width: 100%; }
.hero-buttons, .cta-buttons, .service-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 6px; font-weight: 700; font-size: 15px; transition: .2s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { background: #eee; color: var(--black); }

/* Features */
.features { background: var(--light); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px 20px; }
.feature { text-align: center; }
.f-icon { font-size: 34px; display: block; margin-bottom: 8px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--gray); }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 32px; margin-bottom: 10px; }
.section-head h2::after { content: ""; display: block; width: 60px; height: 4px; background: var(--red); margin: 12px auto 0; border-radius: 2px; }
.section-head p { color: var(--gray); }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.card-img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 19px; margin-bottom: 8px; }
.card-body h3 a { color: var(--black); }
.card-body h3 a:hover { color: var(--red); }
.card-body p { font-size: 14.5px; color: var(--gray); flex: 1; margin-bottom: 14px; }
.card-link { font-weight: 700; font-size: 14px; }

/* About strip */
.about-strip { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.about-strip h2 { font-size: 30px; margin-bottom: 16px; }
.about-strip p { color: var(--gray); margin-bottom: 14px; }
.about-strip img { border-radius: 10px; box-shadow: 0 10px 26px rgba(0,0,0,.15); width: 100%; }
.about-strip .btn { margin-top: 6px; }

/* Page hero + breadcrumb */
.page-hero { background: linear-gradient(135deg, var(--black), #333 70%, var(--red-dark) 160%); color: #fff; padding: 46px 0; text-align: center; }
.page-hero h1 { font-size: 34px; }
.page-hero p { color: #ddd; margin-top: 8px; }
.breadcrumb { background: var(--light); border-bottom: 1px solid var(--border); font-size: 13.5px; padding: 10px 0; color: var(--gray); }
.breadcrumb span { margin: 0 6px; }

/* Service detail */
.service-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.service-img { border-radius: 10px; margin-bottom: 24px; width: 100%; max-height: 460px; object-fit: cover; box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.service-content p { margin-bottom: 16px; color: #333; }
.service-cta { margin-top: 26px; }
.aside-box { background: var(--light); border: 1px solid var(--border); border-radius: 10px; padding: 22px; margin-bottom: 22px; }
.aside-box h3 { font-size: 18px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--red); }
.aside-links { list-style: none; }
.aside-links li { border-bottom: 1px dashed var(--border); }
.aside-links li:last-child { border-bottom: none; }
.aside-links a { display: block; padding: 9px 0; color: var(--black); font-size: 14.5px; font-weight: 600; }
.aside-links a:hover { color: var(--red); padding-left: 5px; }
.aside-contact { background: var(--black); color: #ddd; border-color: var(--black); }
.aside-contact h3 { color: #fff; }
.aside-contact a { color: #fff; font-size: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: 28px; margin-bottom: 24px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; }
.c-icon { font-size: 26px; }
.contact-item h3 { font-size: 16px; margin-bottom: 3px; }
.contact-item p { color: var(--gray); }
.contact-map iframe { border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.12); }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 46px 0; }
.cta-inner { text-align: center; }
.cta-band h2 { font-size: 28px; margin-bottom: 8px; }
.cta-band p { margin-bottom: 22px; opacity: .95; }
.cta-band .cta-buttons { justify-content: center; }

/* Footer */
.site-footer { background: var(--black); color: #bbb; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 34px; padding: 52px 20px 40px; }
.footer-logo { background: #fff; padding: 8px 12px; border-radius: 6px; margin-bottom: 14px; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: #bbb; }
.footer-col a:hover { color: #fff; }
.footer-col p { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #333; padding: 16px 0; font-size: 13.5px; text-align: center; }
.footer-bottom a { color: #fff; font-weight: 600; }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; background: var(--wa); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); z-index: 200; transition: .2s; }
.wa-float:hover { transform: scale(1.08); background: var(--wa-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .about-strip, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .menu-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .main-nav li { width: 100%; }
  .main-nav a { padding: 13px 8px; border-bottom: 1px solid var(--border); }
  .nav-cta a { text-align: center; border-radius: 6px; margin-top: 8px; }
  .hero h1 { font-size: 27px; }
  .hero-inner { padding: 40px 20px; }
  .cards-grid, .features-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 26px; }
  .page-hero h1 { font-size: 27px; }
  .btn { width: 100%; text-align: center; }
  .hero-buttons, .cta-buttons, .service-cta { flex-direction: column; }
}
