/* ========================================================
   VIP TESİSAT - MASTER STYLESHEET
   Accurately crafted to match reference site visual architecture
   ======================================================== */

:root {
  --primary-blue: #316eb1;
  --dark-blue: #2457a7;
  --hover-blue: #285f9c;
  --accent-gold: #ffb100;
  --accent-green: #15a742;
  --dark-text: #172033;
  --muted-text: #5f6b7a;
  --border-light: #e6edf5;
  --bg-light: #f6f9fd;
  --white: #ffffff;
}

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

body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: var(--dark-text);
  background-color: #ffffff;
  line-height: 1.5;
  font-size: 14px;
  overflow-x: hidden;
  padding-bottom: 0;
}

@media (max-width: 991px) {
  body {
    padding-bottom: 60px; /* space for mobile sticky cta */
  }
}

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

a:hover, a:focus {
  color: var(--hover-blue);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

/* Grid & Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Visibility utilities */
.hidden-xs { display: block !important; }
.hidden-sm { display: block !important; }
.hidden-md { display: block !important; }
.hidden-lg { display: block !important; }

@media (max-width: 767px) {
  .hidden-xs { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm { display: none !important; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md { display: none !important; }
}
@media (min-width: 1200px) {
  .hidden-lg { display: none !important; }
}

/* ========================================================
   HEADER (DESKTOP)
   ======================================================== */
header.engn-desktop {
  width: 100%;
  background: #ffffff;
  position: relative;
  z-index: 999;
}

@media (max-width: 991px) {
  header.engn-desktop {
    display: none !important;
  }
}

/* Header Top Bar */
header.engn-desktop .top {
  background: #fdfdfd;
  border-bottom: 1px solid #ebebeb;
  padding: 5px 0;
}

header.engn-desktop .top .phones {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

header.engn-desktop .top .phones .phone-item {
  padding: 0 15px;
  border-right: 1px solid #e2e8f0;
}

header.engn-desktop .top .phones .phone-item:last-child {
  border-right: none;
}

header.engn-desktop .top .phones .phone-item a {
  display: block;
  color: #1e293b;
  text-decoration: none;
}

header.engn-desktop .top .phones .phone-item .area {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

header.engn-desktop .top .phones .phone-item .phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  color: #0f172a;
}

header.engn-desktop .top .phones .phone-item .phone i {
  color: var(--primary-blue);
  font-size: 16px;
}

/* Header Bottom Bar */
header.engn-desktop .bottom {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

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

.desktop-logo-wrap {
  display: flex;
  align-items: center;
}

.brand-text-logo {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.brand-text-logo .badge-vip {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
}

.brand-text-logo .logo-water-drop {
  display: inline-block;
  color: #38bdf8;
  animation: dripDrop 1.8s infinite ease-in-out;
}

@keyframes dripDrop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

#top-text {
  font-size: 26px;
  font-weight: 700;
  color: #2457a7;
  font-family: Arial, sans-serif;
  letter-spacing: -0.3px;
}

#top-text span {
  color: #0f172a;
  border-bottom: 3px solid #ffb100;
  padding-bottom: 2px;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  animation: pulseButton 2s infinite ease-in-out;
}

@keyframes pulseButton {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.header-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-size: 17px;
  transition: all 0.2s ease;
}

.header-social a.facebook:hover { background: #1877f2; color: #fff; }
.header-social a.instagram:hover { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); color: #fff; }
.header-social a.youtube:hover { background: #ff0000; color: #fff; }

/* Desktop Navigation Bar */
#desktop-nav {
  background-color: var(--primary-blue);
  border-bottom: 1px solid #285f9c;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#desktop-nav .container {
  padding: 0 10px;
  max-width: 1240px;
}

#desktop-nav > .container > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
}

#desktop-nav > .container > ul > li {
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  flex: 1 1 auto;
  text-align: center;
  display: flex;
  align-items: stretch;
}

#desktop-nav > .container > ul > li:last-child {
  border-right: none;
}

#desktop-nav > .container > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px clamp(4px, 0.7vw, 10px);
  font-size: clamp(11px, 0.76vw, 12.8px);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.2px;
  white-space: nowrap;
  gap: 3px;
  transition: background-color 0.18s ease;
}

#desktop-nav > .container > ul > li:hover > a {
  background-color: #2457a7;
}

