/* ==========================================================================
   Göksu Tesisat - Authentic Professional Master Plumbing Design System
   ========================================================================== */
:root {
  /* Core Plumber Brand Colors */
  --primary: #0284c7;          /* Plumber Tech Blue */
  --primary-dark: #0369a1;     /* Deep Master Navy */
  --primary-navy: #0b1f3a;     /* Industrial Deep Blue */
  --primary-light: #38bdf8;    /* Aqua Accent */
  
  --accent-orange: #ea580c;    /* Emergency Safety Orange */
  --accent-orange-hover: #c2410c;
  --accent-amber: #f59e0b;     /* Trust Gold */
  --accent-yellow: #fbbf24;
  --success-green: #16a34a;
  --whatsapp-green: #25D366;

  /* Surfaces & Backgrounds */
  --bg-page: #f8fafc;          /* Ultra Clean Crisp Slate-White */
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-topbar: #081426;        /* Deep Midnight Navy */
  --bg-hero: linear-gradient(135deg, #071527 0%, #0c2340 50%, #133863 100%);
  --bg-dark-section: #0b192c;

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --border-hover: #0284c7;
  --border-subtle: #f1f5f9;

  /* Typography Colors */
  --text-primary: #0f172a;     /* Charcoal Black */
  --text-secondary: #334155;   /* Slate Gray */
  --text-muted: #64748b;       /* Cool Slate */
  --text-light: #f8fafc;       /* Off-White */

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --gradient-emergency: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  --gradient-amber: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 4px 18px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 14px 30px rgba(2, 132, 199, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-orange: 0 6px 20px rgba(234, 88, 12, 0.35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: var(--primary);
  color: white;
}

::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0369a1;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--primary-dark);
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.85rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.text-gradient {
  color: var(--primary-dark);
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }

/* ==========================================================================
   Top Emergency Bar
   ========================================================================== */
.top-bar {
  background: var(--bg-topbar);
  color: #cbd5e1;
  font-size: 0.84rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  flex-wrap: nowrap;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-bar-highlight {
  color: #fbbf24;
  font-weight: 700;
}

.top-bar a {
  color: #e2e8f0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.top-bar a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all 0.25s ease;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: max-content;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
  border: 2px solid #0284c7;
  flex-shrink: 0;
}

.logo-text {
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: clamp(0.35rem, 0.8vw, 1rem);
  margin: 0;
  padding: 0;
  white-space: nowrap;
  align-items: center;
}

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: clamp(0.82rem, 0.82vw, 0.92rem);
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--primary);
  background: #f0f9ff;
}

.nav-menu a.active {
  color: var(--primary);
  background: #f0f9ff;
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}

.lang-switch-badge {
  color: var(--primary-navy);
  text-decoration: none;
  padding: 4px 10px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  background: #f8fafc;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-switch-badge:hover {
  border-color: var(--primary);
  background: #ffffff;
  color: var(--primary);
}

.nav-phone-btn {
  white-space: nowrap !important;
  flex-shrink: 0;
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
  background: var(--gradient-emergency);
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-weight: 800;
  box-shadow: var(--shadow-orange);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
  line-height: 1;
  text-decoration: none;
}

.nav-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.45);
  color: #ffffff !important;
}

