/* ==========================================================================
   BEZADAV - Belediye Zabıtası Dayanışma Vakfı
   Modern, Dinamik ve Özelleştirilebilir Ana Stil Dosyası
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0B2E59;
  --primary-dark: #071d38;
  --primary-light: #153e73;
  --secondary: #0077C8;
  --secondary-hover: #005fa0;
  --accent: #F5B400;
  --accent-hover: #dfa300;
  --bg-light: #F7F9FC;
  --bg-white: #FFFFFF;
  --text-main: #1F2937;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --border-subtle: #EDF2F7;
  --shadow-sm: 0 2px 4px rgba(11, 46, 89, 0.04);
  --shadow-md: 0 6px 18px rgba(11, 46, 89, 0.08);
  --shadow-lg: 0 12px 28px rgba(11, 46, 89, 0.12);
  --shadow-hover: 0 16px 32px rgba(11, 46, 89, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-max: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-info a, .top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
}

.top-bar-info a:hover {
  color: var(--accent);
}

.top-bar-info i {
  color: var(--accent);
  font-size: 14px;
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-social a {
  color: #e2e8f0;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.top-bar-social a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   MAIN NAVBAR
   ========================================================================== */
.main-header {
  background-color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 8px 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-img {
  height: 82px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.logo-wrapper:hover .logo-img {
  transform: scale(1.02);
}

.logo-img-footer {
  height: 82px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.logo-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 10px 0;
  position: relative;
}

.nav-link i.fa-house {
  font-size: 14px;
  color: var(--secondary);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--secondary);
}

.nav-item.active .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 220px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: #f0f7ff;
  color: var(--secondary);
  padding-left: 22px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-btn {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.search-btn:hover {
  color: var(--secondary);
  background: #f1f5f9;
}

.admin-login-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: #e9f2fb;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid #d0e3f7;
  transition: var(--transition);
}

.admin-login-link:hover {
  background: var(--primary);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--primary);
  cursor: pointer;
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background-color: #071D38;
  color: #ffffff;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.slider-container {
  position: relative;
  width: 100%;
}

.slide-item {
  display: none;
  position: relative;
  background-size: cover;
  background-position: center right;
  padding: 100px 0 120px 0;
  min-height: 560px;
}

.slide-item.active {
  display: flex;
  align-items: center;
  animation: fadeInSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

/* Sol Taraftaki Yumuşak Degrade ve Fluluk Katmanı */
.slide-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 46, 89, 0.98) 0%,
    rgba(11, 46, 89, 0.94) 28%,
    rgba(11, 46, 89, 0.75) 45%,
    rgba(11, 46, 89, 0.35) 65%,
    rgba(11, 46, 89, 0.05) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.slide-subtitle {
  font-size: 21px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.slide-desc {
  font-size: 15.5px;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 34px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.slide-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary-outline {
  background: rgba(11, 46, 89, 0.7);
  color: #ffffff;
  border: 1.5px solid #0077C8;
  backdrop-filter: blur(4px);
}

.btn-primary-outline:hover {
  background: #0077C8;
  border-color: #0077C8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 200, 0.4);
}

.btn-accent {
  background-color: var(--accent);
  color: #0B2E59;
  font-weight: 800;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 180, 0, 0.4);
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: #F5B400;
  width: 28px;
  border-radius: 6px;
}

.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(11, 46, 89, 0.75);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.slider-prev-btn {
  left: 24px;
}

.slider-next-btn {
  right: 24px;
}

/* Sadece slider üzerine gelindiğinde oklar belirsin */
.hero-slider-section:hover .slider-arrow-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.slider-arrow-btn:hover {
  background: #0077C8 !important;
  border-color: #0077C8 !important;
  color: #FFFFFF !important;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 119, 200, 0.4);
}

@media (max-width: 768px) {
  .slider-arrow-btn {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .slider-prev-btn { left: 10px; }
  .slider-next-btn { right: 10px; }
}

/* ==========================================================================
   QUICK ACCESS FLOATING CARDS
   ========================================================================== */
.quick-access-section {
  position: relative;
  margin-top: -45px;
  z-index: 10;
  margin-bottom: 50px;
}

.quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: var(--transition);
}

.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.quick-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #0077C8;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: var(--transition);
}