@media (max-width: 1250px) and (min-width: 992px) {
  #desktop-nav > .container > ul > li > a {
    font-size: 11.2px;
    padding: 13px 4px;
    letter-spacing: 0;
  }
}

/* Dropdown Menu */
#desktop-nav > .container > ul > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  list-style: none;
  padding: 14px 18px;
  margin: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-top: 3px solid #ffb100;
  border-radius: 0 0 8px 8px;
  z-index: 99999;
}

#desktop-nav > .container > ul > li:hover > ul {
  display: block;
}

#desktop-nav > .container > ul > li > ul > li.dropdown-header {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark-blue);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
}

#desktop-nav > .container > ul > li > ul > li > a {
  display: block;
  padding: 7px 0;
  font-size: 13.5px;
  color: #475569;
  font-weight: 500;
  border-bottom: 1px dashed #f1f5f9;
  transition: all 0.2s ease;
}

#desktop-nav > .container > ul > li > ul > li > a:hover {
  color: #e11d48;
  padding-left: 6px;
}

/* Sticky header effect */
header.engn-desktop.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ========================================================
   HEADER (MOBILE)
   ======================================================== */
header.engn-mobile {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
  header.engn-mobile {
    display: block;
  }
  .page-wrapper {
    padding-top: 100px;
  }
}

header.engn-mobile .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  min-height: 56px;
}

header.engn-mobile .navbar-toggle {
  background: none;
  border: none;
  color: var(--primary-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}

header.engn-mobile .navbar-toggle span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

header.engn-mobile .logo .brand-text-logo {
  font-size: 22px;
}

header.engn-mobile .canli-destek a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

header.engn-mobile .canli-destek i {
  color: #15a742;
  font-size: 26px;
}

header.engn-mobile .canli-destek span {
  font-size: 9px;
  font-weight: 800;
  color: #15a742;
}

header.engn-mobile .mobil-mini-menu {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 6px 12px;
}

header.engn-mobile .mobil-mini-menu ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

header.engn-mobile .mobil-mini-menu ul li a {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
}

/* Offcanvas Mobile Menu */
.menu-wrap {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85%;
  background: rgba(15, 23, 42, 0.97);
  z-index: 10001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 20px 16px;
}

.menu-wrap.is-open {
  transform: translateX(0);
}

.menu-wrap .close-button {
  background: #1e293b;
  border: 1px solid #334155;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 16px;
  width: 100%;
}

.menu-wrap .tesf {
  background: #2563eb;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.menu-wrap ul.icon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.menu-wrap ul.icon-list > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-wrap ul.icon-list > li > a {
  display: block;
  padding: 12px 6px;
  color: #f1f5f9;
  font-weight: 700;
  font-size: 14px;
}

.menu-wrap ul.icon-list > li > a:hover {
  color: #38bdf8;
}

.menu-wrap .contact-boxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-wrap .contact-box a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #1e293b;
  border-radius: 10px;
  color: #38bdf8;
  font-weight: 800;
  font-size: 14px;
}

.engn-black-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  backdrop-filter: blur(2px);
}

.engn-black-overlay.is-active {
  display: block;
}

/* ========================================================
   HERO SLIDER
   ======================================================== */
.ttx-slider {
  display: block;
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  background: #1e293b;
  user-select: none;
}

@media (max-width: 991px) {
  .ttx-slider {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .ttx-slider {
    height: 240px;
  }
}

.ttx-slider__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ttx-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
  will-change: transform;
}

.ttx-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
}

.ttx-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ttx-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.5);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ttx-slider__nav:hover {
  background: rgba(17, 24, 39, 0.85);
  transform: translateY(-50%) scale(1.05);
}

.ttx-slider__prev { left: 16px; }
.ttx-slider__next { right: 16px; }

.ttx-slider__toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
}

.ttx-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 8px;
}

.ttx-slider__dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.ttx-slider__dot.active {
  background: #ffffff;
  transform: scale(1.2);
}

.ttx-slider__callwrap {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  z-index: 21;
}

.ttx-slider__callbtn {
  border: none;
  border-radius: 999px;
  background: #316eb1;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 26px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.ttx-slider__callbtn:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

/* Call Modal */
.ttx-slider__modal {
  position: absolute;
  inset: 0;
  z-index: 40;
}

.ttx-slider__modal[hidden] {
  display: none !important;
}

.ttx-slider__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
}

