/* ==========================================================================
   KARAKAYA26 — Main Stylesheet
   Production-ready CSS for energy/mining industrial company website
   ========================================================================== */

/* ==========================================================================
   1. CSS RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   2. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* --- Colors: Light Mode --- */
  --bg: #F8F7F4;
  --bg-surface: #FFFFFF;
  --bg-muted: #F1EFE9;
  --bg-accent-strip: #1A2744;
  --color-primary: #1A2744;
  --color-accent: #C8960C;
  --color-accent2: #0369A1;
  --color-text: #1A1A2E;
  --color-text-muted: #6B7280;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.14);
  --header-bg: transparent;
  --header-bg-scrolled: rgba(248, 247, 244, 0.96);

  /* --- Spacing --- */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* --- Border Radius --- */
  --radius: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* --- Transition --- */
  --transition: 0.25s ease;
}


/* ==========================================================================
   3. @FONT-FACE — Self-hosted Inter
   ========================================================================== */

/* Latin subset */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Latin-extended subset (covers Turkish special characters) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cyrillic subset (covers Russian) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

h1 {
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--color-primary);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--color-primary);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-primary);
}

p {
  line-height: 1.7;
  color: var(--color-text);
}

.label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* ==========================================================================
   5. LAYOUT UTILITIES
   ========================================================================== */

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.grid-2 {
  display: grid;
  gap: 2rem;
}

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

.grid-3 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 480px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.section--dark {
  background: var(--bg-accent-strip);
  color: #fff;
}

/* ==========================================================================
   6. HEADER
   ========================================================================== */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
  padding: 1.5rem 0;
}

#site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.85); /* Premium glassmorphism */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* .nav-inner is the HTML class; .header-inner kept for hamburger selector compatibility */
.header-inner,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Nav right-side controls wrapper */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}


.nav-logo-link { display: flex; align-items: center; flex-shrink: 0; }

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
  /* White logo on transparent hero header (dark video bg) */
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}

/* On scrolled glass header, logo shows in original colors */
[data-theme="light"] #site-header.scrolled .nav-logo img {
  filter: none;
}

@media (min-width: 768px) {
  .nav-logo img {
    height: 40px;
  }
}

/* Dark mode: make dark-text logo all-white (professional monochrome approach) */

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

#site-header.scrolled .nav-link {
  color: var(--color-primary);
}

.nav-link:hover {
  color: #fff;
  opacity: 0.8;
}

#site-header.scrolled .nav-link:hover {
  color: var(--color-accent);
  opacity: 1;
}

.nav-link.active {
  color: #fff;
}

#site-header.scrolled .nav-link.active {
  color: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   7. HAMBURGER MENU (Mobile CSS-only)
   ========================================================================== */

#nav-toggle {
  display: none;
}

.nav-hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#site-header.scrolled .nav-hamburger span {
  background: var(--color-text);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

@media (max-width: 767px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    gap: 0.25rem;
  }

  .nav-links .nav-link {
    color: var(--color-text);
    font-size: 1rem;
    padding: 0.6rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  #nav-toggle:checked ~ .nav-overlay {
    display: block;
  }

  #nav-toggle:checked ~ .nav-links {
    right: 0;
  }

  /* Animate hamburger to X when open */
  #nav-toggle:checked ~ .nav-controls .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  #nav-toggle:checked ~ .nav-controls .nav-hamburger span:nth-child(2) {
    opacity: 0;
  }

  #nav-toggle:checked ~ .nav-controls .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ==========================================================================
   8. LANGUAGE SWITCHER
   ========================================================================== */

/* ── Language switcher: simple inline buttons ───────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
}

.lang-option {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.45rem;
  transition: color 0.2s ease;
  line-height: 1;
}

.lang-option:hover {
  color: #fff;
}

.lang-option.active {
  color: var(--color-accent);
}

/* Divider between lang buttons */
.lang-option + .lang-option {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

/* Scrolled header: adapt to light background */
#site-header.scrolled .lang-option {
  color: var(--color-muted);
}
#site-header.scrolled .lang-option:hover {
  color: var(--color-accent);
}
#site-header.scrolled .lang-option.active {
  color: var(--color-accent);
}
#site-header.scrolled .lang-option + .lang-option {
  border-left-color: var(--border);
}

/* Explicit dark mode overrides for dropdown (belt-and-suspenders vs CSS var) */

/* ==========================================================================
   9. THEME TOGGLE BUTTON
   ========================================================================== */

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all var(--transition);
  flex-shrink: 0;
}

#site-header.scrolled .theme-toggle {
  color: var(--color-text);
}

.theme-toggle:hover {
  background: var(--bg-muted);
  border-color: var(--color-accent);
}

#site-header.scrolled .theme-toggle:hover {
  color: var(--color-accent);
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}



.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   10. HERO SECTION
   ========================================================================== */

#hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* dynamic viewport height — excludes mobile browser chrome */
  min-height: 600px;
  background: #0A0E1A; /* prevents white flash / border while video loads */
  will-change: transform;
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Dark at bottom for text readability; transparent at top so video is fully visible */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Hero content — full-bleed left-aligned for new homepage layout */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 6vw 8vh;
  color: #fff;
}

.hero-logo {
  height: 72px;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  display: block;
  /* Dark-text logo: invert to white + subtle shadow for depth over video */
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

.hero-slogan {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-accent);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.hero-cta:hover {
  background: #b8820a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 150, 12, 0.4);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ==========================================================================
   11. SECTION COMMON PATTERNS
   ========================================================================== */

.section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.section-heading {
  margin-bottom: 0.5rem;
}

.section-heading-line {
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 1rem 0 2.5rem;
  border-radius: 2px;
}

/* Alternating section backgrounds */
#about {
  background: var(--bg);
}

#services {
  background: var(--bg-muted);
}

#projects {
  background: var(--bg);
  clip-path: polygon(0 2rem, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(5rem + 2rem);
}

@media (max-width: 767px) {
  #projects {
    clip-path: polygon(0 1.5rem, 100% 0, 100% 100%, 0 100%);
    padding-top: calc(3rem + 1.5rem);
  }
}

#certifications {
  background: #1A2744;
  color: #fff;
  padding: 5rem 0;
}


#catalog {
  background: var(--bg);
  text-align: center;
}

#contact {
  background: var(--bg-muted);
}

