/* ============================================
   SEN-T PAZAR - Modern CSS Architecture
   ============================================ */

/* --------------------------------------------
   1. CSS Variables (Design Tokens)
   -------------------------------------------- */
:root {
  /* Primary & Secondary Colors */
  --primary-color: #007ACC; /* canlı mavi */
  --secondary-color: #FF6F00; /* turuncu vurgu */
  
  /* Brand Colors */
  --brand-900: #09121e;
  --brand-700: #1e3a66;
  --brand-500: #3b5c8a;
  --brand-blue: #1e3a66;
  --brand-orange: #ff6a00;
  
  /* Brand Gradient - Combination of the two logo colors */
  --brand-combination-gradient: linear-gradient(135deg, var(--brand-900), var(--brand-orange));
  --brand-combination-gradient-hover: linear-gradient(135deg, #050c17, #e65a00);
  
  /* Accent Colors - Derived from brand combination */
  --accent: var(--brand-orange);
  --accent-hover: #e65a00;
  
  /* Text Colors */
  --text: #09121e;
  --text-muted: #4a5568;
  --text-light: #dfe8f7;
  
  /* Surface Colors */
  --surface: #eef2f6;
  --surface-light: #f5f7fa;
  --surface-gradient: linear-gradient(180deg, #edf2f6 0%, #f4f7fa 42%, #fbfcfd 100%);
  
  /* Border & Shadow */
  --border-color: #d4dceb;
  --border-light: #e8eff7;
  --shadow-sm: 0 2px 8px rgba(30, 58, 102, 0.08);
  --shadow-md: 0 4px 14px rgba(30, 58, 102, 0.12);
  --shadow-lg: 0 6px 32px rgba(30, 42, 66, 0.10);
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  
  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  
  /* Border Radius */
  --radius-sm: 7px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.18s ease;
  --transition-slow: 0.3s ease;
  
  /* Z-index Scale */
  --z-dropdown: 6000;
  --z-header: 5000;
  --z-modal: 1000;
  --z-carousel-arrow: 2;
}

/* --------------------------------------------
   2. Base & Reset Styles
   -------------------------------------------- */
html {
  font-size: 14.4px;
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", system-ui, -apple-system, sans-serif;
  font-size: var(--text-sm);
  color: var(--text);
  background: var(--surface-gradient);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* --------------------------------------------
   3. Typography
   -------------------------------------------- */
h1, .h1 {
  font-size: var(--text-2xl);
  background: var(--brand-combination-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h2, .h2 {
  font-size: var(--text-xl);
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h3, .h3 {
  font-size: var(--text-lg);
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.4em;
}

h4, .h4 {
  font-size: var(--text-base);
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.35em;
}

h5, h6, .h5, .h6 {
  font-size: var(--text-sm);
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.3em;
}

/* Light section headings */
.section--light h2,
.section--light h3,
.section--light h4 {
  color: var(--brand-700);
}

/* --------------------------------------------
   4. Layout Components
   -------------------------------------------- */
.container {
  overflow: visible;
}

/* Wide Panel Layout */
.wide-panel {
  max-width: 1320px;
  width: 88%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  transition: max-width 0.3s, width 0.3s;
}

/* --------------------------------------------
   5. Header & Navigation
   -------------------------------------------- */
header,
.utility-bar,
.site-nav,
.navbar,
.navbar-collapse {
  overflow: visible;
  position: relative;
  z-index: var(--z-header);
}

/* Utility Bar */
.utility-bar {
  background: linear-gradient(90deg, #162947 0%, #21395e 62%, #4b6483 100%);
  color: var(--text-light);
  font-size: var(--text-sm);
  min-height: 120px;
}

.utility-bar__inner {
  min-height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-logo-slogan {
  display: flex;
  align-items: center;
  gap: 28px;
}

.utility-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.utility-logo-link:hover {
  transform: scale(1.03);
}

/* Logo float + pulse glow animasyonu */
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes logo-glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.8))
            drop-shadow(0 0 20px rgba(42, 94, 165, 0.6))
            drop-shadow(0 0 40px rgba(42, 94, 165, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255,255,255,1))
            drop-shadow(0 0 35px rgba(100, 160, 255, 0.9))
            drop-shadow(0 0 60px rgba(42, 94, 165, 0.5));
  }
}

.utility-logo-image {
  width: clamp(168px, 20vw, 240px);
  max-width: 100%;
  height: auto;
  background: transparent;
  border-radius: var(--radius-md);
  padding: 6px;
  object-fit: contain;
  flex: 0 0 auto;
  animation: logo-float 4s ease-in-out infinite,
             logo-glow-pulse 3s ease-in-out infinite;
}

/* Logo marka yazısı shimmer efekti */
@keyframes text-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.utility-logo-title {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: clamp(1.95rem, 2.7vw, 2.65rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #b8d4ff 20%,
    #ffffff 35%,
    #7EB8FF 50%,
    #ffffff 65%,
    #b8d4ff 80%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 4s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 3px 11px rgba(42, 94, 165, 0.58));
}

.utility-langs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.utility-right-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.66rem;
  border-radius: 999px;
  text-decoration: none;
  color: #f6fbff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08) 55%),
    rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 16px rgba(3, 12, 24, 0.22);
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  animation: lang-chip-bob 3.4s ease-in-out infinite;
}

.lang-chip:hover,
.lang-chip.is-active {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.18) 55%),
    rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(3, 12, 24, 0.28);
}

.utility-langs .lang-chip:nth-child(2) {
  animation-delay: 0.2s;
}

.utility-langs .lang-chip:nth-child(3) {
  animation-delay: 0.4s;
}

.utility-langs .lang-chip:nth-child(4) {
  animation-delay: 0.6s;
}

.utility-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  text-decoration: none;
  color: #eef6ff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(3, 12, 24, 0.22);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.utility-login-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.52);
  transform: translateY(-1px);
}

@keyframes lang-chip-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.lang-flag--tr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Crect width='60' height='60' fill='%23E30A17'/%3E%3Ccircle cx='25' cy='30' r='12' fill='%23fff'/%3E%3Ccircle cx='29' cy='30' r='9.5' fill='%23E30A17'/%3E%3Cpolygon fill='%23fff' points='36,30 43,26 42,34'/%3E%3C/svg%3E");
}

.lang-flag--en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Crect width='60' height='60' fill='%23012169'/%3E%3Cpath d='M0 0L60 60M60 0L0 60' stroke='%23fff' stroke-width='12'/%3E%3Cpath d='M0 0L60 60M60 0L0 60' stroke='%23C8102E' stroke-width='6'/%3E%3Cpath d='M30 0V60M0 30H60' stroke='%23fff' stroke-width='18'/%3E%3Cpath d='M30 0V60M0 30H60' stroke='%23C8102E' stroke-width='10'/%3E%3C/svg%3E");
}

.lang-flag--ru {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Crect width='60' height='20' y='0' fill='%23fff'/%3E%3Crect width='60' height='20' y='20' fill='%230039A6'/%3E%3Crect width='60' height='20' y='40' fill='%23D52B1E'/%3E%3C/svg%3E");
}

.lang-flag--ar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Crect width='60' height='60' fill='%23006C35'/%3E%3Crect width='24' height='6' x='18' y='27' rx='3' fill='%23fff'/%3E%3Crect width='12' height='4' x='24' y='37' rx='2' fill='%23fff'/%3E%3C/svg%3E");
}

/* Site Navigation */
.site-nav {
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid rgba(194, 205, 220, 0.85);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  color: var(--brand-900);
}

