/* ==========================================================================
   Av. Mehmet Botan Çevik - Hukuk Bürosu | Ana Stil Dosyası
   Tema: Lacivert (Navy) + Altın (Gold)
   ========================================================================== */

:root{
  --navy: #0a1f44;
  --navy-dark: #061630;
  --navy-soft: #f4f6fa;
  --gold: #c9a24b;
  --gold-light: #e6c877;
  --text-dark: #1c2430;
  --text-muted: #5a6578;
  --white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
}

*{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--white);
}

h1,h2,h3,h4,h5{ font-family: var(--font-heading); color: var(--navy); }

a{ text-decoration: none; transition: all .25s ease; }

img{ max-width: 100%; }

/* ---------- Preloader ---------- */
#preloader{
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.loaded{ opacity: 0; visibility: hidden; }
.preloader-inner span{
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  letter-spacing: 3px;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ opacity: .4; transform: scale(.95); }
  50%{ opacity: 1; transform: scale(1.05); }
}

/* ---------- Topbar ---------- */
.topbar{
  background: var(--navy-dark);
  color: #cdd6e5;
  font-size: .85rem;
  padding: 8px 0;
}
.topbar-info span{ margin-right: 24px; }
.topbar-info i{ color: var(--gold); margin-right: 6px; }
.topbar-info a{ color: #cdd6e5; }
.topbar-info a:hover{ color: var(--gold); }
.topbar-social a{
  color: #cdd6e5;
  margin-left: 16px;
  font-size: 1rem;
}
.topbar-social a:hover{ color: var(--gold); }
.topbar-social a:last-child{
  font-size: .85rem;
  margin-left: 24px;
  color: var(--gold-light);
  font-weight: 500;
}

/* ---------- Navbar ---------- */
.main-navbar{
  background: rgba(10, 31, 68, .92);
  backdrop-filter: blur(6px);
  padding: 14px 0;
  top: 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.main-navbar.scrolled{
  padding: 8px 0;
  background: var(--navy);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.navbar-brand{
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand-title{
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.brand-sub{
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: 3px;
  font-weight: 500;
}
.navbar-nav .nav-link{
  color: #e4e9f2;
  font-weight: 500;
  font-size: .93rem;
  margin: 0 10px;
  position: relative;
}
.navbar-nav .nav-link::after{
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after{ width: 100%; }
.navbar-nav .nav-link:hover{ color: var(--gold-light); }

.btn-cta{
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark) !important;
  font-weight: 600;
  border: none;
  padding: 10px 26px;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(201,162,75,.35);
}
.btn-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(201,162,75,.45);
  color: var(--navy-dark) !important;
}
.btn-outline-cta{
  border: 1.5px solid var(--gold);
  color: var(--gold) !important;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 4px;
  background: transparent;
}
.btn-outline-cta:hover{
  background: var(--gold);
  color: var(--navy-dark) !important;
}

/* ---------- Hero ---------- */
.hero{
  min-height: 100vh;
  position: relative;
  background: linear-gradient(rgba(6,22,48,.75), rgba(6,22,48,.85)),
              url('https://images.unsplash.com/photo-1589391886645-d51941baf7fb?q=80&w=1920&auto=format&fit=crop')
              center/cover no-repeat;
  display: flex;
}
.hero-overlay{
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(201,162,75,.12), transparent 45%);
}
.hero-kicker{
  color: var(--gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-kicker i{ margin-right: 8px; }
.hero-title{
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero-title span{ color: var(--gold-light); }
.hero-text{
  color: #d7dee9;
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 34px;
  line-height: 1.8;
}
.hero-buttons .btn{ margin: 0 10px 10px 0; }

/* ---------- Sections ---------- */
.section-padding{ padding: 100px 0; }
.bg-navy-soft{ background: var(--navy-soft); }

.section-kicker{
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 10px;
}
.section-title{
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 18px;
}
.section-desc{
  color: var(--text-muted);
  max-width: 640px;
  font-size: 1.02rem;
}
.lead-text{
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.8;
  font-weight: 500;
}
.body-text{
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 22px;
}

/* ---------- About ---------- */
.about-photo-wrap{ position: relative; }
.about-photo{
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 25px 50px rgba(10,31,68,.25);
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 50% 15%;
}
.about-photo-badge{
  position: absolute;
  bottom: -24px; right: -18px;
  background: var(--white);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 15px 35px rgba(10,31,68,.2);
  display: flex; align-items: center; gap: 12px;
  max-width: 260px;
}
.about-photo-badge i{ font-size: 1.8rem; color: var(--gold); }
.about-photo-badge strong{ display:block; font-size: .9rem; color: var(--navy); }
.about-photo-badge span{ font-size: .78rem; color: var(--text-muted); }

.principles-title{ font-size: 1.3rem; margin-bottom: 14px; }

.about-highlights li{
  padding: 8px 0;
  color: var(--text-dark);
  font-weight: 500;
}
.about-highlights i{ color: var(--gold); margin-right: 10px; }

/* ---------- Service Cards ---------- */
.service-card{
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(10,31,68,.06);
  border: 1px solid #eceff5;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10,31,68,.12);
  border-color: var(--gold);
}
.service-icon{
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon i{ font-size: 1.7rem; color: var(--gold-light); }
.service-card h3{
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.service-card p{
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.75;
  margin: 0;
}

/* ---------- Value Cards ---------- */
.value-card{
  padding: 30px 20px;
  height: 100%;
}
.value-card i{
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
}
.value-card h4{ font-size: 1.1rem; margin-bottom: 10px; }
.value-card p{ color: var(--text-muted); font-size: .92rem; }

/* ---------- Blog ---------- */
.blog-card{
  display: block;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(10,31,68,.06);
  border: 1px solid #eceff5;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.blog-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10,31,68,.14);
  border-color: var(--gold);
}
.blog-card-img{
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.blog-card-img::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,68,0), rgba(10,31,68,.55));
}
.blog-card-tag{
  position: absolute;
  left: 14px; bottom: 12px;
  z-index: 1;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .7rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: .3px;
}
.blog-card-body{ padding: 22px 20px; }
.blog-card-body h3{
  font-size: 1.02rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--navy);
}
.blog-card-body p{
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.blog-card-more{
  color: var(--gold);
  font-weight: 600;
  font-size: .85rem;
}
.blog-card-more i{ margin-left: 4px; transition: transform .25s ease; }
.blog-card:hover .blog-card-more i{ transform: translateX(4px); }

/* ---------- CTA Banner ---------- */
.cta-banner{
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  padding: 70px 0;
}
.cta-banner h2{ color: var(--white); margin-bottom: 12px; }
.cta-banner p{ color: #c6cede; max-width: 600px; margin: 0 auto 30px; }

/* ---------- Contact ---------- */
.contact-info-card{
  background: var(--white);
  border-radius: 12px;
  padding: 34px 28px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(10,31,68,.06);
}
.contact-info-item{
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eef1f7;
}
.contact-info-item:last-child{ border-bottom: none; }
.contact-info-item i{
  font-size: 1.3rem; color: var(--gold);
  width: 40px; height: 40px;
  background: var(--navy-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item h5{ font-size: .95rem; margin-bottom: 4px; }
.contact-info-item a, .contact-info-item span{ color: var(--text-muted); font-size: .92rem; }
.contact-info-item a:hover{ color: var(--gold); }

.contact-form{
  background: var(--white);
  border-radius: 12px;
  padding: 34px 28px;
  box-shadow: 0 10px 30px rgba(10,31,68,.06);
}
.contact-form .form-label{ font-size: .88rem; font-weight: 500; color: var(--navy); }
.contact-form .form-control, .contact-form .form-select{
  border: 1px solid #dfe4ee;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: .92rem;
}
.contact-form .form-control:focus, .contact-form .form-select:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(201,162,75,.15);
}
.form-note{ font-size: .9rem; font-weight: 500; }
.form-note.success{ color: #1f8a4c; }
.form-note.error{ color: #c0392b; }

/* ---------- Footer ---------- */
.footer{
  background: var(--navy-dark);
  color: #b7c0d1;
  padding: 70px 0 24px;
}
.footer-brand{
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.footer-brand span{ display: block; color: var(--gold); font-size: .7rem; letter-spacing: 3px; margin-top: 4px; }
.footer p{ font-size: .9rem; line-height: 1.8; color: #a7b1c4; }
.footer h5{ color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-links{ list-style: none; padding: 0; margin: 0; }
.footer-links li{ margin-bottom: 12px; font-size: .9rem; color: #a7b1c4; }
.footer-links a{ color: #a7b1c4; }
.footer-links a:hover{ color: var(--gold); }
.footer-social a{
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  margin-right: 10px;
  margin-top: 10px;
}
.footer-social a:hover{ background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.footer hr{ border-color: rgba(255,255,255,.1); margin: 40px 0 20px; }
.footer-bottom p{ margin: 0; font-size: .85rem; }
.footer-bottom .disclaimer{ color: #7b859a; font-size: .78rem; margin-top: 6px; }

/* ---------- Floating buttons ---------- */
.whatsapp-float{
  position: fixed;
  bottom: 96px; right: 26px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 1000;
  animation: floatPulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover{ color: var(--white); transform: scale(1.08); }
@keyframes floatPulse{
  0%,100%{ box-shadow: 0 8px 24px rgba(37,211,102,.4); }
  50%{ box-shadow: 0 8px 28px rgba(37,211,102,.7); }
}

.back-to-top{
  position: fixed;
  bottom: 26px; right: 26px;
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(10,31,68,.3);
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
}
.back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--gold); color: var(--navy-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 991px){
  .main-navbar{ background: var(--navy); }
  .navbar-nav .nav-link::after{ display: none; }
  .navbar-nav .nav-item.ms-lg-3{ margin-top: 12px; }
  .about-photo-badge{ position: static; margin-top: -30px; margin-left: 20px; margin-right: 20px; }
  .section-padding{ padding: 70px 0; }
}

@media (max-width: 575px){
  .hero-buttons .btn{ width: 100%; margin-right: 0; }
}

@media (max-width: 420px){
  .brand-title{ font-size: 1.05rem; letter-spacing: .5px; }
  .brand-sub{ font-size: .6rem; letter-spacing: 2px; }
}

/* ---------- Language switcher ---------- */
.lang-switcher .dropdown-toggle{
  font-weight: 600;
}
.lang-switcher .dropdown-toggle::after{ margin-left: 6px; }
.lang-switcher .dropdown-menu{ min-width: 140px; }
.lang-switcher .dropdown-item.active,
.lang-switcher .dropdown-item:active{ background: var(--gold); color: var(--navy-dark); }

/* ---------- Service card as link ---------- */
a.service-card{ display: block; color: inherit; }

/* ---------- Detail page ---------- */
.detail-hero{
  min-height: 46vh;
  position: relative;
  background: linear-gradient(rgba(6,22,48,.82), rgba(6,22,48,.9)),
              url('https://images.unsplash.com/photo-1589391886645-d51941baf7fb?q=80&w=1920&auto=format&fit=crop')
              center/cover no-repeat;
  display: flex;
  padding-top: 90px;
  padding-bottom: 40px;
}
.detail-breadcrumb{ background: transparent; padding: 0; margin-bottom: 20px; }
.detail-breadcrumb a{ color: #cdd6e5; }
.detail-breadcrumb a:hover{ color: var(--gold); }
.detail-breadcrumb .breadcrumb-item.active{ color: var(--gold-light); }
.detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before{ color: #7b859a; }
.detail-icon-badge{
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.detail-icon-badge i{ font-size: 1.7rem; color: var(--navy-dark); }
.detail-title{ color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 14px; }
.detail-summary{ color: #d7dee9; font-size: 1.05rem; max-width: 720px; }
.blog-detail-area{ color: #cdd6e5; font-size: .92rem; margin-top: 16px; }
.blog-detail-area-link{ color: var(--gold-light); font-weight: 600; margin-left: 4px; }
.blog-detail-area-link:hover{ color: var(--gold); }
.detail-body{ color: var(--text-muted); font-size: 1.02rem; line-height: 1.9; }
.detail-body p{ margin-bottom: 1.2em; }

/* ---------- RTL (Arabic) adjustments ---------- */
[dir="rtl"] body{ font-family: 'Noto Sans Arabic', 'Poppins', sans-serif; }
[dir="rtl"] .navbar-nav .nav-link::after{ left: auto; right: 0; }
[dir="rtl"] .about-highlights i,
[dir="rtl"] .topbar-info i,
[dir="rtl"] .contact-info-item i{ margin-right: 0; margin-left: 10px; }
[dir="rtl"] .blog-card-more i,
[dir="rtl"] .hero-kicker i{ margin-right: 8px; margin-left: 0; }