/* ==========================================================================
   12. ABOUT SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.about-text p {
  margin-bottom: 1.25rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-mission {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.5rem;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 2rem 0;
}

.about-director {
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 0.5rem;
  display: block;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  min-height: 300px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  display: block;
}

/* ==========================================================================
   13. SERVICES SECTION
   ========================================================================== */

.services-intro {
  max-width: 640px;
  margin-bottom: 3rem;
}

.services-sub-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.service-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-accent);
}

.service-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.service-item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

.package-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .package-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.package-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.package-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.package-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.package-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   14. PROJECTS SECTION
   ========================================================================== */

.projects-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 1.25rem;
}

.project-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.project-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}



/* ==========================================================================
   15. CERTIFICATIONS SECTION
   ========================================================================== */

#certifications .label,
#certifications .section-label {
  color: var(--color-accent);
}

#certifications .section-heading {
  color: #fff;
}


#certifications .section-heading-line {
  background: var(--color-accent);
}

.cert-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition);
}

.cert-hero:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cert-icon {
  font-size: 4rem;
  flex-shrink: 0;
  line-height: 1;
}

.cert-hero-content {
  flex: 1;
}

.cert-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.cert-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}


@media (max-width: 767px) {
  .cert-hero {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
  }
}

.cert-cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cert-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cert-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}

.cert-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent);
}

.cert-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: block;
}

.cert-card h3 {
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.cert-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
}



/* ==========================================================================
   16. CATALOG SECTION
   ========================================================================== */

#catalog {
  text-align: center;
}

.catalog-intro {
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-accent);
  color: #fff;
  padding: 1.25rem 3rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.catalog-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: #b8820a;
}

.catalog-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ==========================================================================
   17. CONTACT SECTION
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow);
}

.contact-card-title {
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
  line-height: 1.4;
}

.contact-link:last-child {
  margin-bottom: 0;
}

.contact-link:hover {
  color: var(--color-accent);
}

.contact-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: all var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}

.social-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* Contact Map */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 240px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Contact Form */
.contact-form-wrapper h3 {
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.form-input,
.form-textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--color-text);
  font-size: 0.95rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 150, 12, 0.15);
}


.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  align-self: flex-start;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.form-submit:hover {
  background: #b8820a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 150, 12, 0.35);
}

.form-submit:active {
  transform: translateY(0);
}

/* ==========================================================================
   18. WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
}

/* Tooltip */
.whatsapp-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  color: var(--bg);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.whatsapp-btn:hover::after {
  opacity: 1;
}

/* ==========================================================================
   19. FOOTER
   ========================================================================== */

footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}


.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: auto 1fr auto;
    align-items: start;
  }
}

.footer-logo {
  height: 56px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 240px;
}

.footer-nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav li a:hover {
  color: var(--color-accent);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ==========================================================================
   20. SCROLL REVEAL
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ==========================================================================
   21. DOT GRID TEXTURE (decorative background)
   ========================================================================== */

.dot-grid-bg {
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ==========================================================================
   22. ACCESSIBILITY
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* Reduce motion for users who prefer it */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   23. PRINT
   ========================================================================== */

@media print {
  #hero-video,
  #site-header nav,
  .whatsapp-btn,
  .theme-toggle,
  .lang-switcher {
    display: none !important;
  }

  .hero-content {
    position: static;
    color: #000;
  }

  #site-header {
    position: static;
    background: #fff;
    box-shadow: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }

  .section {
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   24. SMOOTH TRANSITIONS (global — theme & color changes)
   NOTE: Scoped to color/background/border only so reveal animations
   and transforms are not inadvertently overridden.
   ========================================================================== */

* {
  transition-property: background-color, color, border-color;
  transition-duration: 0.25s;
  transition-timing-function: ease;
}

/* Reset the above for elements that have their own more specific transitions */
.hero-cta,
.catalog-btn,
.form-submit,
.project-card,
.service-item,
.package-card,
.cert-card,
.social-link,
.whatsapp-btn,
.contact-card,
.nav-link,
.theme-toggle,
.lang-option,
.skip-link,
.scroll-indicator,
.about-image-wrapper img {
  transition: all var(--transition);
}

/* Remove stale .lang-btn reference (replaced by inline .lang-option) */

/* ==========================================================================
   ADDITIONAL UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.font-bold { font-weight: 700; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-md) 0;
}

/* Tag/chip */
.tag {
  display: inline-block;
  background: var(--bg-muted);
  color: var(--color-text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-muted) 25%,
    var(--bg-surface) 50%,
    var(--bg-muted) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Aspect ratio helpers */
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-4-3 { aspect-ratio: 4 / 3; }

/* Object fit */
.object-cover { object-fit: cover; width: 100%; height: 100%; }

/* Visually truncate long text */
.truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Responsive embed (for iframes/maps) */
.embed-responsive {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.embed-responsive iframe,
.embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

/* 320px — very small phones */
@media (max-width: 319px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-slogan {
    font-size: 2rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* 480px — larger phones */
@media (min-width: 480px) {
  .hero-logo {
    height: 72px;
  }
}

/* 768px — tablets */
@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-cta {
    font-size: 1.05rem;
    padding: 1.1rem 3rem;
  }
}

/* 1024px — small desktops / landscape tablets */
@media (min-width: 1024px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ── Missing utility classes ──────────────────────────────────────────────── */

/* About image + wrap (HTML uses .about-image-wrap, CSS had .about-image-wrapper) */
.about-image-wrap { border-radius: var(--radius-lg); overflow: hidden; }
.about-img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); object-fit: cover; }

/* Equipment gallery */
.equip-gallery { overflow: hidden; }
.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 480px) { .equip-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .equip-grid { grid-template-columns: repeat(6, 1fr); } }
.equip-item {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3;
}
.equip-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.equip-item:hover img { transform: scale(1.05); }

/* Catalog description */
.catalog-desc {
  max-width: 560px; margin: 0 auto 2.5rem;
  color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.7;
}

/* Footer controls (lang switcher + theme toggle in footer) */
.footer-controls {
  display: flex; align-items: center; gap: 0.75rem;
}
.footer-brand { display: flex; align-items: flex-start; }


/* Services sub-heading */
.services-sub-heading {
  font-size: 1.1rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--color-primary);
  margin: 2rem 0 1.25rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* 1440px — large desktops */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }

  h1 {
    font-size: clamp(4rem, 5vw, 6rem);
  }
}

/* ==========================================================================
   MULTI-PAGE SITE STYLES
   ========================================================================== */

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-accent {
  background: var(--color-accent); color: #fff; border-color: var(--color-accent);
}
.btn-accent:hover { background: #a87b0a; border-color: #a87b0a; color: #fff; }

.btn-outline-primary {
  background: transparent; color: var(--color-primary); border-color: var(--color-primary);
}
.btn-outline-primary:hover { background: var(--color-primary); color: #fff; }

.btn-outline-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.7);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.btn-ghost {
  background: transparent; color: var(--color-muted); border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-muted); color: var(--color-text); }

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.5rem; font-size: 0.82rem; align-self: flex-start; }

/* Captcha inline row */
.form-captcha {
  flex-direction: row !important; align-items: center; gap: 0.75rem !important;
}
.form-captcha label {
  font-size: 0.82rem !important; font-weight: 600; color: var(--color-muted) !important;
  white-space: nowrap; margin: 0;
}
.form-captcha input {
  width: 60px; text-align: center; padding: 0.45rem 0.5rem !important;
  font-size: 0.9rem !important; font-weight: 700;
}

/* ── Badges ────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-gold  { background: var(--color-accent); color: #fff; }
.badge-blue  { background: var(--color-accent2); color: #fff; }
.badge-green { background: #059669; color: #fff; }

/* ── Page hero (inner pages) ───────────────────────────────────────────────── */
.page-hero { padding: 120px 0 60px; background: var(--bg-muted); border-bottom: 1px solid var(--border); }
.page-hero .label { display: block; margin-bottom: 0.5rem; }
.page-title {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800;
  color: var(--color-primary); margin: 0.5rem 0; line-height: 1.15;
}
.page-desc {
  max-width: 640px; color: var(--color-muted); margin-top: 0.75rem; font-size: 1.05rem; line-height: 1.7;
}

/* ── Breadcrumb ────────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.25rem; align-items: center;
  font-size: 0.85rem; color: var(--color-muted); margin-bottom: 1rem;
}
.breadcrumb a { color: var(--color-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent); text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--color-text); }
.breadcrumb-light a { color: rgba(255,255,255,0.7); }
.breadcrumb-light a:hover { color: var(--color-accent); }
.breadcrumb-light, .breadcrumb-light span[aria-current] { color: rgba(255,255,255,0.9); }

/* ── New Hero (homepage) ───────────────────────────────────────────────────── */
.hero-text-block {
  max-width: 680px;
}
.hero-label {
  display: block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900; color: #fff; line-height: 1.05;
  margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-sub {
  color: rgba(255,255,255,0.8); font-size: 1.05rem; line-height: 1.65;
  max-width: 520px; margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center;
}
.hero-scroll span {
  display: block; width: 2px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.7));
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Stats bar ─────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--color-primary); color: #fff; padding: 2rem 0;
}
.stats-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0; text-align: center;
}
.stat-item {
  flex: 1 1 140px; padding: 1rem 1.5rem;
  display: flex; flex-direction: column; align-items: center;
}
.stat-item .stat-value {
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900;
  color: var(--color-accent); line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7); margin-top: 0.35rem;
}
.stat-divider {
  width: 1px; height: 48px; background: rgba(255,255,255,0.15);
  display: none;
}
@media (min-width: 640px) { .stat-divider { display: block; } }