.site-nav .navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.35rem 0.95rem;
  margin: 0 0.16rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 58, 102, 0.24);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 600;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.site-nav .navbar-nav .nav-link:hover {
  color: #fff;
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.site-nav .navbar-nav .nav-link.active {
  color: #fff;
  background: var(--brand-700);
  border-color: var(--brand-700);
  text-decoration: none;
}

/* User Menu Dropdown */
.dropdown-menu.dropdown-menu-end {
  z-index: var(--z-dropdown);
  min-width: 180px;
  position: absolute;
}

/* --------------------------------------------
   6. Buttons
   -------------------------------------------- */
.btn-base {
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 400;
  min-width: 120px;
  padding: 0.55rem 1.2rem;
  box-shadow: none;
  transition: background var(--transition-base), 
              color var(--transition-base), 
              border var(--transition-base);
  border: none;
  cursor: pointer;
}

/* Small Button Variants */
.btn-small-40 {
  font-size: 0.71rem;
  min-width: 72px;
  padding: 0.4rem 0.86rem;
}

.btn-small-35 {
  font-size: 0.64rem;
  min-width: 78px;
  padding: 0.36rem 0.78rem;
}

.btn-small-50 {
  font-size: 0.49rem;
  min-width: 60px;
  padding: 0.275rem 0.6rem;
}

.btn-small-60 {
  font-size: 0.39rem;
  min-width: 48px;
  padding: 0.22rem 0.48rem;
}

/* Navigation Buttons */
.nav-btn {
  display: inline-block;
  min-width: 96px;
  padding: 0.45rem 1.1rem;
  margin: 0 0.1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 400;
  text-align: center;
  transition: background var(--transition-base), 
              color var(--transition-base), 
              border var(--transition-base);
  border: 2px solid transparent;
  box-shadow: none;
}

/* Button & CTA Styles */
button, .cta {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-base);
}

button:hover, .cta:hover {
  background-color: var(--secondary-color);
}

.nav-btn--outline {
  background: #fff;
  color: var(--brand-700);
  border-color: var(--brand-700);
}

.nav-btn--outline:hover {
  background: var(--brand-700);
  color: #fff;
}

.nav-btn--filled {
  background: var(--brand-700);
  color: #fff;
  border-color: var(--brand-700);
}

.nav-btn--filled:hover {
  background: #fff;
  color: var(--brand-700);
}

.nav-btn--cta {
  background: var(--brand-700);
  color: #fff;
  border-color: var(--brand-700);
  font-weight: 400;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 12px rgba(30, 58, 102, 0.4);
}

.nav-btn--cta:hover {
  background: #fff;
  color: var(--brand-700);
}

.nav-btn--link {
  background: transparent;
  color: var(--brand-700);
  border-color: transparent;
  font-weight: 500;
  min-width: 0;
  padding: 0.45rem 0.7rem;
}

.nav-btn--link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.nav-cta {
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  border: 1px solid var(--brand-500);
  color: #f3fffb;
  background: var(--brand-700);
  font-weight: 400;
}

/* --------------------------------------------
   7. Search Panel
   -------------------------------------------- */
.search-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(208, 182, 121, 0.42), rgba(208, 182, 121, 0.06) 32%, transparent 56%),
    linear-gradient(118deg, rgba(240, 245, 250, 0.96) 0%, rgba(227, 235, 244, 0.95) 48%, rgba(241, 236, 223, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  padding: 0.28rem 0.4rem 0.28rem;
  box-shadow: 0 10px 24px rgba(11, 31, 49, 0.14);
  backdrop-filter: blur(14px);
  max-width: 1320px;
  width: 88%;
  margin-left: auto;
  margin-right: auto;
  transition: max-width 0.3s, width 0.3s;
}

.search-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 38%),
    linear-gradient(90deg, rgba(27, 68, 110, 0.05), transparent 46%);
  pointer-events: none;
}

.search-panel::after {
  content: "";
  position: absolute;
  right: 2rem;
  top: 1.3rem;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.search-panel__intro {
  position: relative;
  z-index: 1;
  display: none; /* Kompakt mod: intro mün İkincil metin gizlendi */
}


.search-panel__intro-copy {
  max-width: 680px;
}

.search-panel__intro-copy strong {
  display: block;
  color: #123050;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.search-panel__intro-copy p {
  margin: 0;
  color: #5a697d;
  font-size: 0.84rem;
}

.search-panel__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.42rem 0.82rem;
  margin-bottom: 0.7rem;
  background: rgba(20, 34, 59, 0.1);
  color: #16365a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-panel__listing-tabs {
  display: inline-flex;
  align-items: stretch;
  gap: 1px;
  margin: -0.28rem -0.4rem 1rem;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
}

.search-panel__listing-tab {
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border: 0;
  background: #2f7fd7;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  transition: background var(--transition-fast), opacity var(--transition-fast);
}

.search-panel__listing-tab.is-active {
  background: #163b76;
}

.search-panel__listing-tab.is-disabled {
  opacity: 0.78;
  cursor: not-allowed;
}

.search-panel__shell {
  position: relative;
  z-index: 1;
}

.search-panel__primary-row {
  padding: 1.15rem 1.2rem 1rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 18, 34, 0.12);
}

.search-panel__main-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.2fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.search-panel__main-field {
  position: relative;
  min-width: 0;
}

.search-panel__main-field--icon-home,
.search-panel__main-field--icon-pin {
  padding-left: 3rem;
}

.search-panel__main-field--icon-home::before,
.search-panel__main-field--icon-pin::before {
  position: absolute;
  left: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: bootstrap-icons;
  font-size: 2.2rem;
  line-height: 1;
  color: #244579;
}

.search-panel__main-field--icon-home::before {
  content: "\F3ED";
}

.search-panel__main-field--icon-pin::before {
  content: "\F3E8";
}

.search-panel__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-panel__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 0.56rem;
  align-items: start;
  max-width: none;
  margin: 0;
  position: relative;
  z-index: 1;
}

.search-panel__grid > div {
  display: flex;
  flex-direction: column;
}

.search-panel__grid label {
  display: none;
}

.search-panel__main-field select,
.search-panel__grid select,
.search-panel__grid input[type="text"] {
  font-size: 0.98rem;
  padding: 0.4rem 0.7rem;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(160, 171, 189, 0.95);
  background: transparent;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 52px;
  max-width: none;
  box-shadow: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.search-panel__main-field select {
  color: #3b4759;
}

.search-panel__grid select:disabled,
.subfilter-card__select:disabled,
.search-panel__main-field select:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.search-panel__main-field select:focus,
.search-panel__grid select:focus,
.search-panel__grid input[type="text"]:focus {
  outline: none;
  border-color: #244579;
  box-shadow: none;
  transform: none;
}

.search-panel__search-button-wrap {
  display: flex;
  justify-content: flex-end;
}

.search-panel__search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 134px;
  min-height: 46px;
  padding: 0.8rem 1.05rem;
  border: 0;
  border-radius: 8px;
  background: #1e3f7d;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(30, 58, 102, 0.18);
}

.search-panel__search-button:hover {
  background: #15356a;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(30, 58, 102, 0.24);
}

.clear-link {
  margin-top: var(--space-sm);
  background: #fff;
  color: var(--brand-700);
  border: 1.5px solid var(--brand-700);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.clear-link:hover {
  background: var(--brand-700);
  color: #fff;
}

/* Category Dropdown */
.category-dropdown {
  margin-left: var(--space-md);
}

.category-dropdown select {
  padding: 0.5em 1.5em 0.5em 0.75em;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff url('data:image/svg+xml;utf8,<svg fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5" stroke="%239CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 0.75em center/1.25em 1.25em;
  font-size: var(--text-base);
  min-width: 180px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* --------------------------------------------
   8. Hero Section
   -------------------------------------------- */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(9, 30, 50, 0.82), rgba(9, 30, 50, 0.36)),
    linear-gradient(180deg, rgba(11, 23, 37, 0.1), rgba(11, 23, 37, 0.36));
  transition: background .5s ease;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.38;
  filter: saturate(0.88) contrast(0.95);
  pointer-events: none;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  transform: scale(1.03);
  transition: opacity 0.8s ease;
  animation: hero-pan 16s ease-in-out infinite alternate;
}

.hero__background.is-swapping {
  opacity: 0.28;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  transition: color .5s ease, text-shadow .5s ease;
}

.hero__content h1 {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: inherit;
  margin-bottom: 0.85rem;
}

.hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;
  padding: 2.25rem 0 2.7rem;
}