.quick-card:hover .quick-card-icon {
  background: var(--primary);
}

.quick-card-content {
  flex-grow: 1;
}

.quick-card-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.quick-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   PRODUCTS SHOWCASE & CATALOG
   ========================================================================== */
.products-section {
  padding: 40px 0 60px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}

.product-img-wrap {
  width: 100%;
  height: 220px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  padding: 10px;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 8px;
  flex-grow: 1;
}

.product-code {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 14px;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: #F1F5F9;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  width: 100%;
}

/* ==========================================================================
   E-COMMERCE STYLE PRODUCT DETAIL PAGE
   ========================================================================== */
.product-detail-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 45px;
}

.product-gallery-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-main-image-wrap {
  width: 100%;
  height: 420px;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.product-main-image-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-main-image-wrap:hover img {
  transform: scale(1.08);
}

.product-stamp-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #0B2E59;
  color: #F5B400;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-thumbs-strip {
  display: flex;
  gap: 10px;
}

.product-thumb-item {
  width: 75px;
  height: 75px;
  border-radius: 6px;
  border: 2px solid var(--border-color);
  background: #F8FAFC;
  padding: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.product-thumb-item.active, .product-thumb-item:hover {
  border-color: var(--secondary);
}

.product-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info-col {
  display: flex;
  flex-direction: column;
}

.product-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.product-cat-pill {
  background: #E0F2FE;
  color: #0369A1;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.product-code-pill {
  background: #F1F5F9;
  color: #475569;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.product-availability {
  font-size: 12px;
  font-weight: 700;
  color: #16A34A;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.product-availability::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #16A34A;
  border-radius: 50%;
  display: inline-block;
}

.product-main-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.product-short-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 24px;
}

.product-features-box {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 28px;
}

.product-features-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.product-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #334155;
  font-weight: 600;
}

.product-feat-item i {
  color: #0077C8;
  font-size: 14px;
}