.phone-text-desktop {
  display: inline;
  white-space: nowrap;
}
.phone-text-mobile {
  display: none;
  white-space: nowrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  outline: none;
  position: relative;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn-emergency {
  background: var(--gradient-emergency);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.btn-emergency:hover {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  border: 2px solid var(--primary);
  color: var(--primary-dark);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #1eb856;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg-hero);
  color: #ffffff;
  padding: 5.5rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.15) 0%, transparent 65%),
              radial-gradient(circle at 15% 85%, rgba(234, 88, 12, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 88, 12, 0.2);
  border: 1px solid rgba(234, 88, 12, 0.5);
  color: #ffedd5;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero h1 span {
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
}

.badge-icon {
  color: #38bdf8;
  font-weight: 800;
}

/* ==========================================================================
   Services Section & Cards
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header h2 {
  color: var(--primary-navy);
}

.accent-line {
  width: 60px;
  height: 4px;
  background: var(--gradient-emergency);
  margin: 0.85rem auto 0;
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.glass-card, .service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.glass-card:hover, .service-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.service-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 68px;
  height: 68px;
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.9rem;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.service-card h3 {
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

/* ==========================================================================
   Why Choose Us & Stats
   ========================================================================== */
.about-section {
  background: #f1f5f9;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-content h2 {
  color: var(--primary-navy);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about-list li {
  padding: 0.6rem 0;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-list li span {
  color: var(--primary);
  font-weight: 800;
}

.about-stats .glass-card {
  padding: 1.75rem 1rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--primary);
}

.about-stats .h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.counter {
  font-weight: 900;
  color: var(--primary);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, #091a30 0%, #0e294d 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 2.75rem);
}

.cta-section p {
  color: #cbd5e1;
}

/* ==========================================================================
   Forms & Controls
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.15rem;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.98rem;
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.15);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-topbar);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--primary);
}

.footer-col h4 {
  margin-bottom: 1.35rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.footer p {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 5px;
}

.contact-info li {
  color: #cbd5e1;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.88rem;
}

.footer-legal a {
  color: #64748b;
  margin: 0 0.35rem;
}
.footer-legal a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   Sticky Action Buttons
   ========================================================================== */
.sticky-buttons {
  position: fixed;
  bottom: 2rem;
  right: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 999;
}

.sticky-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  transition: transform 0.25s ease;
  text-decoration: none;
}

.sticky-btn:hover {
  transform: scale(1.12);
}

.sticky-btn.wa { background: #25D366; }
.sticky-btn.phone { 
  background: var(--gradient-emergency);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
}

/* Admin Stealth Link in Footer */
.admin-stealth-link {
  display: inline-block;
  opacity: 0.18;
  margin-left: 8px;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  vertical-align: middle;
}
.admin-stealth-link:hover {
  opacity: 0.85;
  transform: scale(1.25);
}

/* ==========================================================================
   Blog - Layout
   ========================================================================== */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.75rem;
}

/* Blog Card */
.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.blog-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.blog-card-img-link {
  display: block;
  overflow: hidden;
  background: #f1f5f9;
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}
.blog-card-placeholder {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  text-decoration: none;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0.5rem 0 0.75rem;
  line-height: 1.4;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card-title a:hover { color: var(--primary); }

.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  padding-top: 0.875rem;
  margin-top: auto;
  font-size: 0.8rem;
}
.blog-card-date,
.blog-card-views { color: var(--text-muted); }
.blog-card-link {
  margin-left: auto;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card-link:hover { color: var(--primary-dark); }

/* Blog Category Badge */
.blog-category-badge {
  display: inline-block;
  background: #e0f2fe;
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}
.blog-category-badge:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Pagination */
.blog-pagination {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  grid-column: 1 / -1;
  padding-top: 1rem;
}
.blog-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  text-decoration: none;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s;
}
.blog-page-btn:hover,
.blog-page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   Blog - Sidebar
   ========================================================================== */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
}

.sidebar-widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

/* Categories list */
.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebar-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.sidebar-cat-link:hover,
.sidebar-cat-link--active {
  background: #e0f2fe;
  color: var(--primary-dark);
}
.sidebar-cat-count {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
}

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(135deg, #071527 0%, #133863 100%) !important;
  color: #ffffff;
  text-align: center;
}
.sidebar-cta-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.sidebar-cta h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.sidebar-cta p {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Sidebar tips */
.sidebar-tips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sidebar-tips li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.sidebar-tips li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Sidebar related */
.sidebar-related {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-related li + li {
  border-top: 1px solid var(--border-color);
}
.sidebar-related-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0;
  text-decoration: none;
  transition: color 0.2s;
}
.sidebar-related-link:hover .sidebar-related-title { color: var(--primary); }
.sidebar-related-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.4;
}
.sidebar-related-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Blog - Single Article Prose
   ========================================================================== */