.hero__lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.95rem;
  max-width: 660px;
}

.hero__eyebrow {
  margin-bottom: 0.4rem;
  color: #b6e6ff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.82rem;
}

.hero__subtitle {
  font-size: var(--text-lg);
  opacity: 0.95;
  max-width: 56ch;
}

.hero__trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero__trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(6, 17, 31, 0.36);
  border: 1px solid rgba(182, 230, 255, 0.26);
  color: #eef7ff;
  font-size: 0.78rem;
  box-shadow: 0 10px 26px rgba(9, 18, 30, 0.18);
  backdrop-filter: blur(10px);
}

.hero__trust-pills i {
  color: #ffd178;
}

.hero__cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero__primary-cta {
  min-width: 200px;
  border: none;
  background: linear-gradient(135deg, #ff9a1f, #ff6a00);
  color: #1a1a1a;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(255, 106, 0, 0.3);
}

.hero__primary-cta:hover {
  background: linear-gradient(135deg, #ffab3c, #f56b00);
  color: #111;
}

.hero__secondary-cta {
  min-width: 180px;
  border-width: 2px;
  font-weight: 700;
}

.hero__support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__support-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.hero__quick-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.hero__quick-flow article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.65rem;
  padding: 0.9rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 22, 38, 0.56), rgba(8, 22, 38, 0.34));
  border: 1px solid rgba(182, 230, 255, 0.12);
}

.hero__quick-flow span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 166, 51, 0.95), rgba(255, 106, 0, 0.92));
  color: #07111c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.hero__quick-flow strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
}

.hero__quick-flow p {
  margin: 0;
  color: rgba(238, 247, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.5;
}

.hero__search-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  align-self: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 24px 44px rgba(7, 18, 34, 0.18);
}

.home-search-dock {
  margin-top: -2.2rem;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.home-search-dock__panel {
  width: min(1260px, 100%);
  margin: 0 auto;
  padding: 0 1.25rem 1.2rem;
  background: linear-gradient(180deg, rgba(20, 55, 111, 0.92), rgba(6, 111, 163, 0.96));
  border: 0;
  border-radius: 0 0 26px 26px;
  box-shadow: 0 18px 42px rgba(12, 32, 56, 0.2);
}

.search-subfilters {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 1.1rem;
  margin-top: 1rem;
  padding: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.search-subfilters.is-updating {
  opacity: 0.45;
  transform: translateY(2px);
}

.subfilter-card {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.subfilter-card__label {
  display: none;
}

.subfilter-card__select {
  height: 44px;
  width: 100%;
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid rgba(218, 227, 240, 0.78);
  background: transparent;
  padding: 0.2rem 0.1rem;
  font-size: 1rem;
  color: #f3f7ff;
  box-sizing: border-box;
}

.subfilter-card__select:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: none;
}

.subfilter-card__select option,
.search-panel__main-field select option {
  color: #1b2c46;
}

.utility-login-btn--auth {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.44);
}

.utility-login-btn--auth:hover {
  background: rgba(255, 255, 255, 0.28);
}

.utility-user-menu {
  position: relative;
  display: inline-flex;
}

.utility-user-menu__trigger {
  cursor: default;
}

.utility-user-menu__dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 190px;
  padding: 0.45rem;
  border-radius: 12px;
  border: 1px solid rgba(170, 191, 218, 0.58);
  background: linear-gradient(180deg, rgba(19, 43, 73, 0.98), rgba(25, 53, 87, 0.96));
  box-shadow: 0 14px 28px rgba(8, 21, 37, 0.28);
  display: none;
  flex-direction: column;
  gap: 0.22rem;
  z-index: 2500;
}

.utility-user-menu:hover .utility-user-menu__dropdown,
.utility-user-menu:focus-within .utility-user-menu__dropdown {
  display: flex;
}

.utility-user-menu__item {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 9px;
  padding: 0.5rem 0.58rem;
  text-decoration: none;
  color: #ecf5ff;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
}

.utility-user-menu__item:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.utility-user-menu__logout {
  margin: 0;
  width: 100%;
}

.utility-user-menu__item--logout {
  justify-content: flex-start;
}

.home-search-dock__panel .search-panel__intro {
  border-bottom-color: rgba(203, 216, 233, 0.9);
}

@media (max-width: 991.98px) {
  .home-search-dock {
    margin-top: -1.2rem;
  }
}

@media (max-width: 640px) {
  .home-search-dock {
    margin-top: -0.6rem;
  }
}
}

/* --- Adaptive hero text themes (bright / dark images) --- */
.hero--light-text .hero__content {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.4);
  transition: color .5s ease, text-shadow .5s ease;
}
.hero--light-text .hero__eyebrow {
  color: #b6e6ff;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
  transition: color .5s ease;
}
.hero--light-text .hero__overlay {
  transition: background .5s ease;
}

.hero--dark-text .hero__content {
  color: #1a1a2e;
  text-shadow: 0 1px 8px rgba(255,255,255,.45), 0 1px 3px rgba(255,255,255,.3);
  transition: color .5s ease, text-shadow .5s ease;
}
.hero--dark-text .hero__eyebrow {
  color: #0d4f6e;
  text-shadow: 0 1px 6px rgba(255,255,255,.3);
  transition: color .5s ease;
}
.hero--dark-text .hero__overlay {
  background:
    linear-gradient(112deg, rgba(9,30,50,.28), rgba(9,30,50,.12)),
    linear-gradient(180deg, rgba(11,23,37,.06), rgba(11,23,37,.16));
  transition: background .5s ease;
}

/* --------------------------------------------
   9. Category Banner
   -------------------------------------------- */
.category-banner {
  background-image: linear-gradient(105deg, rgba(20,34,59,0.88), rgba(20,34,59,0.35));
  background-size: cover;
  background-position: center;
}

.category-banner h2,
.category-banner p,
.category-banner__links a {
  color: #fff;
}

.category-banner__links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.category-banner__links a {
  text-decoration: none;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.category-banner__links a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------
   10. Carousel Component
   -------------------------------------------- */
.featured-carousel {
  --cards-per-view: 4;
  --carousel-gap: 12px;
  position: relative;
  display: block;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
}

.featured-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  flex: 1;
  width: 100%;
  max-width: 1248px;
  margin: 0 auto 2.2rem auto;
  background: linear-gradient(120deg, #edf3f8 0%, #e3ecf4 58%, #eef1f4 100%);
  backdrop-filter: blur(2px) brightness(1.04);
  background-color: rgba(237, 243, 248, 0.94);
  padding: 2.6rem 0.85rem 0.45rem 0.85rem;
  box-sizing: border-box;
}

.featured-carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.featured-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 0.65rem;
  background: #fff;
  border: 1.5px solid #b3c6e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  font-size: 1.1rem;
  color: var(--brand-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), border var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-carousel-arrow);
  flex-shrink: 0;
}

.carousel-arrow--left {
  left: 1.2rem;
}

.carousel-arrow--right {
  right: 1.2rem;
}