.ttx-slider__modal-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  max-width: 90%;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.ttx-slider__modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  font-size: 20px;
  cursor: pointer;
}

.ttx-slider__modal-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  margin-bottom: 10px;
}

.ttx-slider__phonecard {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-top: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ttx-slider__phonecard:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.ttx-slider__phone-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.ttx-slider__phone-number {
  font-size: 19px;
  color: #0f172a;
  font-weight: 900;
}

/* ========================================================
   HOME TABS (4 QUICK ACTION BOXES)
   ======================================================== */
#home-tabs {
  background-color: #ffffff;
  border-bottom: 3px solid #316eb1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

#home-tabs .container {
  display: flex;
  flex-wrap: wrap;
}

#home-tabs .tab {
  flex: 1 1 25%;
  padding: 20px 16px;
  cursor: pointer;
  border-right: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

#home-tabs .tab:last-child {
  border-right: none;
}

#home-tabs .tab:hover {
  background-color: #f8fafc;
}

#home-tabs .tab a {
  display: block;
  text-decoration: none;
}

#home-tabs .tab .head {
  font-size: 17px;
  color: #316eb1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

#home-tabs .tab .head i {
  color: #8194db;
  font-size: 20px;
}

#home-tabs .tab .head span {
  font-weight: 800;
  color: #1e3a8a;
}

#home-tabs .tab .desc {
  padding-left: 30px;
  font-size: 12.5px;
  color: #616161;
  line-height: 1.4;
}

@media (max-width: 991px) {
  #home-tabs .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  #home-tabs .tab {
    flex: none;
    padding: 14px 12px;
    border-bottom: 1px solid #f1f5f9;
  }
}
@media (max-width: 480px) {
  #home-tabs .tab {
    padding: 12px 8px;
  }
  #home-tabs .tab .head {
    font-size: 13.5px;
  }
  #home-tabs .tab .desc {
    padding-left: 20px;
    font-size: 11px;
  }
}

/* ========================================================
   SERVICES SECTION (5 SQUARE CARDS)
   ======================================================== */
.tt-home-index {
  padding: 30px 0;
}

.tt-index-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 35px;
}

.tt-index-title h1, .tt-index-title h2, .hinc h1, .hinc h2 {
  color: #2457a7;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tt-index-title p {
  color: var(--muted-text);
  font-size: 16px;
}

.tt-index-services {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

@media (max-width: 1024px) {
  .tt-index-services {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .tt-index-services {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .tt-index-services > a:last-child {
    grid-column: span 2;
  }
  .tt-index-service-card {
    padding: 10px;
    border-radius: 16px;
  }
  .tt-index-service-card h3 {
    font-size: 13.5px;
    margin: 8px 0 2px;
  }
}

.tt-index-service-card {
  background: #ffffff;
  border: 1px solid #e6edf5;
  border-radius: 20px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(15, 35, 65, 0.06);
  transition: all 0.25s ease;
  display: block;
  text-decoration: none;
}

.tt-index-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(15, 35, 65, 0.12);
  border-color: #bfdbfe;
}

.tt-index-service-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.tt-index-service-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 14px 0 4px;
  color: #172033;
}

/* ========================================================
   VIDEO SECTION
   ======================================================== */
.tt-video-section {
  width: 100%;
  padding: 60px 0;
  background: #f8fafc;
}

.tt-video-header {
  text-align: center;
  margin-bottom: 35px;
}

.tt-video-header span {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2457a7;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.tt-video-header h2 {
  font-size: 28px;
  color: #0f172a;
  font-weight: 800;
}

.tt-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .tt-video-grid {
    grid-template-columns: 1fr;
  }
}

.tt-video-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: all 0.25s ease;
  display: block;
}

.tt-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.tt-video-image-wrapper {
  position: relative;
  overflow: hidden;
}