/* ── Featured products grid (homepage) ───────────────────────────────────── */
.featured-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .featured-grid { grid-template-columns: repeat(4, 1fr); } }

.featured-card {
  background: var(--bg-surface); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: var(--color-text);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border);
  display: block;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.featured-card-img {
  height: 180px; background-size: cover; background-position: center;
  transition: transform 0.4s ease;
}
.featured-card:hover .featured-card-img { transform: scale(1.04); }
.featured-card-body { padding: 1rem 1.25rem 1.25rem; }
.featured-card-body h3 { font-size: 1rem; font-weight: 700; margin: 0.5rem 0 0.4rem; }
.featured-card-body p { font-size: 0.85rem; color: var(--color-muted); line-height: 1.5; }
.featured-card-body .badge { margin-bottom: 0.25rem; }

/* ── Category cards (home grid + listing teaser) ──────────────────────────── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px)  { .cats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cats-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card {
  position: relative; display: block; text-decoration: none;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  background: var(--bg-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.18); }
.cat-card-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.4s ease;
}
.cat-card:hover .cat-card-img { transform: scale(1.07); }
.cat-card-body {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,0.88) 0%, rgba(10,14,26,0.2) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0.75rem;
}
.cat-card-body h3 {
  color: #fff; font-size: 0.85rem; font-weight: 700; line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5); margin: 0 0 0.2rem;
}
.cat-card-count { color: rgba(255,255,255,0.7); font-size: 0.72rem; }

/* ── Listing page grid (full equipment/facility listing) ──────────────────── */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px)  { .listing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .listing-grid { grid-template-columns: repeat(4, 1fr); } }

.listing-card {
  display: block; text-decoration: none; color: var(--color-text);
  background: var(--bg-surface); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  border-color: var(--color-accent);
}
.listing-card-img {
  height: 180px; background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  transition: transform 0.4s ease;
}
.listing-card:hover .listing-card-img { transform: scale(1.04); }
.listing-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--color-accent); color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: var(--radius-full);
}
.listing-card-body { padding: 1rem 1.25rem 1.25rem; }
.listing-card-title {
  font-size: 0.95rem; font-weight: 700; line-height: 1.35;
  margin-bottom: 0.4rem; color: var(--color-primary);
}
.listing-card-count { font-size: 0.78rem; color: var(--color-muted); }

/* ── Section CTA ───────────────────────────────────────────────────────────── */
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ── Product detail page ───────────────────────────────────────────────────── */
.product-page-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900; color: #fff; margin-top: 0.5rem; line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.product-badge {
  display: inline-block; margin-top: 0.5rem;
  background: var(--color-accent); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.3rem 0.85rem; border-radius: var(--radius-full);
}

.product-layout {
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .product-layout { grid-template-columns: 1fr 300px; }
}

.product-description-wrap { min-width: 0; }
.product-description { max-width: 800px; }
#product-desc p, .product-description p {
  margin-bottom: 1.2rem; line-height: 1.8; color: var(--color-text);
  font-size: 1.02rem;
}
#product-desc p:last-child, .product-description p:last-child { margin-bottom: 0; }