.carousel-arrow:hover:not(:disabled) {
  background: #e6f0ff;
  border-color: var(--brand-700);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.carousel-arrow:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

.carousel-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Carousel Section Header */
.featured-carousel-viewport h2,
.featured-carousel-viewport .section__head h2 {
  font-family: Arial, 'Segoe UI', sans-serif;
  font-size: var(--text-2xl);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 0.7rem;
  line-height: 1.13;
  text-shadow: 0 2px 12px #1e4d66, 0 1px 0 #1e3a66;
  filter: drop-shadow(0 0 1px #1e3a66);
}

/* --------------------------------------------
   11. Cards
   -------------------------------------------- */
.project-card {
  min-width: calc((100% - (var(--cards-per-view) - 1) * var(--carousel-gap)) / var(--cards-per-view));
  max-width: calc((100% - (var(--cards-per-view) - 1) * var(--carousel-gap)) / var(--cards-per-view));
  flex: 0 0 calc((100% - (var(--cards-per-view) - 1) * var(--carousel-gap)) / var(--cards-per-view));
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.project-card__media-link {
  display: block;
  overflow: hidden;
}

.project-card__media-link img {
  transition: transform var(--transition-base);
}

.project-card:hover .project-card__media-link img {
  transform: scale(1.05);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.project-card__body {
  padding: 0.65rem;
  padding-bottom: 0.8rem;
  overflow: visible;
}

.project-card__body h3 {
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  color: var(--brand-700);
  line-height: 1.3;
}

.project-card__body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.project-card__body h3 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.project-card__body p {
  color: var(--text-muted);
  font-size: 0.66rem;
  margin-bottom: 0.2rem;
}

.project-card__location {
  font-size: 0.66rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__location::before {
  content: "📍";
  font-size: 0.65rem;
}

.project-card__body ul {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  display: none; /* Metin çok yer kaplıyor gizliyoruz aynı listing-card gibi */
}

.project-card__body ul li {
  font-size: 0.6rem;
  color: var(--text-muted);
  background: var(--surface-light);
  padding: 1px 4px;
  border-radius: 3px;
}

.project-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin: var(--space-sm) 0;
}

.project-card__body a {
  color: var(--brand-500);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
}

.project-card__body a:hover {
  text-decoration: underline;
}

.project-link {
  display: inline-block;
  margin-top: var(--space-xs);
  color: var(--brand-500);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.project-link:hover {
  color: var(--brand-700);
  text-decoration: underline;
}

/* Track card radius fixes */
.featured-carousel-track .project-card:first-child {
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
}

.featured-carousel-track .project-card:last-child {
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

/* Listing Cards — 5 sütunlu, ortalanmış vitrin grid */
.market-board__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  justify-content: center;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .market-board__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .market-board__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .market-board__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.listing-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.listing-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  height: auto;
  background: #dfe8f7;
  position: relative;
  overflow: hidden;
}

.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.listing-card:hover .listing-card__media img {
  transform: scale(1.05);
}

.listing-card__hover-preview {
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 66, 0.76);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 0.85rem;
}

.listing-card:hover .listing-card__hover-preview {
  opacity: 1;
}

.listing-card__hover-preview .preview-btn {
  display: inline-block;
  background: var(--brand-orange, #ff7a00);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.listing-card__image-count {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(18, 36, 58, 0.75);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.listing-card__body {
  padding: 0.65rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.listing-card h3 {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.3;
}

.listing-card__body h3 a {
  color: var(--text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card__body h3 a:hover {
  color: var(--brand-700);
}

.listing-card__topline,
.listing-card__meta,
.listing-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.listing-card__topline {
  align-items: flex-start;
}

.listing-card__topline .badge {
  font-size: 0.6rem;
  padding: 0.15rem 0.4rem;
}

.listing-card__category {
  color: var(--text-muted);
  font-size: 0.65rem;
}

.listing-card__location,
.listing-card__summary {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.66rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card__summary {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 0.63rem;
}

.listing-card__meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  display: none; /* gizle - kart çok küçük */
}

.listing-card__meta span {
  background: var(--surface);
  color: var(--brand-700);
  border-radius: var(--radius-full);
  padding: 0.1rem 0.45rem;
  font-size: 0.62rem;
}

.listing-card__footer {
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(214, 227, 241, 0.6);
}

.listing-card__price {
  color: var(--brand-700);
  font-size: 0.82rem;
  font-weight: 700;
}

.listing-card__footer .project-link {
  font-size: 0.65rem;
  margin-top: 0;
}

/* Detail Page */
.detail-shell {
  max-width: 1320px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.detail-gallery,
.detail-summary-card,
.detail-section {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(214, 227, 241, 0.9);
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(18, 36, 58, 0.07);
}

.detail-gallery {
  padding: 1rem;
}

.detail-main-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 520px;
  background: #dfe8f7;
}

.detail-main-image img {
  cursor: pointer;
}

.detail-gallery__zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 36, 58, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(18, 36, 58, 0.22);
  cursor: pointer;
}
.detail-gallery__zoom span {
  line-height: 1;
}
.detail-gallery__zoom i {
  font-size: 1rem;
}
.detail-gallery__zoom:hover {
  background: rgba(18, 36, 58, 0.92);
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.detail-gallery__overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(14, 27, 45, 0.82));
}

.detail-gallery__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail-gallery__badges span,
.detail-gallery__count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  font-weight: 700;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.detail-thumb {
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  background: #eef3f8;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.detail-thumb img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  display: block;
}

.detail-thumb:hover,
.detail-thumb.is-active {
  transform: translateY(-2px);
  border-color: var(--brand-500);
  box-shadow: 0 12px 24px rgba(42, 94, 165, 0.16);
}

.detail-lightbox {
  position: fixed;
  inset: 0;
  z-index: 7000;
  background: rgba(8, 16, 28, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.detail-lightbox[hidden] {
  display: none;
}

.detail-lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.detail-lightbox__close,
.detail-lightbox__nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.detail-lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
  font-size: 2rem;
}

.detail-lightbox__nav--prev {
  left: 1.25rem;
}

.detail-lightbox__nav--next {
  right: 1.25rem;
}

.detail-summary-card {
  padding: 1.35rem;
  position: sticky;
  top: 1rem;
}

.detail-summary-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.detail-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  background: var(--brand-700);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 400;
}

.detail-pill--light {
  background: rgba(20, 34, 59, 0.08);
  color: var(--brand-700);
}

/* Detail Summary Card - Header with Favorite Button */
.detail-summary-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.detail-summary-card__header h1 {
  flex: 1;
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.2;
}

.detail-summary-card h1 {
  margin-bottom: 0.55rem;
  font-size: 1.9rem;
}

.detail-location,
.detail-summary {
  color: var(--text-muted);
}

.detail-location {
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.detail-summary {
  margin-bottom: 1rem;
}

.detail-price-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(28, 93, 165, 0.08), rgba(31, 157, 122, 0.1));
  border: 1px solid rgba(31, 157, 122, 0.18);
}

.detail-price-box small,
.detail-quick-meta small,
.detail-fact-card small,
.detail-seller-card span {
  color: var(--text-muted);
}

.detail-price-box strong {
  color: var(--brand-700);
  font-size: 1.75rem;
  line-height: 1.15;
}

.detail-price-box span {
  color: #355373;
  font-size: 0.88rem;
}

.detail-quick-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

.detail-quick-meta div {
  background: #f7fafc;
  border-radius: 16px;
  padding: 0.85rem;
  border: 1px solid #e4edf6;
}

.detail-quick-meta strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--text);
}

.detail-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.detail-body-main,
.detail-side-panel {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.detail-section {
  padding: 1.2rem 1.25rem;
}

.detail-section--compact {
  padding: 1.1rem;
}

.detail-section__head {
  margin-bottom: 0.95rem;
}

.detail-section__head h2 {
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.detail-section__head p,
.detail-body-text {
  color: var(--text-muted);
}

.detail-body-text {
  margin: 0;
  line-height: 1.8;
  font-size: 0.96rem;
}

.detail-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.detail-fact-card {
  background: #f8fbfe;
  border: 1px solid #e2eaf3;
  border-radius: 16px;
  padding: 0.95rem;
}

.detail-fact-card strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--text);
  font-size: 0.95rem;
}

.detail-highlights {
  display: grid;
  gap: 0.75rem;
}

.detail-highlight {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: #f8fbfe;
  border: 1px solid #e2eaf3;
}

.detail-highlight__dot {
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  flex: 0 0 auto;
}

.detail-highlight p {
  margin: 0;
  color: var(--text);
}

.detail-seller-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.95rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 34, 59, 0.04), rgba(31, 157, 122, 0.08));
}