.tt-video-image {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.tt-video-card:hover .tt-video-image {
  transform: scale(1.04);
}

.tt-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-play-button::before {
  content: "";
  display: block;
  margin-left: 4px;
  border-left: 18px solid #ffffff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.tt-video-content {
  padding: 20px;
}

.tt-video-content h3 {
  font-size: 19px;
  font-weight: 800;
  color: #2457a7;
  margin-bottom: 8px;
}

.tt-video-content p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* ========================================================
   REFERENCE WORKS (3 SQUARE ROTATING CAROUSELS)
   ======================================================== */
.tt-reference-works-section {
  padding: 50px 0 60px;
  background: #f8fafc;
}

.tt-ref-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 991px) {
  .tt-ref-works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.tt-ref-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.tt-ref-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  border-color: #93c5fd;
}

.tt-ref-carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f172a;
  user-select: none;
}

.tt-ref-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease-in-out;
  will-change: transform;
}

.tt-ref-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
}

.tt-ref-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tt-ref-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.tt-ref-nav-prev,
.tt-ref-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease;
  opacity: 0.8;
}

.tt-ref-card:hover .tt-ref-nav-prev,
.tt-ref-card:hover .tt-ref-nav-next {
  opacity: 1;
}

.tt-ref-nav-prev:hover,
.tt-ref-nav-next:hover {
  background: #2563eb;
  transform: translateY(-50%) scale(1.08);
}

.tt-ref-nav-prev {
  left: 12px;
}

.tt-ref-nav-next {
  right: 12px;
}

.tt-ref-info {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tt-ref-info h3 {
  font-size: 19px;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.tt-ref-info p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.tt-ref-link {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.tt-ref-link:hover {
  color: #1d4ed8;
  transform: translateX(3px);
}

/* ========================================================
   ABOUT SECTION
   ======================================================== */
.tt-about-section {
  width: 100%;
  padding: 60px 0;
}

.tt-about-container {
  background: #ffffff;
  padding: 35px 25px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.tt-about-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 800;
}

.tt-about-stars {
  margin-bottom: 12px;
}

.tt-about-stars i {
  font-size: 26px;
  color: var(--accent-gold);
}

.tt-about-container h2 {
  font-size: 30px;
  color: #2457a7;
  font-weight: 800;
  margin-bottom: 20px;
}

.tt-about-container p {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: left;
}

/* ========================================================
   DISTRICTS SECTION (İSTANBUL İLÇELERİ)
   ======================================================== */
.tt-districts-container {
  max-width: 1140px;
  margin: 40px auto;
  padding: 0 15px;
}

.tt-districts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 768px) {
  .tt-districts-grid {
    grid-template-columns: 1fr;
  }
}

.tt-district-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.05);
}

.tt-district-card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.tt-district-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.tt-district-list a, .tt-district-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tt-district-list a:hover {
  background: #2457a7;
  border-color: #2457a7;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ========================================================
   CATEGORY TABS & CARDS ("Diğer Hizmetlerimiz")
   ======================================================== */
.tt-category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 30px;
}

.tt-cat-tab {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tt-cat-tab:hover, .tt-cat-tab.active {
  background: #316eb1;
  color: #ffffff;
  border-color: #316eb1;
  box-shadow: 0 4px 14px rgba(49, 110, 177, 0.3);
}

.tt-cat-content {
  display: none;
}

.tt-cat-content.active {
  display: block;
}

.tt-index-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 991px) {
  .tt-index-category-list {
    grid-template-columns: 1fr;
  }
}

.tt-index-category-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e6edf5;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(15, 35, 65, 0.06);
  transition: all 0.2s ease;
}

.tt-index-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(15, 35, 65, 0.1);
}

@media (max-width: 550px) {
  .tt-index-category-card {
    grid-template-columns: 1fr;
  }
}

.tt-card-img-link {
  display: block;
  width: 160px;
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
}

@media (max-width: 550px) {
  .tt-card-img-link {
    width: 100%;
    height: 180px;
  }
}

.tt-card-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.tt-index-category-card:hover .tt-card-img-link img {
  transform: scale(1.05);
}

.tt-category-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tt-category-text h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.tt-category-text p {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.tt-detail-btn {
  display: inline-flex;
  color: #2563eb !important;
  font-size: 13.5px;
  font-weight: 800;
}

.tt-detail-btn:hover {
  color: #1d4ed8 !important;
  text-decoration: underline;
}

/* ========================================================
   CUSTOMER REVIEWS (GOOGLE YORUMLARI)
   ======================================================== */
.tt-index-light {
  background: #f8fafc;
  padding: 60px 0;
}

.tt-google-trust-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 35px;
}