.inline-gallery-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* ── Sidebar ───────────────────────────────────────────────────────────────── */
.sidebar-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem;
}
.sidebar-title {
  font-size: 1rem; font-weight: 700; color: var(--color-primary); margin-bottom: 1rem;
}
.sidebar-contact-list {
  list-style: none; margin-bottom: 1.25rem;
}
.sidebar-contact-list li { margin-bottom: 0.6rem; }
.sidebar-contact-list a {
  color: var(--color-text); text-decoration: none; font-size: 0.92rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.sidebar-contact-list a:hover { color: var(--color-accent); }
.wa-link { color: #25D366 !important; font-weight: 600; }
.wa-link:hover { color: #1ebe57 !important; }

/* ── Gallery grid (product pages) ─────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 480px)  { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1280px) { .gallery-grid { grid-template-columns: repeat(6, 1fr); } }

.gallery-item {
  display: block; aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-muted);
  transition: opacity 0.2s;
  cursor: zoom-in;
}
.gallery-item:hover { opacity: 0.88; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ── About page ────────────────────────────────────────────────────────────── */

/* Compact About topbar — elegant breadcrumb + inline stats */
.about-topbar {
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.about-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1.5rem;
}

/* Breadcrumb refinements */
.about-topbar .breadcrumb {
  font-size: 0.8rem;
  color: var(--color-muted);
  gap: 0.35rem;
}
.about-topbar .breadcrumb a {
  color: var(--color-muted);
  transition: color 0.2s ease;
  font-weight: 400;
}
.about-topbar .breadcrumb a:hover {
  color: var(--color-accent);
}
.about-topbar .breadcrumb [aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}
.about-topbar .bc-chev {
  opacity: 0.35;
  flex-shrink: 0;
}

/* Stats row */
.about-topbar-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.about-topbar-stat {
  text-align: center;
  line-height: 1;
}
.about-topbar-stat .stat-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
  letter-spacing: -0.02em;
}
.about-topbar-stat .stat-label {
  font-size: 0.52rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.15rem;
  display: block;
  font-weight: 500;
}
.topbar-dot {
  color: var(--border);
  font-size: 1.2rem;
  line-height: 1;
  user-select: none;
}

@media (max-width: 480px) {
  .about-topbar-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .about-topbar-stats { gap: 0.5rem; }
  .about-topbar-stat .stat-value { font-size: 0.82rem; }
  .topbar-dot { font-size: 0.9rem; }
}

.about-page-grid {
  display: grid; gap: 3rem; align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .about-page-grid { grid-template-columns: 1fr 340px; } }
.about-page-text p {
  margin-bottom: 1.15rem; line-height: 1.8; color: var(--color-text); font-size: 1.02rem;
}
.about-quote {
  margin: 2.5rem 0; padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 4px solid var(--color-accent);
  background: var(--bg-muted); border-radius: 0 var(--radius) var(--radius) 0;
}
.about-quote p { font-size: 1.1rem; font-style: italic; color: var(--color-primary); margin: 0 0 1rem; }
.about-quote footer { display: flex; flex-direction: column; gap: 0.2rem; }
.about-quote footer strong { font-size: 0.95rem; color: var(--color-text); }
.about-quote footer span { font-size: 0.82rem; color: var(--color-muted); }

.sidebar-stat-card {
  background: var(--bg-surface); border-radius: var(--radius-lg);
  border: 2px solid var(--color-accent); padding: 1.5rem; margin-bottom: 1.25rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; text-align: center;
}
.sidebar-stat-item .stat-value { font-size: 1.6rem; font-weight: 900; color: var(--color-accent); }
.sidebar-stat-item .stat-label { font-size: 0.7rem; color: var(--color-muted); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.08em; }

.sidebar-cert-card, .sidebar-services-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem;
}
.sidebar-cert-card h3, .sidebar-services-card h3 {
  font-size: 0.95rem; font-weight: 700; color: var(--color-primary); margin-bottom: 0.75rem;
}
.sidebar-cert-card p { font-size: 0.88rem; color: var(--color-muted); line-height: 1.6; }
.sidebar-services-card ul { list-style: none; }
.sidebar-services-card ul li {
  font-size: 0.9rem; padding: 0.4rem 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.5rem; color: var(--color-text);
}
.sidebar-services-card ul li::before { content: "✓"; color: var(--color-accent); font-weight: 700; }

/* ── About teaser (homepage) ───────────────────────────────────────────────── */
.about-teaser-grid {
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .about-teaser-grid { grid-template-columns: 1fr 1fr; } }
.about-teaser-text p { margin-bottom: 1rem; line-height: 1.75; color: var(--color-muted); }
.about-teaser-text .btn { margin-top: 1.5rem; }
.about-teaser-img { display: flex; justify-content: center; }
.about-teaser-img img {
  max-width: 220px; opacity: 0.85; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
}

/* ── Contact strip (homepage CTA) ──────────────────────────────────────────── */
.contact-strip {
  background: var(--color-accent); padding: 3.5rem 0;
}
.contact-strip a { color: inherit; }
.contact-strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.contact-strip-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 0.5rem;
}
.contact-strip-text p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.contact-strip-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.contact-strip .btn-accent { background: #fff; color: var(--color-accent); border-color: #fff; }
.contact-strip .btn-accent:hover { background: #f0f0f0; }
.contact-strip .btn-outline-light { border-color: rgba(255,255,255,0.8); color: #fff; }

/* ── Contact page ──────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; gap: 3rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }

.contact-address-card {
  padding: 1.5rem; background: var(--bg-surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}
.contact-address-card--nav:hover { border-color: var(--color-accent); }
.contact-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.65rem; }
.contact-card-title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); margin: 0; }
.contact-card-badge {
  font-size: 0.65rem; font-weight: 600; color: var(--color-muted);
  background: var(--bg-muted); padding: 0.2rem 0.6rem; border-radius: 99px;
  letter-spacing: 0.04em;
}
.contact-address-card address { font-style: normal; }
.contact-map-link {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--color-text); text-decoration: none; font-size: 0.92rem; line-height: 1.5;
  padding: 0.5rem 0.65rem; border-radius: var(--radius);
  transition: all 0.2s ease;
  margin: 0 -0.65rem;
}
.contact-map-link svg:first-child { color: var(--color-accent); flex-shrink: 0; }
.contact-map-link .nav-arrow {
  margin-left: auto; flex-shrink: 0;
  color: var(--color-muted); opacity: 0;
  transition: all 0.2s ease; transform: translate(-3px, 3px);
}
.contact-map-link:hover {
  background: var(--bg-muted); color: var(--color-accent);
}
.contact-map-link:hover .nav-arrow {
  opacity: 1; transform: translate(0, 0);
}
.contact-address-card a:not(.contact-map-link) { color: var(--color-text); text-decoration: none; font-size: 0.95rem; line-height: 1.6; }
.contact-address-card a:not(.contact-map-link):hover { color: var(--color-accent); text-decoration: underline; }

/* Contact right panel — icon-based channels */
.contact-channels-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.contact-item-icon--green { color: #25D366; }
.contact-item:hover .contact-item-icon {
  background: var(--color-accent); color: #fff;
}
.contact-item:hover .contact-item-icon--green {
  background: #25D366; color: #fff;
}
.contact-item-body {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding-top: 0.15rem;
}
.contact-item-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--color-muted); margin-bottom: 0.1rem;
}
.contact-item-body a {
  color: var(--color-text); text-decoration: none; font-size: 0.92rem;
  font-weight: 500; transition: color 0.15s ease;
}
.contact-item-body a:hover { color: var(--color-accent); }

.contact-divider {
  border: none; border-top: 1px solid var(--border); margin: 0.25rem 0;
}

.contact-social-row { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-social { display: flex; gap: 0.75rem; margin-top: 0; }
.contact-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-muted); color: var(--color-muted);
  text-decoration: none; transition: all 0.2s ease;
}
.contact-social a:hover { background: var(--color-accent); color: #fff; }


.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--color-text); }
.form-group input, .form-group textarea {
  padding: 0.75rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-surface);
  color: var(--color-text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200,150,12,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── Catalog page ──────────────────────────────────────────────────────────── */
.catalog-page .catalog-content {
  max-width: 520px; margin: 0 auto; text-align: center; padding: 3rem 1rem;
}
.catalog-icon { color: var(--color-accent); margin-bottom: 1.5rem; }
.catalog-content h2 { font-size: 1.8rem; font-weight: 800; color: var(--color-primary); margin-bottom: 1rem; }
.catalog-content p { color: var(--color-muted); line-height: 1.7; margin-bottom: 2rem; }
.catalog-file-info { font-size: 0.8rem; color: var(--color-muted); margin-top: 0.75rem; }

/* ── Footer multi-page ─────────────────────────────────────────────────────── */
#site-footer {
  background: var(--color-primary); color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo {
  width: 72px; height: 72px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 0.75rem; flex-shrink: 0;
}
.footer-tagline { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin: 0; max-width: 220px; line-height: 1.5; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  color: rgba(255,255,255,0.6); transition: color 0.2s;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
}
.footer-social a:hover { color: var(--color-accent); border-color: var(--color-accent); }

.footer-nav h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); margin-bottom: 1rem; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav ul a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-nav ul a:hover { color: var(--color-accent); }
.footer-nav-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); margin-bottom: 1rem; }