.detail-seller-card__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  flex: 0 0 auto;
}

.detail-seller-card strong,
.detail-seller-card span,
.detail-seller-card a {
  display: block;
}

.detail-seller-card a {
  margin-top: 0.35rem;
  color: var(--brand-700);
  text-decoration: none;
  font-weight: 700;
}

.detail-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.detail-contact-actions .btn {
  flex: 1 1 180px;
  min-height: 46px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.32rem 0.82rem;
  border-radius: 999px;
  background: #edf4fb;
  border: 1px solid #d8e5f2;
  color: #315272;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Card Component */
.card {
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin: 12px;
  padding: 16px;
  border-radius: 6px;
  transition: box-shadow var(--transition-base);
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* --------------------------------------------
   12. Account Dashboard
   -------------------------------------------- */
.account-dashboard__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e9f4fc;
  box-shadow: var(--shadow-md);
}

.account-dashboard .card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.account-dashboard__tabs .nav-link {
  color: var(--brand-700);
  font-weight: 600;
}

.account-dashboard__tabs .nav-link.active {
  border-color: #dceaf3 #dceaf3 #fff;
  color: #0d1a2b;
}

/* --------------------------------------------
   13. Advanced Search Modal
   -------------------------------------------- */
.search-panel__advanced {
  display: none;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease, margin 0.35s ease, opacity 0.3s ease;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.search-panel__advanced.open {
  grid-template-rows: 0fr;
  opacity: 1;
  margin-top: 0;
}

.search-panel__advanced > .search-panel__grid {
  overflow: hidden;
}

/* --------------------------------------------
   14. Footer
   -------------------------------------------- */
.footer {
  border-top: 1.5px solid #dceaf3;
  background: linear-gradient(90deg, #f4f7fa 0%, #edf2f6 100%);
  padding: 2.5rem 0 1.5rem 0;
  margin-top: 2.5rem;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-info {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--brand-700);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.footer-info img {
  height: 120px;
  width: auto;
  background: transparent;
  border-radius: var(--radius-md);
  padding: 6px;
  margin-bottom: 0.3rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-brand {
  color: var(--brand-700);
  font-weight: 600;
}

.footer-slogan {
  font-size: 0.75rem;
  color: var(--brand-orange);
  font-weight: 700;
}

.footer-links {
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-700) !important;
}

/* --------------------------------------------
   15. Sections
   -------------------------------------------- */
.section {
  padding: var(--space-xl) 0;
}

.section__head {
  margin-bottom: var(--space-lg);
}

.section__head--light h2,
.section__head--light p {
  color: var(--text);
}

.projects-strip {
  background: var(--surface-light);
}

.carousel-container {
  margin-top: 2.5rem;
}

.site-main {
  position: relative;
  z-index: 1;
}

.site-sponsor-band {
  padding-top: 1.2rem;
}

.site-sponsor-band--home {
  padding-top: 0.6rem;
}

.site-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.site-ad {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  padding: 0.8rem 0.75rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(250, 252, 253, 0.96), rgba(237, 242, 246, 0.96));
  border: 1px solid rgba(201, 211, 223, 0.82);
  box-shadow: 0 16px 34px rgba(13, 28, 46, 0.12);
  overflow: hidden;
  min-height: 230px;
  backdrop-filter: blur(10px);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  height: 100%;
}

.site-ad:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(13, 28, 46, 0.15);
}

.site-ad__label {
  display: inline-flex;
  width: fit-content;
  padding: 0.22rem 0.56rem;
  border-radius: 999px;
  background: rgba(20, 34, 59, 0.08);
  color: var(--brand-700);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-ad strong {
  font-size: 1.2rem;
  line-height: 1.25;
  color: #10253f;
  font-weight: 800;
}

.site-ad p {
  margin: 0;
  font-size: 0.69rem;
  line-height: 1.45;
  color: #3a4a5c;
}

.site-ad__pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--brand-700);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(30, 58, 102, 0.4);
}

.site-ad__media {
  margin-top: auto;
  min-height: 92px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  animation: ad-pan 14s ease-in-out infinite alternate;
}

.site-ad--accent {
  background: linear-gradient(180deg, rgba(31, 157, 122, 0.08), rgba(31, 157, 122, 0.02));
  border: 2px solid var(--accent);
}

.site-ad--accent:hover {
  background: linear-gradient(180deg, rgba(31, 157, 122, 0.15), rgba(31, 157, 122, 0.05));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 157, 122, 0.2);
}

.site-ad--warm {
  background: linear-gradient(180deg, rgba(246, 242, 236, 0.97), rgba(237, 230, 217, 0.95));
}

.corporate-showcase {
  background: linear-gradient(180deg, #eef3f8 0%, #f8fafc 100%);
}

.corporate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.corporate-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.35rem;
  border-radius: 22px;
  border: 1px solid rgba(205, 216, 229, 0.92);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 30px rgba(18, 36, 58, 0.08);
}

.corporate-card__brand {
  display: inline-flex;
  width: fit-content;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(30, 58, 102, 0.08);
  color: var(--brand-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.corporate-card strong {
  font-size: 1.02rem;
  color: #10253f;
}

.corporate-card p {
  margin: 0;
  color: #3a4a5c;
  font-size: 0.84rem;
  line-height: 1.6;
}

.corporate-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.corporate-card__stats span,
.corporate-benefits__list span {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: #edf4fb;
  border: 1px solid #d8e5f2;
  color: #315272;
  font-size: 0.76rem;
  font-weight: 700;
}

.corporate-benefits {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 1.4rem;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(20, 34, 59, 0.96), rgba(34, 64, 105, 0.94));
  box-shadow: 0 18px 34px rgba(18, 36, 58, 0.14);
}

.corporate-benefits__copy h3 {
  margin: 0 0 0.45rem;
  color: #fff;
}

.corporate-benefits__copy p {
  margin: 0;
  color: rgba(233, 242, 252, 0.88);
  font-size: 0.84rem;
}

.corporate-benefits__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.corporate-benefits__list span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: #eef6ff;
}

.corporate-benefits__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@keyframes hero-pan {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(0, -1.5%, 0);
  }
}

@keyframes ad-pan {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-3px);
  }
}

/* --------------------------------------------
   16. Logo & Branding Utilities
   -------------------------------------------- */
.utility-logo img,
.navbar-brand img,
.hero-logo-slogan img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.utility-slogan,
.navbar-slogan,
.footer-slogan {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  letter-spacing: 0.01em;
}

.navbar-slogan {
  vertical-align: middle;
}

.hero-logo-slogan {
  flex-wrap: wrap;
}

/* --------------------------------------------
   17. Utility Classes
   -------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center {
  text-align: center;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

/* --------------------------------------------
   18. Responsive Design
   -------------------------------------------- */
