/* =============================================
   ASEL İZOLASYON — Corporate Design System
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- SEO: Visually Hidden (for screen readers) ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #0c7abf;
  --primary-light: #3da5e6;
  --primary-dark: #085a8e;
  --primary-alpha-10: rgba(12, 122, 191, 0.10);
  --primary-alpha-20: rgba(12, 122, 191, 0.20);

  --secondary: #111111;
  --secondary-light: #333333;

  --bg: #f8f9fb;
  --bg-alt: #ffffff;
  --bg-dark: #0d1117;

  --text: #2c2c2c;
  --text-light: #6b7280;
  --text-white: #ffffff;
  --text-muted: #9ca3af;

  --border: #e5e7eb;
  --border-light: #f0f1f3;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 80px;
  --section-spacing: 100px;
  --container-width: 1200px;
  --container-padding: 24px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
  -webkit-tap-highlight-color: rgba(12, 122, 191, 0.15);
}

/* Mobile touch: eliminate 300ms delay on interactive elements */
a,
button,
.btn,
.hamburger,
.gallery-item,
.contact-card--clickable,
.lightbox-close,
.lightbox-nav,
.back-to-top,
.toggle-about-btn,
.mobile-nav-link {
  touch-action: manipulation;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-spacing) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header--centered {
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
  padding: 6px 20px;
  background: var(--primary-alpha-10);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(12, 122, 191, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(12, 122, 191, 0.4);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(12, 122, 191, 0.3);
}

.btn-white {
  background: var(--text-white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-icon {
  font-size: 1.1em;
  transition: transform var(--transition);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ---------- Header / Navbar ---------- */
.header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  height: var(--header-height);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 100%;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo img {
  height: 60px;
  width: auto;
  transition: height var(--transition);
}

.header.scrolled .logo img {
  height: 40px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.3px;
}

.logo-text span {
  color: var(--primary);
}

/* Navbar Partner Brands */
.navbar-brands {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1001;
  flex-shrink: 1;
  min-width: 0;
}

.navbar-brands img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition);
  border-radius: 4px;
  flex-shrink: 1;
  min-width: 0;
}

/* Köster logosunu biraz daha büyük yap */
.navbar-brands img[src*="koster"] {
  height: 65px;
}

/* Tekno logosunu da beyaz boşlukları telafi etmek için büyüt */
.navbar-brands img[src*="tekno"] {
  height: 65px;
}

.navbar-brands .brand-logo-main {
  height: 60px;
}

.header.scrolled .navbar-brands img {
  height: 36px;
}

.header.scrolled .navbar-brands .brand-logo-main {
  height: 40px;
}

.header.scrolled .navbar-brands img[src*="koster"],
.header.scrolled .navbar-brands img[src*="tekno"] {
  height: 46px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-link {
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition);
}

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

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

.nav-cta {
  margin-left: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--bg-alt);
  z-index: 1000;
  padding: 100px 32px 32px;
  transition: right var(--transition);
  box-shadow: var(--shadow-xl);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  padding-left: 8px;
}

.mobile-nav-cta {
  margin-top: 24px;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(13, 17, 23, 0.82) 0%,
      rgba(12, 122, 191, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--container-padding);
  max-width: 800px;
}

.hero-logo {
  width: 300px;
  margin: 0 auto 32px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-light), #60c5f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  transition: opacity var(--transition);
  cursor: pointer;
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--text-white);
  border-radius: 2px;
  animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* ---------- About Preview ---------- */
.about-preview {
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

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

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--primary-alpha-20);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  left: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge .badge-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge .badge-text {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.9;
}

.about-text-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 32px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

.about-feature-item .check-icon {
  width: 22px;
  height: 22px;
  background: var(--primary-alpha-10);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ---------- About Full Page ---------- */
.about-full {
  background: var(--bg-alt);
}

.about-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-full-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-full-text {
  text-align: justify;
}

.about-full-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: left;
}

.about-full-text .section-label {
  text-align: left;
}

.about-text-preview p,
.about-text-full p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: justify;
}

.about-text-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.about-text-full.expanded {
  overflow: visible;
}

.toggle-about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 24px;
  background: transparent;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.toggle-about-btn:hover {
  background: transparent;
  color: var(--primary-dark);
  border: none;
  transform: translateY(-2px) scale(1.05);
}