.footer-contact h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); margin-bottom: 1rem; }
.footer-contact p { margin-bottom: 0.4rem; }
.footer-contact a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-contact a:hover { color: var(--color-accent); }

.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ── Dark alt section ─────────────────────────────────────────────────────── */
.section-dark-alt {
  background: var(--bg-muted);
}

/* ── Section layout ─────────────────────────────────────────────────────────  */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 1rem; }

/* ── Loading placeholder ────────────────────────────────────────────────────  */
.loading-text { color: var(--color-muted); font-style: italic; }

/* ── Gallery section heading ────────────────────────────────────────────────  */
.gallery-section .section-heading {
  font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.5rem; text-align: left;
}

/* ── Responsive hero (mobile) ───────────────────────────────────────────────  */
@media (max-width: 767px) {
  .hero-content { padding: 0 4vw 10vh; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .contact-strip-inner { flex-direction: column; }
  .contact-strip-actions { flex-direction: column; width: 100%; }
  .contact-strip-actions .btn { text-align: center; justify-content: center; }
}

/* ==========================================================================
   HAKANSAC-STYLE LAYOUT — Dark Header + Fixed Sidebar
   ========================================================================== */

:root {
  --sidebar-w: 170px;
  --hdr-h: 58px;
  --sidebar-dark: #1e2020;
  --hdr-dark: #141414;
  --site-red: #c0392b;
}

/* ── TRANSPARENT HEADER ──────────────────────────────────────────────────── */
#site-header {
  background: transparent !important;
  height: var(--hdr-h) !important;
  padding: 0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  /* subtle gradient so logo/nav is readable over any background */
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%) !important;
  transition: background 0.35s ease !important;
}

/* Darken slightly on scroll for readability on inner pages */
#site-header.scrolled {
  background: rgba(0,0,0,0.72) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

#site-header .container,
#site-header .nav-container {
  max-width: 100% !important;
  height: 100% !important;
  padding: 0 1.75rem !important;
}

.nav-inner { height: 100%; }

.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 32px !important;
}

.nav-controls { gap: 0.75rem; }