.tt-google-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.tt-index-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .tt-index-reviews {
    grid-template-columns: 1fr;
  }
}

.tt-index-review-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  position: relative;
}

.tt-review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.tt-google-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #4285f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tt-review-top strong {
  display: block;
  font-size: 15px;
  color: #0f172a;
}

.tt-review-top span {
  display: block;
  font-size: 12px;
  color: #16a34a;
  font-weight: 700;
}

.tt-index-stars {
  color: #fbbc04;
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.tt-index-review-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.tt-review-date {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 12px;
}

/* ========================================================
   FOOTER (DESKTOP & MOBILE)
   ======================================================== */
footer.engn-desktop {
  background: #0f172a;
  color: #cbd5e1;
  padding: 50px 0 30px;
  border-top: 4px solid var(--primary-blue);
  font-size: 14px;
}

@media (max-width: 991px) {
  footer.engn-desktop {
    display: none !important;
  }
}

footer.engn-desktop a {
  color: #94a3b8;
}

footer.engn-desktop a:hover {
  color: #ffffff;
}

footer.engn-desktop .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 30px;
  align-items: flex-start;
}

footer.engn-desktop .footer-menu {
  list-style: none;
  display: flex;
  gap: 16px;
  margin-top: 15px;
  padding: 0;
}

footer.engn-desktop .footer-menu li a {
  color: #38bdf8;
  font-weight: 700;
}

footer.engn-desktop .footer-contact {
  line-height: 1.8;
}

footer.engn-desktop .footer-contact i {
  color: var(--primary-blue);
  margin-right: 6px;
}

footer.engn-mobile {
  display: none;
  background: #0f172a;
  color: #94a3b8;
  padding: 20px 15px;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 991px) {
  footer.engn-mobile {
    display: block;
  }
}

/* ========================================================
   MOBILE STICKY CTA BAR
   ======================================================== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 991px) {
  .mobile-sticky-cta {
    display: flex;
    gap: 10px;
  }
}

.mobile-sticky-cta .cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  color: #ffffff !important;
}

.mobile-sticky-cta .cta-btn.call-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.mobile-sticky-cta .cta-btn.whatsapp-btn {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

/* ========================================================
   FIXED SOCIAL BOX (DESKTOP)
   ======================================================== */
.tt-social-fixed {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 9999;
  width: 140px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(49, 110, 177, 0.15);
  backdrop-filter: blur(6px);
}

@media (max-width: 1024px) {
  .tt-social-fixed {
    display: none;
  }
}

.tt-social-title {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tt-social-link {
  display: block;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff !important;
  padding: 6px 8px;
  border-radius: 8px;
  margin-top: 5px;
  text-align: center;
  transition: all 0.2s ease;
}

.tt-social-link:hover {
  transform: translateY(-1px);
}

.tt-social-link.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.tt-social-link.youtube {
  background: #ff0000;
}

.tt-social-link.facebook {
  background: #1877f2;
}

/* ========================================================
   SERVICE DETAIL TEMPLATE STYLES
   ======================================================== */
.service-header-card {
  background: linear-gradient(135deg, #f0f7ff, #e2edfd);
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.service-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

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

.service-meta-item {
  background: #ffffff;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.service-meta-item .meta-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
}

.service-meta-item .meta-val {
  font-size: 16px;
  color: #0f172a;
  font-weight: 800;
  margin-top: 4px;
}

.service-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.service-action-buttons .btn-call {
  background: #2563eb;
  color: #fff !important;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.service-action-buttons .btn-whatsapp {
  background: #16a34a;
  color: #fff !important;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.service-content-body {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.service-content-body h2 {
  font-size: 26px;
  color: #1e3a8a;
  font-weight: 800;
  margin: 30px 0 16px;
}

.service-content-body h3 {
  font-size: 21px;
  color: #1e40af;
  font-weight: 700;
  margin: 24px 0 12px;
}

.service-content-body ul, .service-content-body ol {
  margin: 16px 0 20px 24px;
}

.service-content-body li {
  margin-bottom: 8px;
}

/* FAQ Accordion */
.faq-wrap {
  margin-top: 40px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-answer {
  padding: 0 20px 18px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

/* Forms */
.contact-form-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