.product-actions-wrap {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.btn-whatsapp-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.btn-whatsapp-inquiry:hover {
  background: #1eb954;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-phone-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0B2E59;
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid #0B2E59;
}

.btn-phone-navy:hover {
  background: #0077C8;
  color: #FFFFFF !important;
  border-color: #0077C8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 46, 89, 0.25);
}

/* ==========================================================================
   PRESIDENT MESSAGE CARD
   ========================================================================== */
.president-card {
  background: linear-gradient(145deg, #0B2E59 0%, #082142 100%);
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.president-content {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.president-quote-icon {
  color: #F5B400;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 14px;
  display: inline-block;
}

.president-quote-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.45;
  margin-bottom: 12px;
}

.president-quote-body {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.president-author-box {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
}

.president-author {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.president-role {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  line-height: 1.35;
}

.president-img-wrap {
  width: 140px;
  flex-shrink: 0;
  background: #061933;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.president-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-guarantee-band {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}

.product-guarantee-band span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Tabs */
.product-tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 25px;
}

.product-tab-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}

.product-tab-btn.active, .product-tab-btn:hover {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

.product-tab-pane {
  display: none;
  font-size: 14.5px;
  line-height: 1.8;
  color: #334155;
}

.product-tab-pane.active {
  display: block;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  font-size: 13.5px;
}

.specs-table td:first-child {
  width: 200px;
  font-weight: 700;
  color: var(--primary);
  background: #F8FAFC;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
  position: relative;
}

.section-title.with-bar::after {
  content: '';
  display: block;
  width: 50px;
  height: 3.5px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 6px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.section-link:hover {
  color: var(--secondary);
  gap: 10px;
}

/* ==========================================================================
   NEWS 4-ITEM CAROUSEL SLIDER
   ========================================================================== */
.news-section {
  padding: 50px 0 60px 0;
  background: #F8FAFC;
}

.news-carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 6px 2px 14px 2px;
}

.news-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 20px;
}

.news-carousel-item {
  flex: 0 0 calc(25% - 15px);
  min-width: calc(25% - 15px);
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .news-carousel-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
  }
}

@media (max-width: 900px) {
  .news-carousel-item {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .news-carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

.carousel-nav-btns {
  display: flex;
  gap: 8px;
}

.carousel-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #0B2E59;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.carousel-arrow-btn:hover {
  background: #0B2E59;
  color: #FFFFFF;
  border-color: #0B2E59;
  transform: scale(1.08);
}

.news-card {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(11, 46, 89, 0.12);
  border-color: #CBD5E1;
}

.news-img-wrap {
  width: 100%;
  height: 175px;
  position: relative;
  overflow: hidden;
  background: #E2E8F0;
  display: block;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrap img {
  transform: scale(1.06);
}

.news-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0B2E59;
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-card:hover .news-title a {
  color: #0077C8;
}

.news-summary {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: #0077C8;
  text-decoration: none;
  transition: gap 0.2s ease;
  margin-top: auto;
}

.news-read-more:hover {
  gap: 10px;
  color: #0B2E59;
}

/* ==========================================================================
   DUYURULAR + MEVZUAT + BAŞKANIN MESAJI SECTION (DENGELİ 2 KOLON)
   ========================================================================== */
.info-president-section {
  padding: 30px 0 65px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  align-items: stretch;
}

/* Sağ Kolon: Alt Alta Duyurular ve Mevzuat */
.info-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

/* Kart Kutuları */
.info-box {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.info-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.info-box-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #F8FAFC;
  transition: var(--transition);
  text-decoration: none;
}

.info-item:hover {
  background: #EBF5FF;
  transform: translateX(4px);
}

.info-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #0077C8;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.info-text-wrap {
  flex-grow: 1;
}

.info-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 2px;
}

.info-item:hover .info-item-title {
  color: var(--secondary);
}

.info-item-date {
  font-size: 11px;
  color: var(--text-light);
}

/* Mevzuat Özel Kartı */
.mevzuat-highlight-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mevzuat-gov-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0B2E59;
  color: #FFFFFF !important;
  padding: 11px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(11, 46, 89, 0.2);
}

.mevzuat-gov-btn:hover {
  background: #0077C8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 119, 200, 0.3);
}

.btn-mevzuat-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0B2E59 !important;
  color: #FFFFFF !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(11, 46, 89, 0.15);
}

.btn-mevzuat-navy:hover {
  background: #0077C8 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 119, 200, 0.25);
}

.mevzuat-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.2s ease;
  gap: 16px;
}

.mevzuat-row-card:hover {
  background: #F8FAFC;
  border-color: #0077C8;
  box-shadow: 0 4px 12px rgba(0, 119, 200, 0.08);
}

