/* ==========================================================
   Kaplan Legal & Consultancy - Global Stil
   ========================================================== */

:root {
  --navy:        #0b1a2b;
  --navy-light:  #14243b;
  --navy-soft:   #1c2e4a;
  --gold:        #c9a227;
  --gold-soft:   #d9b848;
  --text:        #2b2f36;
  --muted:       #6b7280;
  --bg:          #f6f7fb;
  --card:        #ffffff;
  --border:      #e6e8ee;
  --radius:      10px;
  --shadow-sm:   0 2px 8px rgba(11, 26, 43, 0.06);
  --shadow:      0 8px 24px rgba(11, 26, 43, 0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15.5px;
}
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 {
  font-family: "Cormorant Garamond", "Georgia", serif;
  color: var(--navy);
  margin: 0 0 .6em 0;
  line-height: 1.25;
  font-weight: 600;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em 0; }

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

/* --------- Top Bar --------- */
.topbar {
  background: var(--navy);
  color: #d6dbe4;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid #1a2c46;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.topbar a { color: #d6dbe4; }
.topbar a:hover { color: var(--gold); }
.topbar .tb-info span { margin-right: 18px; }
.topbar .tb-info i { color: var(--gold); margin-right: 6px; }
.topbar .tb-social a { margin-left: 12px; }
.topbar .lang-switch { padding: 3px 10px; border: 1px solid rgba(201,162,39,.5); border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.topbar .lang-switch:hover { background: var(--gold); color: #fff !important; border-color: var(--gold); }

/* --------- Header --------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.logo img { height: 82px; width: auto; max-width: 340px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  letter-spacing: .3px;
  border-radius: 6px;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--gold); background: #fcf7e8; }
.main-nav .has-sub > a::after {
  content: "▾"; margin-left: 6px; font-size: 11px; opacity: .7;
}
.main-nav .submenu {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 240px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 8px 0;
  display: none;
  z-index: 60;
}
.main-nav .has-sub:hover > .submenu { display: block; }
.main-nav .submenu li a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text);
  border-left: 3px solid transparent;
}
.main-nav .submenu li a:hover {
  background: #faf6e8;
  color: var(--navy);
  border-left-color: var(--gold);
}

.nav-toggle {
  display: none; background: none; border: 0; font-size: 24px; color: var(--navy); cursor: pointer;
}

/* --------- Buttons --------- */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  text-transform: uppercase;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #b38d1a; color: #fff; }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--gold); color: #fff; }

/* --------- Hero Slider --------- */
.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,14,26,.78), rgba(6,14,26,.35));
}
.hero-slide .container { position: relative; z-index: 1; max-width: 780px; }
.hero h1 { color: #fff; font-size: 3.2rem; line-height: 1.15; margin-bottom: .3em; }
.hero .hero-sub {
  font-size: 1.05rem; color: #e5e8ef; margin-bottom: 28px; max-width: 600px;
}
.hero .hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-dots {
  position: absolute; bottom: 22px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px; z-index: 5;
}
.hero-dots button {
  width: 40px; height: 4px; border-radius: 2px; border: 0; background: #ffffff55; cursor: pointer;
}
.hero-dots button.active { background: var(--gold); }

/* --------- Sections --------- */
.section { padding: 80px 0; }
.section-alt { background: #fff; }
.section-dark { background: var(--navy); color: #d6dbe4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .kicker {
  display: inline-block; color: var(--gold); font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px; font-size: 13px; margin-bottom: 10px;
}
.section-head h2 { font-size: 2.4rem; }
.section-head .divider {
  width: 60px; height: 3px; background: var(--gold); margin: 14px auto 18px;
}
.section-head p { color: var(--muted); max-width: 680px; margin: 0 auto; }

/* --------- Service Grid --------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fcf5dd; color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
  transition: all .3s ease;
}
.service-card:hover .icon { background: var(--gold); color: #fff; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.service-card .more { color: var(--gold); font-weight: 600; font-size: 13.5px; }
.service-card .more::after { content: " →"; }

/* --------- About / Info Row --------- */
.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-row .about-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: url('../img/brand-box.svg') center/cover no-repeat var(--navy);
}
.about-row ul { list-style: none; padding: 0; margin: 18px 0; }
.about-row ul li { padding: 6px 0 6px 28px; position: relative; }
.about-row ul li::before {
  content: "✓"; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
}

/* --------- Stats --------- */
.stats {
  background: var(--navy) url('../img/hero1.svg') center/cover no-repeat;
  color: #fff;
  padding: 70px 0;
  position: relative;
}
.stats::before {
  content: ""; position: absolute; inset: 0; background: rgba(5,12,22,.82);
}
.stats .container { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats-grid .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem; color: var(--gold); line-height: 1;
}
.stats-grid .lbl {
  margin-top: 8px; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #d6dbe4;
}
.stats-grid .icon { color: var(--gold); font-size: 26px; margin-bottom: 10px; }

/* --------- Packages --------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 30px; text-align: center; transition: all .3s ease; position: relative;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(201, 162, 39, .15);
  transform: scale(1.03);
}
.price-card.featured::after {
  content: "Önerilen";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  padding: 5px 14px; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  border-radius: 20px; text-transform: uppercase;
}
.price-card h3 { font-size: 1.5rem; }
.price-card .price {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem; color: var(--gold); line-height: 1;
  margin: 14px 0 6px;
}
.price-card .period { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; }
.price-card ul li { padding: 8px 0 8px 24px; position: relative; font-size: 14px; border-bottom: 1px dashed #eee; }
.price-card ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}

/* --------- Team --------- */
.team-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .3s ease; text-align: center;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card .photo { aspect-ratio: 4/5; overflow: hidden; background: var(--navy-light); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .info { padding: 22px; }
.team-card .info h3 { margin-bottom: 4px; font-size: 1.2rem; }
.team-card .info .role {
  color: var(--gold); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
}
.team-card .info p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.team-card .team-meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); text-align: left; font-size: 13px; color: var(--text); }
.team-card .team-meta div { padding: 4px 0; display: flex; gap: 8px; align-items: flex-start; }
.team-card .team-meta i { color: var(--gold); width: 16px; margin-top: 3px; flex-shrink: 0; }
.team-card .team-meta a { color: var(--text); word-break: break-all; }
.team-card .team-meta a:hover { color: var(--gold); }

/* --------- Publications --------- */
.publication-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: all .3s ease;
}
.publication-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.publication-card .meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.publication-card .meta i { color: var(--gold); margin-right: 6px; }
.publication-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.publication-card h3 a:hover { color: var(--gold); }
.publication-card p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.publication-card .read-more { font-weight: 600; color: var(--gold); font-size: 13.5px; }