@media (max-width: 1200px) {
  .search-panel__main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel__search-button-wrap {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .featured-carousel {
    --cards-per-view: 3;
  }

  .featured-carousel-viewport {
    min-width: auto;
    max-width: 100%;
  }
  
  .search-panel__grid,
  .search-subfilters {
    grid-template-columns: repeat(5, 1fr);
  }

  .search-panel__intro {
    flex-direction: column;
  }

  .detail-hero,
  .detail-body-grid {
    grid-template-columns: 1fr;
  }

  .detail-summary-card {
    position: static;
  }

  .detail-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .search-panel__listing-tabs {
    width: calc(100% + 0.8rem);
    overflow-x: auto;
  }

  .search-panel__listing-tab {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .search-panel__primary-row {
    padding: 0.95rem;
    border-radius: 18px;
  }

  .search-panel__main-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .search-panel__main-field--icon-home,
  .search-panel__main-field--icon-pin {
    padding-left: 2.6rem;
  }

  .search-panel__main-field--icon-home::before,
  .search-panel__main-field--icon-pin::before {
    font-size: 1.85rem;
  }

  .featured-carousel {
    --cards-per-view: 2;
  }

  .utility-logo-link img {
    height: 104px;
  }
  
  .utility-logo-link span {
    font-size: 1.2rem;
  }
  
  .search-panel__grid,
  .search-subfilters {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-panel {
    padding: 1.25rem;
  }

  .search-panel__advanced .search-panel__grid {
    grid-template-columns: 1fr;
  }

  .detail-main-image,
  .detail-main-image img {
    min-height: 380px;
  }

  .detail-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .featured-carousel-viewport {
    padding: 2.2rem 0.7rem 0.35rem;
  }
  
  .category-banner__links {
    flex-wrap: wrap;
  }
  
  h1, .h1 {
    font-size: 1.6rem;
  }
  
  h2, .h2 {
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .featured-carousel {
    --cards-per-view: 1;
  }

  .carousel-arrow--left {
    left: 0.65rem;
  }

  .carousel-arrow--right {
    right: 0.65rem;
  }
}

@media (max-width: 992px) {
  .site-sponsor-grid,
  .corporate-grid,
  .corporate-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-logo-slogan span,
  .utility-slogan,
  .navbar-slogan,
  .footer-slogan {
    font-size: 1rem;
  }
  
  .hero-logo-slogan img {
    height: 36px;
  }
  
  .search-panel__grid,
  .search-subfilters {
    grid-template-columns: 1fr;
  }

  .home-search-dock__panel {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-bottom: 1rem;
  }
  
  .search-panel__actions {
    flex-direction: column;
    gap: var(--space-md);
    align-items: stretch;
  }

  .search-panel__actions-left {
    width: 100%;
  }

  .search-panel__actions-left .btn,
  .search-panel__actions > div:last-child .btn {
    width: 100%;
  }

  .detail-quick-meta,
  .detail-facts-grid,
  .detail-thumbs {
    grid-template-columns: 1fr;
  }

  .utility-langs {
    justify-content: center;
  }
  
  .carousel-arrow {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .project-card {
    min-width: 200px;
    max-width: 200px;
    flex: 0 0 200px;
  }
  
  .wide-panel {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lang-chip,
  .utility-langs .lang-chip:nth-child(2),
  .utility-langs .lang-chip:nth-child(3),
  .utility-langs .lang-chip:nth-child(4) {
    animation: none;
  }
}

/* --------------------------------------------
   Additional Components
   -------------------------------------------- */

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  font-weight: bold;
}

header a {
  color: #fff;
  margin: 0 12px;
  text-decoration: none;
  transition: text-decoration var(--transition-base);
}

header a:hover {
  text-decoration: underline;
}

/* Search Box */
.search-box {
  background-color: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-box input {
  border: none;
  outline: none;
  width: 80%;
  font-size: 16px;
  flex: 1;
}

.search-box input:focus {
  outline: 1px solid var(--primary-color);
}

.search-box button {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-base);
  white-space: nowrap;
}

.search-box button:hover {
  background-color: #e55a00;
}

/* Vitrin Card */
.vitrin-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin: 16px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.vitrin-card img {
  width: 100%;
  height: 220px; /* sabit yükseklik */
  object-fit: cover; /* görseli kırpmadan orantılı yerleştirir */
  display: block;
}

.vitrin-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.vitrin-card h3 {
  background-color: var(--primary-color);
  color: #fff;
  padding: 8px;
  margin: 0;
}

/* Sponsor Banner */
.sponsor-banner {
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  border-radius: 8px;
}

/* Portfolio Section */
.portfolio-section {
  display: flex;
  gap: 20px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.portfolio-card {
  flex: 1;
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 16px;
  min-width: 280px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.portfolio-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.portfolio-card h4 {
  color: var(--secondary-color);
  margin-top: 0;
}

/* Footer Styles */
footer {
  background-color: #222;
  color: #ccc;
  padding: 20px;
  text-align: center;
}

footer a {
  color: var(--primary-color);
  margin: 0 8px;
  text-decoration: none;
  transition: color var(--transition-base);
}

footer a:hover {
  color: var(--secondary-color);
}

/* Badge Component */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

/* Fade In Animation */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
  }
  to { 
    opacity: 1; 
  }
}

/* Info Box */
.info-box {
  background-color: #e8f4fd;
  border-left: 4px solid var(--primary-color);
  padding: 12px;
  margin: 16px 0;
  border-radius: 4px;
}

/* Category Icon & Title */
.category-icon {
  width: 40px;
  height: 40px;
  margin-right: 8px;
  vertical-align: middle;
}

.category-title {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: var(--primary-color);
}

/* Vitrin Container Grid */
.vitrin-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Banner Component */
.banner {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 24px;
  border-radius: 10px;
  text-align: center;
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% { 
    opacity: 0.9; 
  }
  50% { 
    opacity: 1; 
  }
  100% { 
    opacity: 0.9; 
  }
}

/* Verified Badge */
.verified {
  display: inline-block;
  background-color: #4CAF50;
  color: #fff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  margin-left: 6px;
}

/* Scroll Section Animation */
.scroll-section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.scroll-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .vitrin-card, .portfolio-card {
    flex: 1 1 100%;
    margin: 8px 0;
  }

  header, footer {
    text-align: center;
  }

  .vitrin-container {
    grid-template-columns: 1fr;
  }

  .portfolio-section {
    flex-direction: column;
    gap: 16px;
  }

  .banner {
    padding: 16px;
  }
}

/* ============================================
   Favoriler Sistemi - M1-03
   ============================================ */

.btn-favorite,
.heart-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.btn-favorite:hover,
.heart-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: scale(1.1);
}

.btn-favorite.favorited,
.heart-btn.favorited {
  color: var(--secondary-color);
}

.btn-favorite.loading,
.heart-btn.loading {
  opacity: 0.6;
  cursor: not-allowed;
}

.heart-icon {
  transition: all 0.3s ease;
}

.heart-icon.active {
  animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
  0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}

/* --------------------------------------------
   26. Footer Balance + Compact Controls (Patch)
   -------------------------------------------- */
.utility-bar {
  min-height: 96px;
}

.utility-bar__inner {
  min-height: 96px;
}

.lang-chip {
  gap: 0.36rem;
  padding: 0.38rem 0.58rem;
  font-size: 0.66rem;
}

.lang-flag {
  width: 14px;
  height: 14px;
}

.nav-action-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-action-group .nav-btn {
  min-width: 150px;
}

.user-menu-trigger {
  min-width: 150px;
}

.user-dropdown-menu {
  min-width: 190px;
  padding: 0.35rem 0;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1.2;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.btn-small-40 {
  font-size: 0.57rem;
  min-width: 60px;
  padding: 0.32rem 0.68rem;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 40px;
  font-size: 0.8rem;
  padding: 0.36rem 0.88rem;
}

.footer-balance {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
}

.footer-links--left {
  justify-self: end;
}

.footer-links--right {
  justify-self: start;
}

.footer-info {
  margin: 0;
}

.footer-info img {
  margin-left: auto;
  margin-right: auto;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 20px;
  min-width: 108px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(30, 58, 102, 0.35);
  background: #1e3a66;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 0 .8rem;
  box-shadow: 0 8px 20px rgba(30, 58, 102, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 5500;
}

body.cookie-consent-open .back-to-top {
  bottom: 106px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #2d4b7c;
}

.back-to-top span {
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .footer-balance {
    grid-template-columns: 1fr;
  }

  .utility-right-cluster {
    width: 100%;
    align-items: center;
  }

  .footer-links--left,
  .footer-links--right {
    justify-self: center;
  }

  .nav-action-group .nav-btn {
    min-width: 138px;
  }
}

/* --------------------------------------------
   27. Homepage Enhancements
   -------------------------------------------- */
.vitrin-hero-slider .carousel-inner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(17, 45, 79, 0.18);
}

.carousel-arrow,
.carousel-control-prev,
.carousel-control-next {
  display: none !important;
}

.vitrin-hero-slide {
  position: relative;
  display: block;
  min-height: 360px;
}

.vitrin-hero-slide img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.vitrin-hero-slide__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(15, 36, 62, 0.86), rgba(24, 59, 98, 0.72));
  color: #fff;
}

.vitrin-hero-slide__caption h3 {
  color: #fff;
  margin: 0.4rem 0 0.25rem;
}

.vitrin-hero-slide__caption p {
  margin: 0 0 0.3rem;
  color: rgba(255, 255, 255, 0.86);
}

.feature-inline-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 0.75rem;
}

.feature-inline-strip__grid article {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(30, 58, 102, 0.12);
  background: linear-gradient(180deg, #ffffff, #f4f7fb);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  box-shadow: 0 10px 26px rgba(20, 39, 66, 0.08);
}

.feature-inline-strip__grid i {
  color: #ff6a00;
  font-size: 1rem;
}

.home-assurance-band {
  padding-top: 0;
}

.home-assurance-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1rem;
  align-items: stretch;
}

.home-assurance-band__feature,
.home-assurance-band__cards article {
  border-radius: 18px;
  border: 1px solid rgba(30, 58, 102, 0.12);
  background: linear-gradient(180deg, #ffffff, #f4f8fc);
  box-shadow: 0 14px 34px rgba(20, 39, 66, 0.08);
}

.home-assurance-band__feature {
  padding: 1.35rem;
}

.home-assurance-band__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.12);
  color: #c95500;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 0.9rem;
}