/* Sol Kolon: Başkanın Mesajı Özel Kartı */
.president-card {
  background: linear-gradient(145deg, #0B2E59 0%, #061930 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}

.president-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 119, 200, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.president-content {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.president-quote-icon {
  font-size: 28px;
  line-height: 1;
  color: #F5B400;
  margin-bottom: 12px;
}

.president-quote-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 10px;
}

.president-quote-body {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 14px;
}

.president-img-wrap {
  width: 140px;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(245, 180, 0, 0.4);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.president-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.president-author-box {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.president-author {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.president-role {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}
  font-weight: 500;
}

.president-img-wrap {
  width: 140px;
  height: 180px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.president-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   SAYILARLA ZABITA (STATS BAR)
   ========================================================================== */
.stats-section {
  background-color: var(--primary);
  color: #ffffff;
  padding: 38px 0;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.stat-icon-wrap {
  font-size: 32px;
  color: #ffffff;
  opacity: 0.95;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.stat-title {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   FAALİYETLERİMİZDEN KARELER (GALLERY)
   ========================================================================== */
.gallery-section {
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(11, 46, 89, 0.12);
  border-color: #cbd5e1;
}

.gallery-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f1f5f9;
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.06);
}

.gallery-photo-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(11, 46, 89, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gallery-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
  background: #ffffff;
}

.gallery-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0b2e59;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.gallery-card:hover .gallery-card-title {
  color: #0077c8;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 46, 89, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #ffffff;
  font-size: 20px;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--primary);
  color: #ffffff;
  padding: 60px 0 0 0;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr 1.4fr;
  gap: 30px;
  padding-bottom: 50px;
}

.footer-brand .logo-title {
  color: #ffffff;
  font-size: 15px;
}

.footer-brand .logo-subtitle {
  color: var(--accent);
}

.footer-about-text {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 16px 0 20px 0;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: #cbd5e1;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.4;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-map-col {
  display: flex;
  flex-direction: column;
}

.footer-map-box {
  width: 100%;
  height: 150px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
}

.footer-map-box img, .footer-map-box svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-bottom {
  background-color: var(--primary-dark);
  padding: 16px 0;
  font-size: 12.5px;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-shortcut {
  color: #64748b;
  font-size: 11px;
}

.admin-shortcut:hover {
  color: var(--accent);
}

/* ==========================================================================
   INNER PAGES / SUBPAGE COMMON STYLES
   ========================================================================== */
.page-header {
  background: var(--primary);
  color: #ffffff;
  padding: 45px 0;
  margin-bottom: 40px;
}

.page-header-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
}

.breadcrumbs a {
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.page-content-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 60px;
}

.page-content-card h2, .page-content-card h3 {
  color: var(--primary);
  margin: 20px 0 10px 0;
}

.page-content-card p {
  margin-bottom: 16px;
  color: #334155;
}

/* ==========================================================================
   SEARCH MODAL & LIGHTBOX
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 46, 89, 0.85);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.search-modal-box {
  width: 90%;
  max-width: 600px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.search-input-group {
  display: flex;
  gap: 10px;
}

.search-input-group input {
  flex-grow: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.search-input-group input:focus {
  border-color: var(--secondary);
}

.modal-close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .president-card {
    grid-column: span 2;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .top-bar-info {
    font-size: 12px;
    gap: 14px;
  }
  .quick-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .slide-title {
    font-size: 30px;
  }
  .slide-subtitle {
    font-size: 18px;
  }
  .quick-cards-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .president-card {
    grid-column: span 1;
    flex-direction: column-reverse;
  }
  .president-img-wrap {
    width: 100%;
    height: 200px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* News Grid & Card Component Styles */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.news-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #F1F5F9;
  display: block;
}

.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img-wrap img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--primary);
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.news-title a:hover {
  color: var(--secondary);
}

.news-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

.news-read-more:hover {
  color: var(--primary);
  gap: 10px;
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   OFF-CANVAS MOBILE DRAWER MENU & 2-COLUMN MOBILE NEWS
   ========================================================================== */
.offcanvas-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offcanvas-overlay.active {
  display: block;
  opacity: 1;
}

.offcanvas-header, .offcanvas-footer {
  display: none;
}

@media (min-width: 992px) {
  .offcanvas-overlay,
  .offcanvas-header,
  .offcanvas-footer {
    display: none !important;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 28px !important;
    position: static !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    height: auto !important;
    width: auto !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-menu .nav-item {
    display: flex;
    align-items: center;
  }

  .mobile-toggle {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 290px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    background: #FFFFFF !important;
    z-index: 99999 !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 0 !important;
    box-shadow: 10px 0 35px rgba(11, 46, 89, 0.22) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    overflow-y: auto !important;
  }

  .nav-menu.open {
    transform: translateX(0) !important;
  }

  /* ── Off-Canvas Header ── */
  .offcanvas-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    background: #fff !important;
    border-bottom: 2px solid #F1F5F9 !important;
    min-height: 60px !important;
  }

  .offcanvas-logo-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    flex: 1 !important;
  }

  .offcanvas-logo-img {
    height: 48px !important;
    max-width: 200px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  .offcanvas-close-btn {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    color: #64748B !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
    flex-shrink: 0 !important;
    margin-left: 8px !important;
  }

  .offcanvas-close-btn:hover {
    background: #FEE2E2 !important;
    border-color: #FCA5A5 !important;
    color: #DC2626 !important;
  }

  /* ── Nav Items ── */
  .nav-menu .nav-item {
    width: 100% !important;
    border-bottom: 1px solid #F1F5F9 !important;
  }

  .nav-menu .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    color: #1E293B !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    text-decoration: none !important;
    letter-spacing: 0.3px !important;
    transition: background 0.15s ease !important;
  }

  .nav-menu .nav-link:hover {
    background: #F8FAFC !important;
  }

  .nav-menu .nav-link i.fa-house {
    color: var(--secondary) !important;
    font-size: 13px !important;
  }

  .nav-menu .nav-link i.fa-chevron-down,
  .nav-menu .nav-link i.fa-chevron-up {
    margin-left: auto !important;
    color: #CBD5E1 !important;
    font-size: 10px !important;
    transition: transform 0.2s ease !important;
  }

  .nav-menu .nav-item.active > .nav-link {
    color: var(--secondary) !important;
    background: #EFF6FF !important;
    border-left: 3px solid var(--secondary) !important;
    padding-left: 13px !important;
  }

  /* ── Collapsible Submenus ── */
  .nav-menu .dropdown-menu {
    display: none !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: #F8FAFC !important;
    border-top: 1px solid #EEF2F7 !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .nav-menu .dropdown-menu.open {
    display: block !important;
  }

  .nav-menu .dropdown-item {
    padding: 8px 16px 8px 30px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #475569 !important;
    border-bottom: 1px solid #EEF2F7 !important;
    text-decoration: none !important;
    transition: all 0.12s ease !important;
  }

  .nav-menu .dropdown-item::before {
    content: '›' !important;
    color: #CBD5E1 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    margin-right: -2px !important;
  }

  .nav-menu .dropdown-item:last-child {
    border-bottom: none !important;
  }

  .nav-menu .dropdown-item:hover {
    color: var(--secondary) !important;
    background: #EFF6FF !important;
    padding-left: 34px !important;
  }

  /* ── Offcanvas Footer ── */
  .offcanvas-footer {
    display: flex !important;
    flex-direction: column !important;
    padding: 14px 16px !important;
    background: #0B2E59 !important;
    color: #FFFFFF !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    gap: 7px !important;
    margin-top: auto !important;
  }

  .offcanvas-contact-title {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #F5B400 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 2px !important;
  }

  .offcanvas-contact-link {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #CBD5E1 !important;
    text-decoration: none !important;
  }

  .offcanvas-contact-link:hover {
    color: #F5B400 !important;
  }

  .offcanvas-contact-link i {
    color: #F5B400 !important;
    font-size: 12px !important;
    width: 13px !important;
  }

  .offcanvas-contact-address {
    display: flex !important;
    align-items: flex-start !important;
    gap: 7px !important;
    font-size: 10.5px !important;
    color: #94A3B8 !important;
    line-height: 1.4 !important;
  }

  .offcanvas-contact-address i {
    color: #F5B400 !important;
    margin-top: 1px !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
  }

  .offcanvas-social-icons {
    display: flex !important;
    gap: 6px !important;
    margin-top: 4px !important;
  }

  .offcanvas-social-icons a {
    width: 28px !important;
    height: 28px !important;
    background: rgba(255,255,255,0.1) !important;
    color: #FFFFFF !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    text-decoration: none !important;
    transition: all 0.18s ease !important;
  }

  .offcanvas-social-icons a:hover {
    background: #F5B400 !important;
    color: #0B2E59 !important;
  }
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .news-carousel-item,
  .products-carousel-item {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
  }
  .news-card-body {
    padding: 10px !important;
  }
  .news-title {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
  .news-summary {
    font-size: 11.5px !important;
    -webkit-line-clamp: 2 !important;
  }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE RESPONSIVE STYLES
   ========================================================================== */
.product-detail-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 30px;
  margin-top: 20px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: start;
}

.product-main-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #F8FAFC;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-main-image-wrap:hover img {
  transform: scale(1.04);
}

.product-stamp-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 46, 89, 0.9);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  text-transform: uppercase;
}

.product-thumbs-strip {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.product-thumb-item {
  width: 65px;
  height: 65px;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  background: #F8FAFC;
  padding: 4px;
}

.product-thumb-item.active,
.product-thumb-item:hover {
  border-color: var(--secondary);
}

.product-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table tr:nth-child(even) {
  background: #F8FAFC;
}

.specs-table td {
  padding: 12px 16px;
  font-size: 13.5px;
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--primary);
  width: 35%;
  background: rgba(11, 46, 89, 0.03);
}

@media (max-width: 991px) {
  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
}

@media (max-width: 768px) {
  .product-detail-card {
    padding: 16px !important;
    border-radius: 10px !important;
    margin-top: 10px !important;
    margin-bottom: 25px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .product-gallery-box {
    width: 100% !important;
  }

  .product-main-image-wrap {
    width: 100% !important;
    height: auto !important;
    max-height: 340px !important;
    aspect-ratio: 1/1 !important;
    box-sizing: border-box !important;
  }

  .product-main-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }

  .product-header-meta {
    gap: 8px !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap !important;
  }

  .product-cat-pill,
  .product-code-pill {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }

  .product-availability {
    margin-left: 0 !important;
    width: 100% !important;
    margin-top: 4px !important;
  }

  .product-features-box {
    padding: 14px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
  }

  .product-features-list {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .product-actions-wrap {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }

  .product-actions-wrap a,
  .product-actions-wrap button,
  .btn-whatsapp-inquiry,
  .btn-phone-navy,
  .product-actions-wrap .btn-accent {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 13px 16px !important;
    font-size: 13.5px !important;
    border-radius: 8px !important;
  }

  .product-guarantee-band {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 12px 14px !important;
    background: #F8FAFC !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  .product-tabs-nav {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px !important;
    border-bottom: 2px solid var(--border-color) !important;
  }

  .product-tab-btn {
    flex-shrink: 0 !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
  }

  .specs-table {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .specs-table td {
    padding: 10px 12px !important;
    font-size: 12.5px !important;
    word-break: break-word !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .slider-arrow-btn,
  .slider-prev-btn,
  .slider-next-btn,
  #heroPrevBtn,
  #heroNextBtn {
    display: none !important;
  }
}

/* ==========================================================================
   SIDEBAR & PAGE DETAIL RESPONSIVE LAYOUT GRIDS
   ========================================================================== */
.sidebar-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

.detail-layout-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.gallery-inner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 991px) {
  .sidebar-layout-grid,
  .detail-layout-grid,
  .contact-grid,
  .form-row-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .gallery-inner-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
  align-items: start;
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==========================================================================
   MOBILE FINE-TUNING FOR ALL SUBPAGES & COMPONENTS
   ========================================================================== */
@media (max-width: 991px) {
  .page-header {
    padding: 24px 0 !important;
  }

  .page-header-title {
    font-size: 22px !important;
  }

  .page-content-card {
    padding: 20px !important;
  }

  .page-body {
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  .page-body img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
  }

  .news-grid,
  .products-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 12px !important;
  }

  .page-content-card {
    padding: 16px !important;
  }

  .news-grid,
  .products-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .news-card-body,
  .product-card-body {
    padding: 12px !important;
  }

  .news-title,
  .product-title {
    font-size: 13.5px !important;
  }
}