.header-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  padding: 0.3rem;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  flex-shrink: 0;
}
.header-search-btn:hover { color: #fff; }

/* ── Language flag switcher ─────────────────────────────────────────────── */
.lang-switcher { display: flex !important; align-items: center; gap: 2px !important; }

.lang-option {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0.2rem 0.25rem !important;
  border-radius: 4px !important;
  line-height: 1 !important;
  transition: background 0.15s, transform 0.15s !important;
  opacity: 0.65 !important;
}

.lang-flag { font-size: 1.15rem; display: block; line-height: 1; }

.lang-option:hover { opacity: 1 !important; background: rgba(255,255,255,0.12) !important; transform: scale(1.1) !important; }
.lang-option.active { opacity: 1 !important; background: rgba(255,255,255,0.18) !important; box-shadow: 0 0 0 1px rgba(255,255,255,0.25) !important; }

/* Hamburger spans — dark for glass header */
.nav-hamburger span { background: var(--color-primary) !important; }

/* On transparent header (hero), hamburger should be white */
#site-header:not(.scrolled) .nav-hamburger span { background: rgba(255,255,255,0.9) !important; }

/* Mobile: frosted glass header */
@media (max-width: 768px) {
  #site-header {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 1px 12px rgba(0,0,0,0.06) !important;
    padding: 0.5rem 0 !important;
  }
  #site-header #site-header .nav-hamburger span,
  #site-header:not(.scrolled) .nav-hamburger span {
    background: var(--site-orange, #E07820) !important;
    height: 3px !important;
    width: 26px !important;
  }
  #site-header .nav-logo img { filter: none !important; }
  /* Hide header lang-switcher on mobile — it's inside hamburger menu */
  .nav-controls > .lang-switcher { display: none !important; }
  /* Search button dark on glass */
  .header-search-btn { color: var(--site-orange, #E07820) !important; }
}

/* Mobile lang inside hamburger menu */
.mobile-lang-item { display: none; }
@media (max-width: 768px) {
  .mobile-lang-item {
    display: flex !important;
    padding: 0 0 0.75rem !important;
    border-bottom: 1px solid var(--border) !important;
    margin-bottom: 0.25rem;
  }
  .mobile-lang {
    display: flex !important;
    gap: 0.5rem !important;
  }
  .mobile-lang .lang-option {
    opacity: 0.7 !important;
    padding: 0.4rem 0.5rem !important;
  }
  .mobile-lang .lang-option:hover,
  .mobile-lang .lang-option.active {
    opacity: 1 !important;
    background: rgba(0,0,0,0.06) !important;
    box-shadow: none !important;
  }
  .mobile-lang .lang-flag { font-size: 1.4rem; }
}

/* Search button dark on scrolled glass header */
#site-header.scrolled .header-search-btn { color: var(--color-primary); }
#site-header.scrolled .header-search-btn:hover { color: var(--color-accent); }
/* Lang options on scrolled glass */
#site-header.scrolled .lang-option { opacity: 0.8 !important; }
#site-header.scrolled .lang-option:hover { opacity: 1 !important; background: rgba(0,0,0,0.06) !important; }
#site-header.scrolled .lang-option.active { opacity: 1 !important; background: rgba(0,0,0,0.1) !important; box-shadow: 0 0 0 1px rgba(0,0,0,0.1) !important; }

/* ── Search overlay ─────────────────────────────────────────────────────── */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 5, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-top: 12vh;
}
.search-overlay.active { display: flex; }
.search-overlay-inner {
  width: 100%;
  max-width: 660px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--site-orange);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.search-input-wrap svg { flex-shrink: 0; color: rgba(255,255,255,0.5); }

#search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.35rem;
  font-family: inherit;
  font-weight: 400;
  caret-color: var(--site-orange);
}

#search-input::placeholder { color: rgba(255,255,255,0.3); font-style: italic; }

.search-overlay-close {
  position: fixed;
  top: 1.25rem;
  right: 1.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.search-overlay-close:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* Search results */
.search-results { display: flex; flex-direction: column; gap: 4px; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: background 0.15s;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.search-result-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.12); }

.search-result-img {
  width: 52px; height: 42px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.08);
  border-radius: 4px;
}

.search-result-info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }

.search-result-cat {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--site-orange);
}

.search-result-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-no-results {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  font-style: italic;
  padding: 0.5rem 0.75rem;
}

/* ── BODY / WRAPPER LAYOUT ───────────────────────────────────────────────── */
body {
  padding-top: 0 !important;
}

.site-wrapper {
  display: flex;
  margin-top: var(--hdr-h);
  min-height: calc(100vh - var(--hdr-h));
}

body.page-home .site-wrapper {
  min-height: calc(100vh - var(--hdr-h));
}

/* ── FIXED LEFT SIDEBAR — glassmorphism ──────────────────────────────────── */
.site-sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  /* Glassmorphism: semi-transparent dark blur */
  background: rgba(10, 10, 10, 0.42);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-right: 1px solid rgba(255,255,255,0.07);
  position: fixed;
  top: var(--hdr-h);
  left: 0;
  height: calc(100vh - var(--hdr-h));
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease;
}
.site-sidebar::-webkit-scrollbar { display: none; }

.sidebar-heading {
  padding: 1.1rem 1rem 0.65rem;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.38);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0.15rem;
  flex-shrink: 0;
}

.sidebar-nav { list-style: none; padding: 0; margin: 0; }

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-left-color: var(--site-red);
}
.sidebar-nav li a svg { flex-shrink: 0; opacity: 0.45; }
.sidebar-nav li a:hover svg,
.sidebar-nav li a.active svg { opacity: 0.85; }

/* ── MAIN CONTENT (offset for sidebar) ──────────────────────────────────── */
.site-main {
  flex: 1;
  min-width: 0;
  margin-left: var(--sidebar-w);
  background: #fff;
}

/* ── HOMEPAGE HERO ───────────────────────────────────────────────────────── */
.home-hero {
  position: relative;
  height: calc(100vh - var(--hdr-h));
  overflow: hidden;
  background: #0a0a0a;
}

.home-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.28);
}

.home-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 4% 7vh;
}

.home-hero-inner {
  text-align: right;
  max-width: 480px;
}

.home-hero-icon {
  width: 120px;
  height: 120px;
  opacity: 0.82;
  margin-left: auto;
  margin-bottom: 1.75rem;
  display: block;
  /* Make dark logo visible on dark video background */
  filter: brightness(0) invert(1) drop-shadow(0 4px 18px rgba(0,0,0,0.5));
}

.home-hero-slogan {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}

.home-hero-sub {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

/* ── PRODUCT LISTING PAGE ────────────────────────────────────────────────── */
.content-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.content-page-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.view-toggle-btn {
  background: none;
  border: 1px solid var(--site-red);
  color: var(--site-red);
  padding: 0.38rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
  transition: all 0.18s;
}
.view-toggle-btn:hover {
  background: var(--site-red);
  color: #fff;
}

/* Grid view */
.hakan-grid-wrap { padding: 1px; background: #e8e8e8; }

.hakan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1px;
}

.hakan-card {
  background: #fff;
  display: block;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.18s;
  position: relative;
}
.hakan-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.14); z-index: 1; }

.hakan-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-color: #f0f0f0;
  display: block;
}

.hakan-card-body {
  padding: 0.6rem 0.75rem 0.75rem;
  border-top: 1px solid #eee;
}