.home-assurance-band__feature h2 {
  color: #10233d;
  max-width: 22ch;
}

.home-assurance-band__feature p {
  margin-bottom: 1rem;
  color: #42556d;
  max-width: 62ch;
}

.home-assurance-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.home-assurance-band__cards {
  display: grid;
  gap: 0.8rem;
}

.home-assurance-band__cards article {
  padding: 1rem 1.05rem;
}

.home-assurance-band__cards i {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 0.7rem;
  color: #fff;
  background: linear-gradient(135deg, #1e3a66, #2f5d98);
}

.home-assurance-band__cards strong {
  display: block;
  color: #10233d;
  margin-bottom: 0.3rem;
}

.home-assurance-band__cards p {
  margin: 0;
  color: #55677e;
}

.listing-card {
  background: #fff;
  border: 1px solid #e4ebf4;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(20, 39, 66, 0.06);
}

.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 39, 66, 0.12);
}

.listing-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.listing-card__meta i {
  color: #1e3a66;
}

.listing-card__footer .project-link {
  background: #ff7a00;
  border-color: #ff7a00;
  color: #fff;
}

.listing-card__footer .project-link:hover {
  background: #e96900;
  border-color: #e96900;
}

.search-panel__actions .btn-success {
  background: #198754;
  border-color: #198754;
}

.search-panel__actions .btn-success:hover {
  background: #157347;
  border-color: #157347;
}

#dynamic-features-container {
  transition: opacity 0.22s ease, transform 0.22s ease;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

#dynamic-features-container.is-updating {
  opacity: 0.42;
  transform: translateY(4px);
}

.filter-chip-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  flex-shrink: 0;
}

.filter-chip-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #51657f;
  margin-right: 0.15rem;
  white-space: nowrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border: 1.5px solid rgba(145, 164, 188, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #3d5a7e;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  white-space: nowrap;
}

.filter-chip:hover {
  border-color: var(--brand-700, #1e3a66);
  color: var(--brand-700, #1e3a66);
  background: rgba(30, 58, 102, 0.06);
}

.filter-chip.is-active {
  background: var(--brand-700, #1e3a66);
  border-color: var(--brand-700, #1e3a66);
  color: #fff;
}

/* Vitrin category quick-filter tabs */
.vitrin-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #dce6f2;
  overflow-x: auto;
  scrollbar-width: none;
}

.vitrin-cat-tabs::-webkit-scrollbar {
  display: none;
}

.vitrin-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid rgba(145, 164, 188, 0.7);
  background: transparent;
  color: #3d5a7e;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.vitrin-cat-tab:hover {
  border-color: var(--brand-700, #1e3a66);
  color: var(--brand-700, #1e3a66);
  background: rgba(30, 58, 102, 0.05);
}

.vitrin-cat-tab.is-active {
  background: var(--brand-700, #1e3a66);
  border-color: var(--brand-700, #1e3a66);
  color: #fff;
}

.vitrin-tabs-action-group {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e6ecf3;
  flex-wrap: wrap;
}

.vitrin-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 1.5px solid;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.vitrin-action-btn--blue {
  background: rgba(255, 255, 255, 0.96);
  color: #1e3a66;
  border-color: #1e3a66;
}

.vitrin-action-btn--blue:hover {
  background: #1e3a66;
  color: #fff;
  box-shadow: 0 6px 16px rgba(30, 58, 102, 0.18);
}

.top-viewed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 0.8rem;
}

.top-viewed-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-decoration: none;
  border: 1px solid #dce6f2;
  border-radius: 12px;
  padding: 0.85rem;
  background: #fff;
  color: #17365f;
}

.top-viewed-card__image {
  width: 100%;
  height: 86px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 1px solid #dce6f2;
  margin-bottom: 0.2rem;
  position: relative;
  overflow: hidden;
}

.top-viewed-card:hover {
  border-color: #9fb7d9;
  box-shadow: 0 8px 18px rgba(30, 58, 102, 0.12);
}

.top-viewed-card__icon {
  color: #1e3a66;
}

.top-viewed-card__img-icon {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  background: rgba(15, 39, 66, 0.62);
  color: #fff;
  border-radius: 8px;
  padding: 0.2rem 0.4rem;
  font-size: 0.85rem;
  backdrop-filter: blur(3px);
  line-height: 1;
}

.top-viewed-card__image {
  position: relative;
}

.top-viewed-card__icon--motion {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #2a4e82, #17365f);
  color: #fff;
  animation: statPulse 2.6s ease-in-out infinite;
}

.top-viewed-card__icon--motion i {
  font-size: 1rem;
}

.site-sponsor-band--footer {
  margin-top: 0.1rem;
  margin-bottom: 0.4rem;
}

.listing-sort-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.listing-sort-toolbar label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  color: #51657f;
}

.listing-sort-toolbar select {
  min-width: 210px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid rgba(145, 164, 188, 0.9);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
}

.listing-sort-toolbar select:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(42, 94, 165, 0.12);
}

.vitrin-ticker-banner {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.vitrin-ticker-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  min-height: 150px;
  border: 1px solid rgba(207, 218, 232, 0.9);
  background: #d7e0ed;
  text-decoration: none;
}

.vitrin-ticker-item img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  max-height: 176px;
  object-fit: cover;
  display: block;
}

.vitrin-ticker-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.2rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(180deg, rgba(9, 24, 43, 0.14), rgba(9, 24, 43, 0.78));
  color: #fff;
}

.vitrin-ticker-item__overlay h3 {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.3;
}