/* --------- FAQ --------- */
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  padding: 18px 22px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; color: var(--navy);
}
.faq-q::after { content: "+"; font-size: 22px; color: var(--gold); transition: transform .25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  padding: 0 22px; color: var(--muted); font-size: 14.5px;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 22px 22px; }

/* --------- Testimonial --------- */
.testimonial-card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); position: relative;
}
.testimonial-card::before {
  content: "“"; position: absolute; top: 6px; left: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 5rem; color: var(--gold); opacity: .3; line-height: 1;
}
.testimonial-card .comment { font-style: italic; color: var(--text); margin-bottom: 16px; }
.testimonial-card .author { font-weight: 700; color: var(--navy); }
.testimonial-card .role { color: var(--muted); font-size: 13px; }
.testimonial-card .stars { color: var(--gold); margin-bottom: 10px; }

/* --------- Page Hero --------- */
.page-hero {
  background: linear-gradient(rgba(6,14,26,.85), rgba(6,14,26,.85)), url('../img/hero1.svg') center/cover;
  color: #fff; padding: 80px 0 70px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: 2.8rem; }
.page-hero .breadcrumb { color: #c8cfda; font-size: 14px; }
.page-hero .breadcrumb a { color: var(--gold); }

/* --------- Contact --------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info .ci-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.contact-info .ci-item .ci-icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  background: #fcf5dd; color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-info .ci-item h4 { margin: 0 0 2px; font-size: 1rem; font-family: inherit; color: var(--navy); }
.contact-info .ci-item p { margin: 0; color: var(--muted); font-size: 14px; }

form.contact-form { background: #fff; padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
form input, form textarea, form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
form input:focus, form textarea:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}
form .field { margin-bottom: 16px; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 18px; font-size: 14px; }
.alert-success { background: #e6f7ec; color: #1b7a3b; border: 1px solid #bfe6cd; }
.alert-error { background: #fdecea; color: #a41c1c; border: 1px solid #f5c2c0; }

/* --------- Calculator tile --------- */
.calc-tile {
  display: flex; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: all .3s ease;
}
.calc-tile:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.calc-tile .ct-icon {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.calc-tile h3 { font-family: inherit; font-size: 1rem; margin: 0 0 4px; color: var(--navy); }
.calc-tile p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* --------- Petition list --------- */
.petition-list { list-style: none; padding: 0; margin: 0; }
.petition-list li {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: all .25s ease;
}
.petition-list li:hover { border-color: var(--gold); transform: translateX(4px); }
.petition-list li .pl-title { font-weight: 600; color: var(--navy); }
.petition-list li .pl-meta { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* --------- Footer --------- */
.site-footer {
  background: #081322; color: #b8c2d1; padding-top: 70px;
}
.site-footer h4 {
  color: #fff; font-size: 1.1rem; font-family: inherit;
  margin-bottom: 20px; position: relative; padding-bottom: 10px;
}
.site-footer h4::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 34px; height: 2px; background: var(--gold);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer p { color: #b8c2d1; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 5px 0; font-size: 14px; }
.site-footer ul li a { color: #b8c2d1; }
.site-footer ul li a:hover { color: var(--gold); padding-left: 4px; }
.site-footer .logo-footer { margin-bottom: 18px; }
.site-footer .logo-footer img { height: 100px; max-width: 320px; }
.site-footer .ci-mini { font-size: 13.5px; line-height: 1.8; }
.site-footer .ci-mini i { color: var(--gold); width: 18px; }
.footer-bottom {
  border-top: 1px solid #13253e; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: #8894a8;
}
.footer-bottom .social a {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
  background: #13253e; color: #b8c2d1; align-items: center; justify-content: center;
  margin-left: 8px; transition: all .25s;
}
.footer-bottom .social a:hover { background: var(--gold); color: #fff; }

/* --------- Utility --------- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.badge { display: inline-block; padding: 3px 10px; background: #fcf5dd; color: var(--gold); border-radius: 20px; font-size: 12px; font-weight: 600; }

/* --------- Responsive --------- */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .about-row, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 2.2rem; }
  .hero { min-height: 440px; }
}
@media (max-width: 720px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 10px 20px; box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav .submenu { position: static; box-shadow: none; border: 0; padding-left: 16px; display: none; }
  .main-nav .has-sub.open .submenu { display: block; }
  .nav-toggle { display: inline-block; }
  .topbar .tb-info span { display: block; margin: 3px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  form .row { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; } h2 { font-size: 1.6rem; }
  .section { padding: 55px 0; }
}