.toggle-about-btn .arrow {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.toggle-about-btn.expanded .arrow {
  transform: rotate(180deg);
}

/* ---------- Services Preview ---------- */
.services-preview {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: var(--primary-alpha-10);
  color: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo img {
  height: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-column a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-column a:hover {
  color: var(--primary-light);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item .icon {
  color: var(--primary);
  margin-top: 2px;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-credit {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.footer-credit b {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--bg-dark), var(--secondary-light));
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
  opacity: 0.6;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb a {
  color: var(--primary-light);
}

.page-header .breadcrumb a:hover {
  color: var(--text-white);
}

/* ---------- About Page ---------- */
.about-full {
  background: var(--bg-alt);
}

.about-full-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.about-full-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-full-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 24px;
}

.about-text-preview {
  color: var(--text-light);
  line-height: 1.9;
  font-size: 0.98rem;
}

.about-text-full {
  color: var(--text-light);
  line-height: 1.9;
  font-size: 0.98rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-text-full.expanded {
  max-height: 2000px;
}

.toggle-about-btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 10px 0;
  transition: all var(--transition-fast);
}

.toggle-about-btn:hover {
  gap: 12px;
}

.toggle-about-btn .arrow {
  transition: transform var(--transition);
}

.toggle-about-btn.expanded .arrow {
  transform: rotate(180deg);
}

/* ---------- Services Page ---------- */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card-full {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--border-light);
}

.service-card-full:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-full-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card-full:hover .service-card-full-img {
  transform: scale(1.05);
}

.service-card-full-img-wrapper {
  overflow: hidden;
}

.service-card-full-body {
  padding: 28px;
}

.service-card-full-body .service-icon {
  margin: 0 0 20px;
}

.service-card-full-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 12px;
}

.service-card-full-body p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Cap stagger delay for gallery items */
.gallery-grid .scale-in {
  transition-delay: 0s !important;
}

.gallery-grid .scale-in:nth-child(-n+3) {
  transition-delay: 0s !important;
}

.gallery-grid .scale-in:nth-child(4) {
  transition-delay: 0.08s !important;
}

.gallery-grid .scale-in:nth-child(5) {
  transition-delay: 0.12s !important;
}

.gallery-grid .scale-in:nth-child(6) {
  transition-delay: 0.16s !important;
}

.gallery-grid .scale-in:nth-child(n+7) {
  transition-delay: 0.2s !important;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: linear-gradient(110deg, #e8e8e8 30%, #f5f5f5 50%, #e8e8e8 70%);
  background-size: 200% 100%;
  animation: galleryShimmer 1.5s ease-in-out infinite;
}

@keyframes galleryShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Stop shimmer once image is loaded */
.gallery-item.img-loaded {
  animation: none;
  background: var(--border);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter 0.4s ease, opacity 0.4s ease;
}

/* Blur-up effect: images start blurred and reveal on load */
.gallery-item img {
  filter: blur(12px);
  opacity: 0.6;
}

.gallery-item img.loaded {
  filter: blur(0);
  opacity: 1;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  pointer-events: none;
}

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

.gallery-item-overlay .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.3rem;
  opacity: 0;
  transition: all var(--transition);
}

.gallery-item:hover .gallery-item-overlay .zoom-icon {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.video-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(12, 122, 191, 0.9);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity var(--transition);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.lightbox-content img,
.lightbox-content video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--text-white);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-white);
  font-size: 1.6rem;
  cursor: pointer;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ---------- Contact Page ---------- */
.contact-section {
  padding: var(--section-spacing) 0;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-alt);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(12, 122, 191, 0.12);
  border-color: var(--primary-alpha-20);
}

.contact-card__icon {
  width: 64px;
  height: 64px;
  background: var(--primary-alpha-10);
  color: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.contact-card:hover .contact-card__icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  transform: scale(1.08);
}

.contact-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.contact-card__text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 4px;
}

/* Clickable cards (Phone & Email) */
.contact-card--clickable {
  cursor: pointer;
  position: relative;
}

.contact-card__action {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}

.contact-card--clickable:hover .contact-card__action {
  opacity: 1;
  transform: translateY(0);
}

/* Working Hours Card */
.contact-card--hours {
  grid-column: 1 / -1;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 400px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.92rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li:hover {
  background: var(--primary-alpha-10);
  border-radius: var(--radius);
}

.hours-list li span:first-child {
  font-weight: 500;
  color: var(--secondary);
}

.hours-list li span:last-child {
  font-weight: 600;
  color: var(--primary);
}

.hours-closed span:last-child {
  color: #ef4444 !important;
  font-weight: 600;
}

.contact-map {
  margin-top: 80px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
  z-index: 1;
  position: relative;
  touch-action: auto;
  pointer-events: auto;
  -webkit-overflow-scrolling: touch;
}

/* Ensure no pseudo-elements block map touch on mobile */
.contact-map::before,
.contact-map::after {
  pointer-events: none;
}

.map-directions-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.map-directions-btn:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(12, 122, 191, 0.35);
}