.hakan-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #333;
  line-height: 1.35;
  margin: 0;
}

/* List view */
.hakan-list { display: none; }
.hakan-list.active { display: block; }
.hakan-grid-wrap.hidden { display: none; }

.hakan-list-section {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid #eee;
  align-items: flex-start;
}

.hakan-list-content { flex: 1; min-width: 0; }

.hakan-list-section-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.hakan-list-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.15rem 0.75rem;
}

.hakan-list-cols a {
  font-size: 0.76rem;
  color: #555;
  text-decoration: none;
  padding: 0.2rem 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}
.hakan-list-cols a:hover { color: var(--site-red); }

.hakan-list-thumb {
  width: 210px;
  min-width: 210px;
  height: 125px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-color: #f0f0f0;
  flex-shrink: 0;
}

/* ── PRODUCT DETAIL PAGE ─────────────────────────────────────────────────── */
.hakan-product-wrap {
  background: #fff;
}

.hakan-product-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #eee;
}

.hakan-carousel {
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
}

.hakan-carousel-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-color: #e8e8e8;
  display: block;
  cursor: zoom-in;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.32);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.18s;
  padding: 0;
}
.carousel-btn:hover { background: rgba(0,0,0,0.58); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s;
}
.carousel-dot.active { background: #fff; }

.hakan-product-info {
  padding: 1.5rem 1.75rem;
  border-left: 1px solid #eee;
}

.hakan-product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--site-red);
  display: inline-block;
  line-height: 1.35;
}

.hakan-product-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.hakan-product-meta li {
  display: flex;
  gap: 0.5rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid #f4f4f4;
  font-size: 0.83rem;
  color: #444;
  align-items: flex-start;
}
.hakan-product-meta li strong { color: #222; min-width: 85px; flex-shrink: 0; }

.hakan-contact-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--site-red);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  border: 1px solid var(--site-red);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s;
}
.btn-red:hover { background: #a93226; }

.btn-red-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--site-red);
  padding: 0.6rem 1.25rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  border: 1px solid var(--site-red);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
}
.btn-red-outline:hover { background: var(--site-red); color: #fff; }

/* ── Product description in right side panel ────────────────────────────── */
.hakan-product-desc {
  margin-top: 0.75rem;
  padding-right: 0.5rem;
}

.hakan-product-desc p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0.75rem;
}

.hakan-product-desc p:last-child {
  margin-bottom: 0;
}

/* ── Compact CTA buttons ────────────────────────────────────────────────── */
.hakan-contact-cta-compact {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
}