.blog-single-article {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  padding: 0;
}
.blog-single-featured-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.blog-single-content {
  padding: 2.5rem;
}

/* Prose styles */
.prose h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}
.prose h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 1.5rem 0 0.5rem;
}
.prose p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose li {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.prose strong { color: var(--primary-navy); }
.prose blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  background: #f0f9ff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-secondary);
}
.prose blockquote p { margin: 0; }
.prose a {
  color: var(--primary);
  text-decoration: underline;
}

/* Share buttons */
.blog-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border-color);
  background: #f8fafc;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Testimonial Carousel (Home Page)
   ========================================================================== */
.testimonials-section {
  background: linear-gradient(135deg, #071527 0%, #0c2340 50%, #133863 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(2,132,199,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.testimonials-track-wrapper {
  overflow: hidden;
  position: relative;
}
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
}
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(2,132,199,0.4);
  transform: translateY(-4px);
}
.testimonial-quote-icon {
  font-size: 2rem;
  color: var(--primary-light);
  line-height: 1;
}
.testimonial-text {
  color: #cbd5e1;
  font-style: italic;
  line-height: 1.7;
  font-size: 0.95rem;
  flex: 1;
}
.testimonial-stars {
  color: var(--accent-amber);
  font-size: 1rem;
  letter-spacing: 0.1em;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}
.testimonial-name {
  font-weight: 700;
  color: #f8fafc;
  font-size: 0.95rem;
}
.testimonial-location {
  font-size: 0.8rem;
  color: #64748b;
}

/* Carousel nav */
.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.testimonial-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
}
.testimonial-dot.active {
  background: var(--primary-light);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.d-none { display: none !important; }
@media (min-width: 993px) {
  .d-lg-flex { display: flex !important; }
}
@media (min-width: 769px) {
  .d-md-flex { display: flex !important; }
  .d-md-none { display: none !important; }
}
@media (max-width: 768px) {
  .d-md-none { display: flex !important; }
}
@media (min-width: 577px) {
  .d-sm-flex { display: flex !important; }
}
@media (max-width: 576px) {
  .d-sm-none { display: none !important; }
}

/* ==========================================================================
   Mobile Menu & Responsive
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-navy);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: left center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg);
  width: 25px;
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
  width: 25px;
}

@media (max-width: 1080px) {
  .mobile-menu-btn {
    display: flex;
  }
  .top-bar-right {
    gap: 0.75rem;
  }

  .nav-menu {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease-in-out;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .nav-menu a {
    font-size: 1.15rem;
    padding: 0.5rem 1.5rem;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
  }
  .testimonial-slide {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 0.35rem 0;
    font-size: 0.78rem;
  }
  .top-bar-container {
    justify-content: space-between;
    gap: 0.5rem;
  }
  
  .phone-text-desktop {
    display: none;
  }
  .phone-text-mobile {
    display: inline;
  }
  .nav-phone-btn {
    padding: 0.42rem 0.75rem;
    font-size: 0.82rem;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .hero {
    padding: 3rem 0;
  }
  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .btn {
    width: 100%;
  }
  
  .blog-posts {
    grid-template-columns: 1fr;
  }
  .testimonial-slide {
    flex: 0 0 100%;
  }
  .blog-single-content { padding: 1.5rem; }
  .blog-share { padding: 1.25rem 1.5rem; }
  
  .section {
    padding: 3.5rem 0;
  }
  .glass-card, .service-card {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 0.85rem;
  }
  .nav-container {
    gap: 0.35rem;
  }
  .logo {
    gap: 0.4rem;
    max-width: 55%;
  }
  .logo-img {
    width: 34px;
    height: 34px;
  }
  .logo-text {
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-actions {
    gap: 0.35rem;
  }
  .lang-switch-badge {
    padding: 3px 6px;
    font-size: 0.72rem;
  }
  .nav-phone-btn {
    padding: 0.38rem 0.6rem;
    font-size: 0.78rem;
    gap: 0.2rem;
  }
  .mobile-menu-btn {
    width: 24px;
    height: 18px;
  }
}