.map-open-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.map-open-btn:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(12, 122, 191, 0.35);
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .navbar-brands {
    gap: 12px;
  }

  .navbar-brands img {
    height: 40px;
  }

  .navbar-brands img[src*="koster"],
  .navbar-brands img[src*="tekno"] {
    height: 52px;
  }

  .navbar-brands .brand-logo-main {
    height: 50px;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1200px) {
  .navbar-brands {
    gap: 8px;
  }

  .navbar-brands img {
    height: 34px;
  }

  .navbar-brands img[src*="koster"],
  .navbar-brands img[src*="tekno"] {
    height: 44px;
  }

  .navbar-brands .brand-logo-main {
    height: 44px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .nav {
    gap: 0;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-spacing: 80px;
  }

  .header, .header.scrolled {
    height: auto;
    padding: 12px 0;
  }

  .header .container {
    align-items: center;
  }

  .navbar-brands {
    flex-wrap: wrap;
    row-gap: 12px;
    column-gap: 8px;
    max-width: 340px;
    justify-content: flex-start;
  }

  .navbar-brands > a {
    flex: 0 0 calc(33.333% - 6px);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navbar-brands img {
    height: 36px;
    max-width: 100%;
  }

  .navbar-brands img[src*="koster"],
  .navbar-brands img[src*="tekno"] {
    height: 46px;
  }

  .navbar-brands .brand-logo-main {
    height: 48px;
  }

  .nav {
    margin-left: auto;
    gap: 0;
    align-self: flex-start;
    padding-top: 10px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .about-grid,
  .about-full-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }

  .nav,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav-overlay,
  .mobile-nav {
    display: block;
  }

  :root {
    --section-spacing: 64px;
    --header-height: auto;
    --container-padding: 18px;
  }

  .header {
    padding: 12px 0;
  }

  .header.scrolled {
    height: auto;
    padding: 8px 0;
  }

  .navbar-brands {
    flex-wrap: wrap;
    row-gap: 12px;
    column-gap: 8px;
    max-width: 85%;
  }

  .navbar-brands > a {
    flex: 0 0 calc(33.333% - 6px);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navbar-brands img {
    height: 36px;
    max-width: 100%;
  }

  .navbar-brands .brand-logo-main {
    height: 48px;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.4rem);
  }

  .hero-logo {
    width: 300px;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-full-grid {
    grid-template-columns: 1fr;
  }

  .about-features-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }

  .contact-card {
    padding: 28px 24px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .page-header {
    padding: 120px 0 60px;
  }

  /* --- Mobile Touch Fixes --- */

  /* Make contact card action text always visible on mobile (no hover) */
  .contact-card__action {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hide gallery overlay icon on mobile — clean look */
  .gallery-item-overlay {
    display: none;
  }

  /* Larger lightbox nav buttons for touch */
  .lightbox-nav {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .lightbox-close {
    width: 52px;
    height: 52px;
  }

  /* Larger hamburger touch target */
  .hamburger {
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
  }

  /* Back to top - larger touch target on mobile */
  .back-to-top {
    width: 50px;
    height: 50px;
  }

  /* Map touch fixes for mobile */
  .contact-map {
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    overflow: visible;
  }

  .contact-map iframe {
    z-index: 10;
    touch-action: auto;
    pointer-events: auto;
    min-height: 350px;
  }

  .map-directions-btn {
    z-index: 11;
    pointer-events: auto;
    min-height: 44px;
    min-width: 44px;
  }

  .map-open-btn {
    z-index: 11;
    pointer-events: auto;
    min-height: 44px;
    min-width: 44px;
  }
}

@media (max-width: 480px) {
  .navbar-brands {
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 6px;
    max-width: 85%;
  }

  .navbar-brands > a {
    flex: 0 0 calc(33.333% - 4px);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navbar-brands img {
    height: 30px;
    max-width: 100%;
  }

  .navbar-brands .brand-logo-main {
    height: 38px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .service-card {
    padding: 28px 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .lightbox {
    padding: 16px;
  }
}

/* ---------- Utility Classes ---------- */
.footer-link {
  color: inherit;
}

.services-cta-wrapper {
  text-align: center;
  margin-top: 48px;
}

.mt-16 {
  margin-top: 16px;
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.back-to-top:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-4px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}