.vitrin-ticker-item__overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
}

.vitrin-ticker-item__overlay strong {
  color: #fff;
  font-size: 0.92rem;
}

.vitrin-ticker-item__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.15rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 193, 7, 0.94);
  color: #2f2600;
  font-size: 0.69rem;
  font-weight: 700;
}

@keyframes statPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(23, 54, 95, 0.35); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(23, 54, 95, 0); }
}

.bulk-demo-guide__thumbs {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.bulk-demo-guide__thumbs img {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  object-fit: cover;
  box-shadow: 0 8px 14px rgba(17, 45, 79, 0.22);
}

.privacy-consent-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  gap: 0.85rem;
}

.privacy-consent-guide__grid article {
  border: 1px solid #dce6f2;
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem;
}

.privacy-consent-guide__grid i {
  color: #1e3a66;
  font-size: 1.25rem;
}

.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 20, 36, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cookie-consent__dialog {
  background: #0f2742;
  color: #fff;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 44px rgba(8, 20, 36, 0.5);
  padding: 1.6rem 1.8rem;
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent__dialog-icon {
  font-size: 2rem;
  color: #ff7a00;
  margin-bottom: 0.15rem;
}

.cookie-consent p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Floating CTA button */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1300;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.35rem;
  background: linear-gradient(135deg, #ff7a00 0%, #e96000 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.45);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 122, 0, 0.55);
  color: #fff;
}

.floating-cta i {
  font-size: 1rem;
}

/* Header privacy cluster */
.utility-privacy-cluster {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.65rem;
  padding-left: 0.65rem;
  border-left: 1px solid rgba(145, 164, 188, 0.25);
}

.utility-privacy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-muted, #51657f);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.utility-privacy-link:hover {
  color: var(--brand-700, #1e3a66);
  background: rgba(30, 58, 102, 0.08);
}

.bulk-demo-guide__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.bulk-demo-guide__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dce6f2;
}

.bulk-demo-guide__media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.bulk-demo-guide__cta {
  position: absolute;
  left: 14px;
  bottom: 14px;
}

.bulk-demo-guide__steps {
  display: grid;
  gap: 0.65rem;
}

.bulk-demo-guide__steps article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.6rem;
  border: 1px solid #dce6f2;
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem;
}

.bulk-demo-guide__steps article span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e3a66;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.success-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 0.8rem;
}

.success-story-grid article {
  border: 1px solid #dce6f2;
  border-radius: 12px;
  padding: 0.85rem;
  background: #fff;
}

.success-story-grid strong {
  font-size: 1.3rem;
  color: #198754;
}

@media (max-width: 991.98px) {
  .hero__shell,
  .home-assurance-band__grid {
    grid-template-columns: 1fr;
  }

  .hero__lead {
    max-width: none;
  }

  .hero__quick-flow {
    grid-template-columns: 1fr;
  }

  .feature-inline-strip__grid,
  .top-viewed-grid,
  .success-story-grid,
  .privacy-consent-guide__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bulk-demo-guide__grid {
    grid-template-columns: 1fr;
  }

  .listing-sort-toolbar {
    justify-content: flex-start;
  }

  .vitrin-hero-slide,
  .vitrin-hero-slide img {
    min-height: 280px;
    height: 280px;
  }

}

@media (max-width: 640px) {
  .hero__shell {
    padding: 1.5rem 0 2rem;
    gap: 1rem;
  }

  .hero__cta-band,
  .home-assurance-band__actions,
  .hero__trust-pills {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__primary-cta,
  .hero__secondary-cta,
  .hero__support-link,
  .home-assurance-band__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__quick-flow article {
    grid-template-columns: 38px 1fr;
    padding: 0.8rem;
  }

  .hero__quick-flow span {
    width: 38px;
    height: 38px;
  }

  .feature-inline-strip__grid,
  .success-story-grid,
  .privacy-consent-guide__grid {
    grid-template-columns: 1fr;
  }

  .top-viewed-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.65rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  .top-viewed-grid::-webkit-scrollbar {
    display: none;
  }

  .top-viewed-card {
    flex: 0 0 calc(50% - 0.325rem);
    scroll-snap-align: start;
  }

  .listing-sort-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .listing-sort-toolbar select {
    width: 100%;
    min-width: 0;
  }

  .vitrin-ticker-item,
  .vitrin-ticker-item img {
    min-height: 132px;
    max-height: 132px;
  }

  .cookie-consent__dialog {
    border-radius: 14px;
    padding: 1.25rem 1.1rem;
  }
}

@media (max-width: 991.98px), (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

.favorite-count {
  display: none;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  text-align: center;
}

.favorite-count.show {
  display: inline-block;
}

/* --------------------------------------------
   19. Accessibility
   -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .featured-carousel-track {
    scroll-behavior: auto;
  }

  .hero__background,
  .site-ad__media {
    animation: none;
  }
}

/* Hero CTA Buttons */
.hero .hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero .hero-cta-buttons .btn-success {
  background: var(--brand-700);
  border-color: var(--brand-700);
  box-shadow: 0 4px 15px rgba(30, 58, 102, 0.4);
}

.hero .hero-cta-buttons .btn-success:hover {
  background: var(--brand-500);
  border-color: var(--brand-500);
  transform: translateY(-2px);
}

.hero .hero-cta-buttons .btn-outline-light {
  border-width: 2px;
  font-weight: 400;
}

.hero .hero-cta-buttons .btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
}

/* --------------------------------------------
   20. Info Page (Privacy / Data Policy)
   -------------------------------------------- */
.info-page {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 3rem 0 3.5rem;
  min-height: auto;
}

.info-page__content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.info-page__content > h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.info-page__content > p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.info-page__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-page__cards article {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 36, 58, 0.12);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.info-page__cards article:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(18, 36, 58, 0.18);
}

.info-page__cards article img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.info-page__cards article h3 {
  margin: 0.85rem 1rem 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-700);
}

.info-page__cards article p {
  margin: 0 1rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.info-page__content .btn {
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  font-weight: 400;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.info-page__content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

@media (max-width: 768px) {
  .info-page {
    padding: 2rem 0 2.5rem;
  }

  .info-page__content > h1 {
    font-size: 1.5rem;
  }

  .info-page__content > p {
    font-size: 0.95rem;
  }

  .info-page__cards {
    grid-template-columns: 1fr;
  }

  .info-page__cards article img {
    height: 180px;
  }
}

/* Focus styles for keyboard navigation */
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000;
    --text: #000;
  }
  
  .carousel-arrow {
    border-width: 2px;
  }
}

/* --------------------------------------------
   20. Scroll Reveal Animations
   -------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children animations */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.4s; }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   FIX: Heading Legibility on Dark Backgrounds
   ============================================ */
h1, .h1 {
  filter: drop-shadow(0px 1px 2px rgba(255, 255, 255, 0.85));
}

h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.7);
}

.bg-dark h1, .bg-dark .h1,
.hero--light-text h1, .hero--light-text .h1,
.section--dark h1, .section--dark .h1 {
  background: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.6));
}

.bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.hero--light-text h2, .hero--light-text h3, .hero--light-text h4, .hero--light-text h5, .hero--light-text h6,
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark h5, .section--dark h6 {
  color: #fff !important;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------
   40. Comparison Module
   -------------------------------------------- */
.btn-compare {
    transition: all 0.3s ease;
    border-radius: 999px !important;
    padding: 0.4rem 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}
.btn-compare.active {
    background-color: #007ACC !important;
    color: #fff !important;
    border-color: #007ACC !important;
}
.compare-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(30, 58, 102, 0.95);
    backdrop-filter: blur(15px);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
}
.compare-bar.show {
    bottom: 0;
}
.compare-badge {
    background: #FF6F00;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 111, 0, 0.3);
}