.btn-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-compact:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Accordion */
.hakan-accordion { border-top: 1px solid #eee; }

.hakan-acc-item { border-bottom: 1px solid #eee; }

.hakan-acc-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: #fdf1ee;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--site-red);
  user-select: none;
  transition: background 0.15s;
}
.hakan-acc-hdr:hover { background: #f9ddd7; }

.hakan-acc-arrow { transition: transform 0.25s; }
.hakan-acc-item.open .hakan-acc-arrow { transform: rotate(180deg); }

.hakan-acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease;
  background: #fff;
}
.hakan-acc-item.open .hakan-acc-body { max-height: 9999px; }

.hakan-acc-body-inner {
  padding: 1.1rem 1.5rem;
}
.hakan-acc-body-inner p {
  font-size: 0.875rem;
  line-height: 1.72;
  color: #555;
  margin-bottom: 0.85rem;
}
.hakan-acc-body-inner p:last-child { margin-bottom: 0; }

/* Related products */
.hakan-related {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #eee;
  background: #fff;
}

.hakan-related-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eee;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer-bar {
  margin-left: var(--sidebar-w);
  background: var(--hdr-dark);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer-bar-left { display: flex; gap: 1.5rem; }
.site-footer-bar a,
.site-footer-bar-right {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.site-footer-bar a:hover { color: rgba(255,255,255,0.85); }

/* ── INNER PAGE HEADER (breadcrumb area) ─────────────────────────────────── */
.inner-page-hero {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.inner-page-hero .breadcrumb a,
.inner-page-hero .breadcrumb span {
  font-size: 0.78rem;
  color: #888;
}
.inner-page-hero .breadcrumb a:hover { color: var(--site-red); }
.inner-page-hero .breadcrumb { margin-bottom: 0.35rem; }

/* ── MOBILE ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hakan-product-top { grid-template-columns: 1fr; }
  .hakan-product-info { border-left: none; border-top: 1px solid #eee; }
  .hakan-list-section { flex-direction: column; }
  .hakan-list-thumb { width: 100%; min-width: unset; height: 160px; }
  .hakan-list-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }

  .site-sidebar {
    width: 240px;
    transform: translateX(-240px);
  }
  .site-sidebar.mob-open { transform: translateX(0); }

  .site-main { margin-left: 0; }
  .site-footer-bar { margin-left: 0; }

  .hakan-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .hakan-list-cols { grid-template-columns: 1fr; }

  .home-hero-content { padding: 0 5% 8vh; }
  .home-hero-slogan { font-size: clamp(1.75rem, 8vw, 2.5rem); }
}

/* Sidebar mobile overlay */
.sidebar-mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
}
.sidebar-mob-overlay.active { display: block; }

/* ==========================================================================
   V2 OVERRIDES — No sidebar, full-width navbar with dropdown, orange accent
   ========================================================================== */

:root {
  --site-orange: #E07820;
}

/* ── Hide sidebar entirely ──────────────────────────────────────────────── */
.site-sidebar,
.sidebar-mob-overlay { display: none !important; }

/* ── Remove sidebar margin from main content and footer ─────────────────── */
.site-main { margin-left: 0 !important; }
.site-footer-bar { margin-left: 0 !important; }

/* ── NAVBAR REDESIGN ─────────────────────────────────────────────────────── */

/* Full-width nav container (override .container constraints) */
.nav-container {
  width: 100%;
  padding: 0 4%; /* More elegant side padding */
  max-width: 1600px; /* Optional cap */
  margin: 0 auto;
}

/* Show desktop nav links */
@media (min-width: 769px) {
  .nav-links { display: flex !important; align-items: center !important; gap: 2rem !important; margin-left: 2rem; }
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
  .nav-hamburger { display: none !important; }
}

/* Show hamburger on mobile only */
@media (max-width: 768px) {
  .nav-hamburger { display: flex !important; }
}

/* Nav links styling — clean with animated underline */
.nav-link {
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.025em !important;
  padding: 0.35rem 0.6rem !important;
  white-space: nowrap !important;
  position: relative !important;
  color: rgba(255, 255, 255, 0.88) !important;
  transition: color 0.2s ease !important;
}

/* Mobile slide-out menu: MUST override with dark text */
@media (max-width: 768px) {
  .nav-links .nav-link {
    color: #1a1a2e !important;
    font-size: 1rem !important;
    padding: 0.6rem 0 !important;
  }
  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    color: #E07820 !important;
  }
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.6rem;
  right: 0.6rem;
  height: 1.5px;
  background: var(--site-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-link:hover { color: #fff !important; }
.nav-link.active { color: #fff !important; font-weight: 600 !important; }

/* On scrolled glass header, nav links become subtle dark */
#site-header.scrolled .nav-link { color: #4a5568 !important; }
#site-header.scrolled .nav-link:hover { color: var(--site-orange, #E07820) !important; }
#site-header.scrolled .nav-link.active { color: var(--site-orange, #E07820) !important; }

/* Chevron icon inside nav link */
.nav-chev {
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.nav-has-dropdown:hover .nav-chev { transform: rotate(180deg); }

/* ── Ekipmanlar dropdown ─────────────────────────────────────────────────── */
.nav-has-dropdown { position: relative; }

.nav-has-dropdown > a {
  display: flex !important;
  align-items: center !important;
  gap: 0.2rem !important;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  min-width: 210px;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(-4px);
  z-index: 1200;
  list-style: none;
  padding: 0.4rem 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
  display: block !important;
  padding: 0.46rem 1.1rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.79rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border-left: 2px solid transparent !important;
  background: none !important;
  transition: color 0.15s, background 0.15s, border-color 0.15s !important;
}

.nav-dropdown li a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border-left-color: var(--site-orange) !important;
}

/* Mobile: nav dropdown stacks inline */
@media (max-width: 767px) {
  .nav-dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
  }
  .nav-dropdown li a {
    padding-left: 1.5rem !important;
    font-size: 0.85rem !important;
    color: var(--color-text) !important;
    border-left: none !important;
  }
  .nav-dropdown li a:hover { color: var(--site-orange) !important; }
}

/* ── Replace red with orange throughout ─────────────────────────────────── */
.view-toggle-btn {
  border-color: var(--site-orange) !important;
  color: var(--site-orange) !important;
}
.view-toggle-btn:hover {
  background: var(--site-orange) !important;
  color: #fff !important;
}

.hakan-list-cols a:hover { color: var(--site-orange) !important; }

.hakan-product-name { border-bottom-color: var(--site-orange) !important; }

.hakan-acc-hdr {
  background: #fdf3ee !important;
  color: var(--site-orange) !important;
}
.hakan-acc-hdr:hover { background: #fde8d4 !important; }

.inner-page-hero .breadcrumb a:hover { color: var(--site-orange) !important; }

.search-overlay input { border-bottom-color: var(--site-orange) !important; }

.btn-red {
  background: var(--site-orange) !important;
  border-color: var(--site-orange) !important;
}
.btn-red:hover { background: #c56518 !important; border-color: #c56518 !important; }

.btn-red-outline {
  color: var(--site-orange) !important;
  border-color: var(--site-orange) !important;
}
.btn-red-outline:hover {
  background: var(--site-orange) !important;
  color: #fff !important;
}

/* ── Hero: logo + text side by side ─────────────────────────────────────── */
.home-hero-content {
  align-items: center !important;
  justify-content: center !important;
  padding: 0 4% !important;
}

.home-hero-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1.5rem !important;
  text-align: center !important;
  max-width: 900px;
  animation: heroFadeIn 1.5s ease-out forwards;
}

@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.home-hero-icon {
  width: 120px !important;
  height: 120px !important;
  opacity: 1 !important;
  margin: 0 0 1rem 0 !important;
  flex-shrink: 0 !important;
  /* Keep original logo colors, just add subtle transparency */
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5)) !important;
  opacity: 0.85 !important;
}

.home-hero-text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }

.home-hero-slogan {
  font-size: clamp(2.5rem, 5vw, 5rem) !important;
  text-align: center !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: -0.02em !important;
  font-weight: 800 !important;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6) !important;
}

.home-hero-sub {
  text-align: center !important;
  font-size: 1rem !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
}

@media (max-width: 600px) {
  .home-hero-inner { gap: 1rem !important; }
  .home-hero-icon { width: 80px !important; height: 80px !important; }
  .home-hero-slogan { font-size: clamp(2rem, 8vw, 2.5rem) !important; }
}

/* ── Fix: blockquote footer must not inherit site footer dark styles ─────── */
blockquote footer,
.about-quote footer {
  background: transparent !important;
  padding: 0 !important;
  color: var(--color-text) !important;
  border: none !important;
  margin: 0 !important;
}
.about-quote footer strong { color: var(--color-primary) !important; font-size: 0.95rem; display: block; margin-bottom: 0.15rem; }
.about-quote footer span   { color: var(--color-muted) !important; font-size: 0.82rem; }

/* ── Hide site footer bar completely ─────────────────────────────────────── */
.site-footer-bar,
#site-footer { display: none !important; }

/* ── Equipment / Facilities listing page — left sidebar layout ───────────── */
.listing-page-body {
  display: flex;
  min-height: calc(100vh - 58px - 52px); /* viewport minus header minus page-top bar */
}

.listing-page-sidebar {
  width: 200px;
  min-width: 200px;
  flex-shrink: 0;
  background: #fafafa;
  border-right: 1px solid #eee;
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.listing-page-sidebar::-webkit-scrollbar { width: 4px; }
.listing-page-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.listing-sidebar-heading {
  padding: 1rem 1rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
  border-bottom: 1px solid #eee;
  margin-bottom: 0.25rem;
}

.listing-sidebar-nav { list-style: none; padding: 0.25rem 0; }

.listing-sidebar-nav li a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.77rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  line-height: 1.35;
}

.listing-sidebar-nav li a:hover,
.listing-sidebar-nav li a.active {
  color: #222;
  background: #f0f0f0;
  border-left-color: var(--site-orange);
}

.listing-page-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .listing-page-sidebar { display: none; }
  .listing-page-body { display: block; }
}
