/* 
 * Niravo 360 - Official CSS Stylesheet
 * Brand Colors: Red (#FF1E27), Deep Dark (#080809), Premium Dark (#121214)
 * Fonts: Outfit (headings), Inter (body)
 */

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

/* --- CUSTOM VARIABLES --- */
:root {
  --color-bg-dark: #080809;
  --color-bg-card: #121214;
  --color-bg-card-hover: #18181b;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 30, 39, 0.4);
  
  --color-primary: #FF1E27;
  --color-primary-rgb: 255, 30, 39;
  --color-primary-hover: #E50914;
  
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #9999A3;
  --color-text-muted: #5F5F69;
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --header-height: 80px;
  --max-width: 1280px;
  
  --shadow-glow: 0 0 30px rgba(255, 30, 39, 0.15);
  --shadow-glow-strong: 0 0 50px rgba(255, 30, 39, 0.3);
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--color-text-secondary);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #222225;
  border-radius: 5px;
  border: 2px solid var(--color-bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

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

.section-padding {
  padding: 8rem 0;
}

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

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-primary);
  box-shadow: 0 4px 20px rgba(255, 30, 39, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary-hover);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-text-primary);
  transform: translateY(-2px);
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-icon:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

/* --- BADGES --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 30, 39, 0.08);
  border: 1px solid rgba(255, 30, 39, 0.2);
  color: var(--color-primary);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* --- SECTION HEADERS --- */
.section-header {
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--color-primary);
  position: relative;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .section-desc {
    font-size: 1rem;
  }
}

/* --- HEADER / NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(8, 8, 9, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header.scrolled {
  background: rgba(8, 8, 9, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--color-border);
  height: 70px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: all var(--transition-fast);
}

.logo:hover .logo-text {
  color: #ff6b6f;
}

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

.footer-col-about .logo img {
  height: 75px;
}

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

/* Desktop: nav-menu-links is inline flex, socials hidden */
.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-menu-socials {
  display: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

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

.nav-link.active {
  color: var(--color-text-primary);
  font-weight: 600;
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.burger-line {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-primary);
  margin: 6px 0;
  transition: all var(--transition-normal);
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #0d0d0f 0%, #141418 100%);
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    z-index: 999;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
  }
  
  .nav-menu.open {
    right: 0;
  }

  /* Nav Menu Links Container - vertical stack */
  .nav-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Nav Button Base Style */
  .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    padding: 0 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
    transition: all 0.25s ease;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
    color: #ccc;
    text-decoration: none;
  }

  .nav-btn::after {
    display: none;
  }

  /* Active page = red */
  .nav-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(255, 30, 39, 0.3);
  }

  /* Hover for non-active */
  .nav-btn:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    transform: translateX(4px);
  }

  /* Hover for active stays red */
  .nav-btn.active:hover {
    background: #ff3b44;
    border-color: #ff3b44;
    transform: translateX(4px);
  }

  /* Social Buttons at Bottom */
  .nav-menu-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 1.5rem;
  }

  .nav-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1.5px solid rgba(255,255,255,0.1);
  }

  .nav-social-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .nav-social-phone {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.25);
  }
  .nav-social-phone:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: #3b82f6;
  }

  .nav-social-mail {
    background: rgba(168, 85, 247, 0.12);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.25);
  }
  .nav-social-mail:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: #a855f7;
  }

  .nav-social-whatsapp {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.25);
  }
  .nav-social-whatsapp:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: #22c55e;
  }

  .nav-social-instagram {
    background: linear-gradient(135deg, rgba(236,72,153,0.12), rgba(168,85,247,0.12));
    color: #f472b6;
    border-color: rgba(236,72,153,0.25);
  }
  .nav-social-instagram:hover {
    background: linear-gradient(135deg, rgba(236,72,153,0.25), rgba(168,85,247,0.25));
    border-color: #ec4899;
  }

  .burger-active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .burger-active .burger-line:nth-child(2) {
    opacity: 0;
  }
  
  .burger-active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  
  .nav-cta {
    display: none;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: black;
  padding-top: 140px;
  padding-bottom: 80px;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Slight overlay look */
}

/* Gradients Overlays for Depth */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: 
    linear-gradient(to bottom, rgba(8, 8, 9, 0.4) 0%, rgba(8, 8, 9, 0.9) 100%),
    linear-gradient(to right, rgba(8, 8, 9, 0.8) 0%, rgba(8, 8, 9, 0.3) 50%, rgba(8, 8, 9, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
  margin-top: 30px;
  animation: heroFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero text is ALWAYS white — hero background is always dark (video/black) */
.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff !important;
}

html.light-mode .hero-title {
  color: #ffffff !important;
}

.hero-title span {
  color: var(--color-primary);
  display: inline-block;
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 30, 39, 0.3);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 3rem;
  font-weight: 400;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* Force hero subtitle white in light mode too — hero is always dark */
html.light-mode .hero-subtitle {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Force hero badge white in light mode too */
html.light-mode .hero .badge {
  background: rgba(255, 30, 39, 0.15);
  border-color: rgba(255, 30, 39, 0.35);
  color: #ff6b6f;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-btns .btn {
    width: 100%;
  }
}

/* Sound Toggle Controls */
.video-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sound-toggle {
  background: rgba(18, 12, 14, 0.6);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-normal);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
}

.sound-toggle:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.sound-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Animated Sound Wave visualizer inside audio btn */
.sound-waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  width: 16px;
}

.wave-bar {
  width: 2px;
  background-color: currentColor;
  height: 100%;
  transform-origin: bottom;
}

.unmuted .wave-bar {
  animation: bounce 0.8s ease-in-out infinite alternate;
}

.unmuted .wave-bar:nth-child(1) { animation-delay: 0.1s; }
.unmuted .wave-bar:nth-child(2) { animation-delay: 0.3s; }
.unmuted .wave-bar:nth-child(3) { animation-delay: 0s; }
.unmuted .wave-bar:nth-child(4) { animation-delay: 0.2s; }

.muted .wave-bar {
  height: 2px !important;
}

@keyframes bounce {
  0% { transform: scaleY(0.2); }
  100% { transform: scaleY(1); }
}

@media (max-width: 768px) {
  .video-controls {
    bottom: 1.5rem;
    right: 50%;
    transform: translateX(50%);
  }
}

/* --- STATS SECTION --- */
.stats-bar {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 0.25rem;
  display: block;
}

.stat-number::after {
  content: '+';
  color: var(--color-primary);
}

/* Stat numbers that already contain a symbol (e.g. 100%) — hide the extra + */
.stat-number.no-plus::after {
  content: '';
}

.stat-label {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .stat-label {
    font-size: 0.7rem;
  }
}

/* --- SERVICES SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255, 30, 39, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 30, 39, 0.08);
  border: 1px solid rgba(255, 30, 39, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  transition: all var(--transition-normal);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
}

.service-card:hover .service-icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  position: relative;
  z-index: 2;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* --- REFERENCES SECTION --- */
.references-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

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

.reference-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: all var(--transition-normal);
  height: 100%;
}

.reference-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.ref-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.ref-logo-container {
  height: 50px;
  max-width: 180px;
  display: flex;
  align-items: center;
}

.ref-logo {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0.85);
  transition: filter var(--transition-normal);
}

.reference-card:hover .ref-logo {
  filter: grayscale(0) brightness(1);
}

.ref-domain {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.03);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.reference-card:hover .ref-domain {
  color: var(--color-primary);
  border-color: rgba(255,30,39,0.2);
  background: rgba(255,30,39,0.05);
}

.ref-body {
  flex-grow: 1;
}

.ref-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.ref-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.ref-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: 0.9rem;
  align-self: flex-start;
}

.ref-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.reference-card:hover .ref-link {
  color: var(--color-primary);
}

.reference-card:hover .ref-link svg {
  transform: translateY(-2px) translateX(2px);
}

/* --- DETAILED SERVICES PAGE --- */
.hizmet-detail-section {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.hizmet-row {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.hizmet-row:nth-child(even) {
  flex-direction: row-reverse;
}

.hizmet-col-info {
  flex: 1;
}

.hizmet-col-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hizmet-visual-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 3rem;
  width: 100%;
  max-width: 500px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hizmet-visual-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 30, 39, 0.04), transparent 50%);
}

.hizmet-visual-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 30, 39, 0.08);
  border: 1px solid rgba(255, 30, 39, 0.2);
  color: var(--color-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.hizmet-visual-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.hizmet-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hizmet-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hizmet-feature-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.hizmet-feature-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text-primary);
  margin-bottom: 0.25rem;
}

.hizmet-feature-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

@media (max-width: 992px) {
  .hizmet-row, .hizmet-row:nth-child(even) {
    flex-direction: column;
    gap: 3rem;
  }
  .hizmet-col-visual {
    width: 100%;
  }
  .hizmet-visual-card {
    max-width: 100%;
  }
}

/* --- FAQ ACCORDION --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--transition-normal);
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-text-primary);
  transition: transform var(--transition-normal);
}

.faq-icon::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-icon::after {
  transform: scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-answer-inner {
  padding: 0 2rem 2rem 2rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

/* --- CONTACT SECTION & PAGE --- */
.contact-section-inner {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.contact-section-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,30,39,0.1), transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

@media (max-width: 992px) {
  .contact-section-inner {
    padding: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

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

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,30,39,0.08);
  border: 1px solid rgba(255,30,39,0.2);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-detail {
  color: var(--color-text-secondary);
}

.contact-info-detail a:hover {
  color: var(--color-primary);
}

/* Contact Social links */
.contact-socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Form Styling */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

@media (max-width: 576px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.form-control {
  width: 100%;
  background: rgba(8, 8, 9, 0.5);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(255, 30, 39, 0.15);
  background: rgba(8, 8, 9, 0.8);
}

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

.form-submit {
  justify-self: start;
}

/* --- FLOATING QUICK CONTACT WIDGET --- */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.whatsapp-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.whatsapp-btn.whatsapp {
  background-color: #25D366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}
.whatsapp-btn.whatsapp:hover {
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn.phone {
  background-color: #0078FF;
  box-shadow: 0 10px 25px rgba(0, 120, 255, 0.3);
}
.whatsapp-btn.phone:hover {
  box-shadow: 0 15px 35px rgba(0, 120, 255, 0.5);
}

.whatsapp-btn.mail {
  background-color: #6B47ED;
  box-shadow: 0 10px 25px rgba(107, 71, 237, 0.3);
}
.whatsapp-btn.mail:hover {
  box-shadow: 0 15px 35px rgba(107, 71, 237, 0.5);
}

.whatsapp-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Mail button uses stroke-based icon — override fill to none */
.whatsapp-btn.mail svg {
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Ping Ripple animation on whatsapp */
.whatsapp-btn.whatsapp::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: ping 2s infinite ease-out;
  pointer-events: none;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Tooltip message */
.whatsapp-tooltip {
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.6rem 1.1rem;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  color: white;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  pointer-events: none;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(5px);
}

/* Adjust floating widgets on mobile screen */
@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 1.5rem;
    left: 1.5rem;
    gap: 0.65rem;
  }
  .whatsapp-btn {
    width: 48px;
    height: 48px;
  }
  .whatsapp-btn svg {
    width: 22px;
    height: 22px;
  }
  .whatsapp-tooltip {
    left: 60px;
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
  }
}

/* --- FOOTER --- */
.footer {
  background: #040405;
  border-top: 1px solid var(--color-border);
  padding: 6rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-col-about p {
  margin: 1.5rem 0 2rem 0;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

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

.footer-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-bottom-links a:hover {
  color: var(--color-text-primary);
}

/* --- ANIMATION REVEALS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Page Intro Header Banner for inner pages */
.page-intro {
  padding: 12rem 0 6rem 0;
  background: radial-gradient(circle at top, rgba(255, 30, 39, 0.05), transparent 50%);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.page-intro h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .page-intro {
    padding: 10rem 0 4rem 0;
  }
  .page-intro h1 {
    font-size: 2.25rem;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  left: 2rem;
  z-index: 10000;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  transform: translateY(150px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  flex: 1;
}

.cookie-content p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.cookie-content p a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-content p a:hover {
  color: white;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.cookie-btn-accept {
  background-color: var(--color-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 30, 39, 0.25);
}

.cookie-btn-accept:hover {
  background-color: #ff3c43;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 30, 39, 0.4);
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--color-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 1.5rem;
    right: 1.5rem;
    left: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
  }
}

/* --- POLICY LAYOUTS --- */
.policy-container {
  max-width: 900px;
  margin: 0 auto;
}

.policy-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.policy-card h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-card h2:first-of-type {
  margin-top: 0;
}

.policy-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
}

.policy-card p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.policy-card ul, .policy-card ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary);
}

.policy-card li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.policy-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .policy-card {
    padding: 2rem 1.5rem;
  }
}

/* --- SERVICES CAROUSEL --- */
.services-carousel-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Desktop Layout */
.services-carousel-desktop {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 500px;
}

.services-carousel-image-wrapper {
  width: 450px;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.services-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  transform: scale(1);
}

.services-carousel-image.transitioning {
  opacity: 0;
  transform: scale(0.98);
}

.services-carousel-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 3rem;
  margin-left: -80px;
  z-index: 10;
  max-width: 580px;
  flex: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  position: relative;
}

.services-carousel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(255, 30, 39, 0.03), transparent 70%);
  pointer-events: none;
  border-radius: 24px;
}

.services-carousel-card.transitioning {
  opacity: 0;
  transform: translateY(5px);
}

.services-carousel-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.services-carousel-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.services-carousel-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  min-height: 120px;
}

.services-carousel-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Mobile Layout (Hidden on Desktop) */
.services-carousel-mobile {
  display: none;
  text-align: center;
}

.services-carousel-mobile-image-wrapper {
  width: 100%;
  aspect-ratio: 1;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.services-carousel-mobile-content {
  padding: 0 1rem;
  transition: opacity 0.4s ease-in-out;
}

.services-carousel-mobile-content.transitioning {
  opacity: 0;
}

/* Navigation Controls */
.services-carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.services-carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.services-carousel-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-primary);
  transform: scale(1.05);
}

.services-carousel-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.services-carousel-dots {
  display: flex;
  gap: 0.75rem;
}

.services-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.services-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.services-carousel-dot.active {
  background: var(--color-primary);
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(255, 30, 39, 0.4);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .services-carousel-image-wrapper {
    width: 380px;
    height: 380px;
  }
  .services-carousel-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .services-carousel-desktop {
    display: none;
  }
  .services-carousel-mobile {
    display: block;
  }
}

/* --- 3D REFERENCES CAROUSEL --- */
.references-3d-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  width: 100%;
  max-width: 1050px;
  margin: 4rem auto 0 auto;
  align-items: center;
}

.ref-3d-image-container {
  position: relative;
  width: 100%;
  height: 24rem;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-3d-image-frame {
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: all 0.8s cubic-bezier(.4, 2, .3, 1);
}

.ref-3d-image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
  user-select: none;
  pointer-events: none;
}

/* Hover effect on active image frame */
.ref-3d-image-frame.active:hover {
  border-color: rgba(255, 30, 39, 0.4);
  box-shadow: 0 25px 50px rgba(255, 30, 39, 0.15);
}

.ref-3d-image-frame.active:hover img {
  transform: scale(1.05);
}

.ref-3d-content-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 380px; /* Fixed height on desktop to prevent vertical layout shifts */
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

#ref-3d-text-content {
  height: 215px; /* Fixed height for text content block prevents button layout shifts */
  display: flex;
  flex-direction: column;
}

.ref-3d-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 90% 10%, rgba(255, 30, 39, 0.02), transparent 60%);
  pointer-events: none;
}

.ref-3d-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.25rem;
}

.ref-3d-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: inline-block;
  text-transform: lowercase;
}

.ref-3d-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Word spans for blur fade-in entrance */
.word-span {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(4px);
  animation: wordReveal 0.4s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wordReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.ref-3d-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  margin-top: auto;
}

.ref-3d-actions {
  display: flex;
  align-items: center;
}

.ref-3d-nav {
  display: flex;
  gap: 1rem;
}

.ref-3d-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.ref-3d-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(255, 30, 39, 0.4);
  transform: scale(1.05);
}

.ref-3d-btn svg {
  width: 20px;
  height: 20px;
}

.ref-3d-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.ref-3d-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.ref-3d-dot:hover {
  background: rgba(255, 255, 255, 0.35);
}

.ref-3d-dot.active {
  background: var(--color-primary);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 30, 39, 0.4);
}

/* Responsiveness for 3D Carousel */
@media (max-width: 992px) {
  .references-3d-container {
    gap: 3rem;
  }
  .ref-3d-image-frame {
    width: 240px;
    height: 240px;
    padding: 2.2rem;
  }
  .ref-3d-content-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .references-3d-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 2rem;
  }
  .ref-3d-image-container {
    height: 18rem;
  }
  .ref-3d-image-frame {
    width: 200px;
    height: 200px;
    padding: 1.8rem;
  }
  .ref-3d-content-card {
    height: auto;
    min-height: auto;
  }
  #ref-3d-text-content {
    height: auto;
  }
  .ref-3d-title {
    font-size: 1.8rem;
  }
}

/* --- DOTTED SURFACE BACKGROUND CANVAS --- */
.dotted-surface-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background: transparent;
}

/* --- TUBES CURSOR CANVAS OVERLAY --- */
.tubes-cursor-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999; /* Float on top of all page layers */
  pointer-events: none; /* Let all clicks, selections and hovers pass through */
  overflow: hidden;
  background: transparent;
}

.tubes-cursor-canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* --- VIDEO MODAL --- */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 2;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .video-modal-content {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.video-modal-close:hover {
  background: var(--color-primary);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.video-control-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.video-control-btn:hover {
  color: var(--color-primary);
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-slider {
  width: 80px;
  cursor: pointer;
  accent-color: var(--color-primary);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.volume-slider:hover {
  opacity: 1;
}

@media (max-width: 480px) {
  .volume-slider {
    width: 60px;
  }
}

/* --- 3D HERO ROOM ANIMATION --- */
.room-wrapper {
  margin-top: 4rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.room-viewport {
  position: relative;
  width: 900px;
  height: 506px; /* 16:9 */
  overflow: hidden;
  border-radius: 20px;
  background: #050505;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 80px rgba(255, 30, 39, 0.08);
}

/* Animated Hue Color Overlay */
.room-hue-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  background: rgba(255, 30, 39, 0.08);
  mix-blend-mode: color;
  animation: hueShift 12s infinite linear;
  pointer-events: none;
}

@keyframes hueShift {
  0%   { filter: hue-rotate(0deg); background: rgba(255, 30, 39, 0.1); }
  25%  { filter: hue-rotate(30deg); background: rgba(255, 80, 39, 0.1); }
  50%  { filter: hue-rotate(0deg); background: rgba(255, 30, 39, 0.12); }
  75%  { filter: hue-rotate(-20deg); background: rgba(200, 30, 39, 0.1); }
  100% { filter: hue-rotate(0deg); background: rgba(255, 30, 39, 0.1); }
}

/* 3D Scene Container */
.room-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 250px;
  transform: translate(-50%, -55%);
  transform-style: preserve-3d;
  perspective: 500px;
}

.room-reflect {
  transform: translate(-50%, 55%) scaleY(-1);
  opacity: 0.15;
  filter: blur(3px);
  mask-image: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

/* The Room Cube */
.room-cube {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(5deg);
}

/* Individual Faces */
.room-face {
  position: absolute;
  backface-visibility: hidden;
}

/* Ceiling */
.room-ceiling {
  width: 400px;
  height: 600px;
  background: linear-gradient(to bottom, #0a0a0a 0%, #111 100%);
  transform: rotateX(90deg) translateZ(-125px);
  transform-origin: bottom center;
  border: 1px solid rgba(255, 30, 39, 0.15);
}

.ceiling-lines {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 20px 0;
}

.ceiling-lines span {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(255, 30, 39, 0.6), transparent);
  box-shadow: 0 0 10px rgba(255, 30, 39, 0.4), 0 0 30px rgba(255, 30, 39, 0.2);
}

/* Floor */
.room-floor {
  width: 400px;
  height: 600px;
  background: linear-gradient(to bottom, rgba(255, 30, 39, 0.05), #080808 80%);
  transform: rotateX(-90deg) translateZ(-125px);
  transform-origin: top center;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Left Wall */
.room-wall-left {
  width: 600px;
  height: 250px;
  transform: rotateY(90deg) translateZ(-200px);
  transform-origin: left center;
  overflow: hidden;
  background: linear-gradient(to right, rgba(255, 30, 39, 0.15), rgba(255, 30, 39, 0.03));
  border-top: 2px solid rgba(255, 30, 39, 0.5);
  border-bottom: 2px solid rgba(255, 30, 39, 0.3);
  box-shadow: inset 0 0 60px rgba(255, 30, 39, 0.1);
}

/* Right Wall */
.room-wall-right {
  width: 600px;
  height: 250px;
  transform: rotateY(-90deg) translateZ(-200px);
  transform-origin: right center;
  overflow: hidden;
  background: linear-gradient(to left, rgba(255, 30, 39, 0.15), rgba(255, 30, 39, 0.03));
  border-top: 2px solid rgba(255, 30, 39, 0.5);
  border-bottom: 2px solid rgba(255, 30, 39, 0.3);
  box-shadow: inset 0 0 60px rgba(255, 30, 39, 0.1);
}

/* Back Wall */
.room-wall-back {
  width: 400px;
  height: 250px;
  transform: translateZ(-300px);
  background: radial-gradient(circle, rgba(255, 30, 39, 0.12), #080808 80%);
  border: 1px solid rgba(255, 30, 39, 0.15);
  overflow: hidden;
}

/* Front Wall (invisible - camera view) */
.room-wall-front {
  display: none;
}

/* Scrolling Text on Walls */
.wall-text-scroll {
  display: flex;
  width: max-content;
  animation: scrollText 25s linear infinite;
  align-items: center;
  height: 100%;
}

.wall-text-scroll-reverse {
  animation: scrollTextReverse 25s linear infinite;
}

.wall-text-scroll p {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  padding: 0 1rem;
  text-shadow: 0 0 20px rgba(255, 30, 39, 0.3), 0 0 40px rgba(255, 30, 39, 0.15);
  letter-spacing: 0.02em;
  margin: 0;
}

.wall-text-scroll p span {
  color: var(--color-primary);
  text-shadow: 0 0 25px rgba(255, 30, 39, 0.6), 0 0 50px rgba(255, 30, 39, 0.3);
}

@keyframes scrollText {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollTextReverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Niravo Logo Foreground */
.room-logo-fg {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  height: 60px;
  z-index: 5;
  filter: drop-shadow(0 0 30px rgba(255, 30, 39, 0.4)) drop-shadow(0 10px 20px rgba(0,0,0,0.8));
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
  .room-viewport {
    width: 700px;
    height: 394px;
  }
}

@media (max-width: 768px) {
  .room-wrapper {
    margin-top: 2.5rem;
  }
  .room-viewport {
    width: 100%;
    max-width: 500px;
    height: 280px;
    border-radius: 14px;
  }
  .room-scene {
    width: 280px;
    height: 175px;
  }
  .wall-text-scroll p {
    font-size: 1.5rem;
  }
  .room-logo-fg {
    height: 35px;
  }
  .room-ceiling, .room-floor {
    width: 280px;
    height: 400px;
  }
  .room-wall-left, .room-wall-right {
    width: 400px;
    height: 175px;
  }
  .room-wall-back {
    width: 280px;
    height: 175px;
  }
}

@media (max-width: 480px) {
  .room-viewport {
    max-width: 340px;
    height: 200px;
    border-radius: 10px;
  }
  .wall-text-scroll p {
    font-size: 1.1rem;
  }
  .room-logo-fg {
    height: 25px;
    bottom: 10%;
  }
}

/* --- REDESIGNED SERVICES SECTION --- */
.services-container-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

@media (max-width: 992px) {
  .services-container-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .services-container-modern {
    grid-template-columns: 1fr;
  }
}

.service-card-modern {
  background: linear-gradient(135deg, rgba(18, 18, 20, 0.8), rgba(10, 10, 12, 0.9));
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.service-card-modern:hover {
  transform: translateY(-10px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--color-primary), #ff6b71);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

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

.service-card-header-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.service-icon-modern {
  width: 65px;
  height: 65px;
  background: rgba(255, 30, 39, 0.05);
  border: 1px solid rgba(255, 30, 39, 0.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all var(--transition-normal);
}

.service-card-modern:hover .service-icon-modern {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(255, 30, 39, 0.2);
}

.service-number-modern {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  transition: color var(--transition-normal);
}

.service-card-modern:hover .service-number-modern {
  color: rgba(255, 30, 39, 0.08);
}

.service-card-modern h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.service-checklist-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.service-check-item-modern {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.service-check-item-modern svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-check-item-modern span {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.service-cta-modern {
  display: flex;
  gap: 1rem;
}

.service-cta-modern .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  flex: 1;
}

/* --- PACKAGES & PRICING SECTION --- */
.pricing-section {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(255, 30, 39, 0.02) 50%, transparent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 4rem auto 0 auto;
  }
}

.price-card {
  background: linear-gradient(135deg, #121214 0%, #0c0c0e 100%);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  height: 100%;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 30, 39, 0.3);
  box-shadow: var(--shadow-glow);
}

.price-card.popular {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, #161214 0%, #0d090a 100%);
  box-shadow: 0 10px 40px rgba(255, 30, 39, 0.08);
}

.price-card.popular::after {
  content: 'EN POPÜLER';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.price-badge {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.price-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.price-amount-wrapper {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
}

.price-period {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.price-divider {
  height: 1px;
  background: var(--color-border);
  width: 100%;
  margin-bottom: 2.5rem;
}

.price-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-grow: 1;
}

.price-feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.price-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.price-feature-item.gift svg {
  color: #FFD700;
}

.price-feature-item span {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.price-feature-item strong {
  color: white;
}

.price-action-btn {
  width: 100%;
  padding: 1rem;
}

.pricing-bundle-promo {
  margin-top: 4rem;
  background: linear-gradient(90deg, rgba(255, 30, 39, 0.05), rgba(0, 120, 255, 0.03));
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

.pricing-bundle-text h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-bundle-text p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .pricing-bundle-promo {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

/* --- BLOG SYSTEM LAYOUTS --- */
.blog-filters-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.blog-filter-btn {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--color-text-secondary);
}

.blog-filter-btn:hover, .blog-filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

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

.blog-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.blog-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #121214;
}

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

.blog-card:hover .blog-card-img {
  transform: scale(1.08);
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(8, 8, 9, 0.85);
  backdrop-filter: blur(5px);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  border: 1px solid rgba(255, 30, 39, 0.2);
}

.blog-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  display: block;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: white;
}

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

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-top: auto;
}

.blog-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-card-link svg {
  transform: translateX(4px);
}

/* --- SINGLE BLOG ARTICLE STYLES --- */
.blog-post-header {
  padding: 12rem 0 4rem 0;
  background: radial-gradient(circle at top, rgba(255, 30, 39, 0.05), transparent 50%);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.blog-post-header .badge {
  margin-bottom: 1rem;
}

.blog-post-header h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin: 1rem auto;
  max-width: 900px;
  line-height: 1.2;
}

.blog-post-meta {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .blog-post-header {
    padding: 10rem 0 3rem 0;
  }
  .blog-post-header h1 {
    font-size: 2.2rem;
  }
}

.blog-post-featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  margin: -2rem auto 4rem auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.blog-post-body {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d1d1d6;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
  color: #d1d1d6;
}

.blog-post-content h2 {
  font-size: 1.8rem;
  margin: 3rem 0 1.5rem 0;
  color: white;
}

.blog-post-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem 0;
  color: white;
}

.blog-post-content ul, .blog-post-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.75rem;
}

.blog-post-cta-box {
  background: linear-gradient(135deg, rgba(255, 30, 39, 0.05), rgba(18, 18, 20, 0.9));
  border: 1px solid rgba(255, 30, 39, 0.2);
  border-radius: 20px;
  padding: 3rem;
  margin: 4rem 0;
  text-align: center;
}

.blog-post-cta-box h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.blog-post-cta-box p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, #ff5d63 100%);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* --- BLOG SOCIAL SHARE BUTTONS --- */
.blog-share-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.blog-share-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-secondary);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
}

.share-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.share-btn:hover {
  transform: translateY(-3px);
  color: white;
  box-shadow: 0 5px 15px rgba(255, 30, 39, 0.15);
}

.share-btn.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.share-btn.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.share-btn.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.share-btn.copy-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Toast alert notification for copying link */
.share-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(18, 18, 20, 0.95);
  border: 1px solid var(--color-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glow-strong);
  z-index: 10000;
  opacity: 0;
  transition: all var(--transition-normal);
}

.share-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- RELATED POSTS --- */
.related-posts-section {
  margin-top: 5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 4rem;
}

.related-posts-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  color: white;
  text-align: center;
}

/* --- PRICING CALCULATOR STYLES --- */
.pricing-calculator-wrapper {
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.4) 0%, rgba(8, 8, 9, 0.8) 100%);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  padding: 3rem;
  backdrop-filter: blur(20px);
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
}

@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.calc-title span {
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff5d63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: white;
  font-size: 0.95rem;
}

.calc-select-wrapper {
  position: relative;
}

.calc-select-wrapper select {
  width: 100%;
  padding: 1.1rem 1.5rem;
  border-radius: 14px;
  background: rgba(8, 8, 9, 0.9);
  border: 1px solid var(--color-border);
  color: white;
  outline: none;
  appearance: none;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition-normal);
}

.calc-select-wrapper select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(255, 30, 39, 0.15);
}

.calc-select-wrapper::after {
  content: '▼';
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Switch Toggle Styling */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #222225;
  transition: .4s;
  border-radius: 34px;
  border: 1px solid var(--color-border);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-text-secondary);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
  background-color: white;
}

.calc-quantity-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #222225;
  border: 1px solid var(--color-border);
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.calc-quantity-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.calc-summary-box {
  background: rgba(8, 8, 9, 0.6);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.calc-summary-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.calc-summary-val {
  color: white;
  font-weight: 600;
  text-align: right;
}

/* --- LIGHT MODE VARIABLES OVERRIDES (DISABLED) --- */
html.light-mode {
  --color-bg-dark: #080809;
  --color-bg-card: #121214;
  --color-bg-card-hover: #18181b;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 30, 39, 0.4);
  
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #9999A3;
  --color-text-muted: #5F5F69;
  
  --shadow-glow: 0 0 30px rgba(255, 30, 39, 0.15);
  --shadow-glow-strong: 0 0 50px rgba(255, 30, 39, 0.3);
}

/* Specific component light-mode overrides to keep design premium */
html.light-mode body {
  color: var(--color-text-primary);
}

/* h1-h6 in light mode — but NOT inside .hero (hero is always dark background) */
html.light-mode h2,
html.light-mode h3,
html.light-mode h4,
html.light-mode h5,
html.light-mode h6 {
  color: var(--color-text-primary);
}

html.light-mode .header {
  background: rgba(248, 249, 251, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

html.light-mode .nav-link {
  color: var(--color-text-secondary);
}

/* Hero buttons always white on dark hero background */
html.light-mode .hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

html.light-mode .hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

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

html.light-mode .footer {
  background: #e9eaee;
  border-top: 1px solid var(--color-border);
}

html.light-mode .footer-copyright,
html.light-mode .footer-bottom-links a {
  color: var(--color-text-secondary);
}

html.light-mode .footer-col-title {
  color: var(--color-text-primary);
}

html.light-mode .room-logo-fg {
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
}

html.light-mode .services-carousel-card,
html.light-mode .service-card-modern,
html.light-mode .reference-card,
html.light-mode .ref-3d-content-card,
html.light-mode .blog-card,
html.light-mode .pricing-calculator-wrapper,
html.light-mode .calc-summary-box,
html.light-mode .faq-item,
html.light-mode .brief-form-card {
  background: var(--color-bg-card);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

html.light-mode .timeline-content,
html.light-mode .calc-select-wrapper select,
html.light-mode .brief-step-btn,
html.light-mode .brief-textarea,
html.light-mode .brief-input,
html.light-mode .brief-option-btn {
  background: #f1f3f5;
  color: var(--color-text-primary);
}

html.light-mode .calc-summary-val {
  color: var(--color-text-primary);
}

/* --- THEME TOGGLE BUTTON --- */
.theme-toggle-btn {
  display: none !important;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 15px rgba(255, 30, 39, 0.15);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  position: absolute;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Toggle Sun/Moon Transitions */
.theme-toggle-btn .sun-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

.theme-toggle-btn .moon-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

html.light-mode .theme-toggle-btn .sun-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

html.light-mode .theme-toggle-btn .moon-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

/* --- TIMELINE SECTION --- */
.timeline-section {
  position: relative;
  overflow: hidden;
}

.timeline-container {
  max-width: 900px;
  margin: 4rem auto 0 auto;
  position: relative;
  padding: 1rem 0;
}

.timeline-progress-bar {
  position: absolute;
  left: 31px;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--color-border);
  border-radius: 2px;
  z-index: 1;
}

.timeline-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--color-primary) 0%, #ff5d63 100%);
  border-radius: 2px;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px var(--color-primary);
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.timeline-step {
  display: flex;
  gap: 2.5rem;
  cursor: pointer;
  opacity: 0.55;
  transform: translateX(-10px);
  transition: all var(--transition-normal);
}

.timeline-step.active {
  opacity: 1;
  transform: translateX(0);
}

.timeline-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 0 0 rgba(255, 30, 39, 0);
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.timeline-step.active .timeline-icon {
  border-color: var(--color-primary);
  color: white;
  background: var(--color-primary);
  box-shadow: 0 0 20px rgba(255, 30, 39, 0.4);
}

.timeline-content {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  border-radius: 20px;
  flex-grow: 1;
  transition: all var(--transition-normal);
}

.timeline-step:hover .timeline-content {
  border-color: rgba(255, 30, 39, 0.2);
  transform: translateY(-2px);
}

.timeline-step.active .timeline-content {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, rgba(18,18,20,0.6) 0%, rgba(255,30,39,0.02) 100%);
}

.timeline-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: white;
}

html.light-mode .timeline-content h4 {
  color: var(--color-text-primary);
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin: 0;
}

@media (max-width: 576px) {
  .timeline-step {
    gap: 1.25rem;
  }
  .timeline-icon {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }
  .timeline-progress-bar {
    left: 21px;
  }
}

/* --- BRIEF FORM & GLOBE --- */
.brief-form-card {
  background: rgba(18, 18, 20, 0.4);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.brief-steps-container {
  min-height: 280px;
}

.brief-step {
  display: none;
}

.brief-step.active {
  display: block;
  animation: fadeIn-brief 0.4s ease;
}

@keyframes fadeIn-brief {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.brief-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.brief-progress-dot {
  flex-grow: 1;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.brief-progress-dot.active {
  background: var(--color-primary);
}

.brief-step-title {
  font-size: 1.35rem;
  color: white;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.brief-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .brief-options-grid {
    grid-template-columns: 1fr;
  }
}

.brief-option-btn {
  background: rgba(8, 8, 9, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.brief-option-btn:hover {
  border-color: var(--color-border-hover);
  color: white;
}

.brief-option-btn.selected {
  border-color: var(--color-primary);
  background: rgba(255, 30, 39, 0.05);
  color: white;
  box-shadow: 0 0 15px rgba(255, 30, 39, 0.1);
}

.brief-input-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brief-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(8, 8, 9, 0.8);
  border: 1px solid var(--color-border);
  color: white;
  border-radius: 12px;
  font-family: var(--font-body);
  outline: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.brief-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(255, 30, 39, 0.15);
}

.brief-nav-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.brief-summary-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.brief-summary-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
  font-size: 0.95rem;
}

.globe-3d-container {
  width: 100%;
  height: 350px;
  background: rgba(8, 8, 9, 0.4);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
}

/* ============================================================
   KAPSAMLI LIGHT MODE OVERRİDES
   ============================================================ */

/* --- Page & Section Backgrounds --- */
html.light-mode body,
html.light-mode section,
html.light-mode main {
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
}

html.light-mode p {
  color: var(--color-text-secondary);
}

/* --- Sections with explicit dark backgrounds --- */
html.light-mode .section-padding,
html.light-mode [style*="background: var(--color-bg-dark)"],
html.light-mode [style*="background-color: var(--color-bg-dark)"] {
  background-color: var(--color-bg-dark) !important;
}

/* --- Section headers & titles --- */
html.light-mode .section-title,
html.light-mode .section-title span:not([style]) {
  color: var(--color-text-primary);
}

/* --- Cards & panels --- */
html.light-mode .contact-info-card,
html.light-mode .contact-info-item,
html.light-mode .contact-card,
html.light-mode .stat-item,
html.light-mode .package-card,
html.light-mode .pricing-card,
html.light-mode .ref-3d-image-frame,
html.light-mode .blog-post-card,
html.light-mode .blog-detail-card {
  background: var(--color-bg-card);
  border-color: var(--color-border);
  color: var(--color-text-primary);
}

/* --- Contact info items --- */
html.light-mode .contact-info-title {
  color: var(--color-text-primary);
}

html.light-mode .contact-info-detail,
html.light-mode .contact-info-detail a {
  color: var(--color-text-secondary);
}

/* --- Contact info icon circles --- */
html.light-mode .contact-info-icon {
  background: rgba(255, 30, 39, 0.08);
  border-color: rgba(255, 30, 39, 0.15);
  color: var(--color-primary);
}

/* --- Services & Packages --- */
html.light-mode .service-card-modern h3,
html.light-mode .service-card-modern h4,
html.light-mode .service-card-modern p {
  color: var(--color-text-primary);
}

html.light-mode .service-card-modern p {
  color: var(--color-text-secondary);
}

html.light-mode .package-card h3,
html.light-mode .package-card p,
html.light-mode .package-card li {
  color: var(--color-text-primary);
}

/* --- References & Blog --- */
html.light-mode .ref-3d-content-card h3,
html.light-mode .ref-3d-content-card h4 {
  color: var(--color-text-primary);
}

html.light-mode .blog-card-title,
html.light-mode .blog-card h3 {
  color: var(--color-text-primary);
}

html.light-mode .blog-card-excerpt,
html.light-mode .blog-card p {
  color: var(--color-text-secondary);
}

/* --- FAQ --- */
html.light-mode .faq-question {
  color: var(--color-text-primary);
  background: transparent;
}

html.light-mode .faq-answer p {
  color: var(--color-text-secondary);
}

/* --- Brief Form --- */
html.light-mode .brief-form-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
}

html.light-mode .brief-step-title {
  color: var(--color-text-primary);
}

html.light-mode .brief-option-btn {
  background: #f1f3f5;
  border-color: var(--color-border);
  color: var(--color-text-primary);
}

html.light-mode .brief-option-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

html.light-mode .brief-option-btn.selected {
  border-color: var(--color-primary);
  background: rgba(255, 30, 39, 0.06);
  color: var(--color-primary);
}

html.light-mode .brief-input {
  background: #f1f3f5;
  color: var(--color-text-primary);
  border-color: var(--color-border);
}

html.light-mode .brief-input::placeholder {
  color: var(--color-text-muted);
}

html.light-mode .brief-summary-item {
  color: var(--color-text-primary);
}

html.light-mode .brief-summary-item span {
  color: var(--color-text-secondary);
}

/* --- Timeline active card --- */
html.light-mode .timeline-step.active .timeline-content {
  background: #ffffff;
  border-color: rgba(255, 30, 39, 0.3);
  box-shadow: 0 8px 30px rgba(255, 30, 39, 0.08);
}

html.light-mode .timeline-content h4 {
  color: var(--color-text-primary);
}

html.light-mode .timeline-content p {
  color: var(--color-text-secondary);
}

/* --- Marquee / Ticker Strips --- */
html.light-mode .marquee-strip,
html.light-mode .stats-marquee,
html.light-mode .ticker-bar,
html.light-mode [class*="marquee"] {
  background: #e9eaee;
  color: var(--color-text-secondary);
  border-color: var(--color-border);
}

html.light-mode .marquee-strip span,
html.light-mode .marquee-strip p,
html.light-mode [class*="marquee"] span {
  color: var(--color-text-secondary);
}

/* --- Scrolled header light mode --- */
html.light-mode .header.scrolled {
  background: rgba(245, 246, 248, 0.95);
  border-bottom: 1px solid var(--color-border);
}

/* --- Footer links & columns --- */
html.light-mode .footer-col a,
html.light-mode .footer-col p {
  color: var(--color-text-secondary);
}

html.light-mode .footer-col a:hover {
  color: var(--color-primary);
}

html.light-mode .footer-contact-item,
html.light-mode .footer-contact-item a,
html.light-mode .footer-contact-item span {
  color: var(--color-text-secondary);
}

html.light-mode .footer-contact-item svg {
  stroke: var(--color-primary);
}

/* --- Pricing Calculator --- */
html.light-mode .pricing-calculator-wrapper,
html.light-mode .calc-summary-box {
  background: var(--color-bg-card);
  border-color: var(--color-border);
}

html.light-mode .calc-select-wrapper select {
  background: #f1f3f5;
  color: var(--color-text-primary);
  border-color: var(--color-border);
}

html.light-mode .calc-label {
  color: var(--color-text-primary);
}

html.light-mode .calc-summary-key {
  color: var(--color-text-secondary);
}

html.light-mode .calc-summary-val {
  color: var(--color-text-primary);
}

/* --- page-intro banner (inner pages) --- */
html.light-mode .page-intro {
  background: radial-gradient(circle at top, rgba(255, 30, 39, 0.04), transparent 50%);
  border-bottom: 1px solid var(--color-border);
}

html.light-mode .page-intro h1,
html.light-mode .page-intro p {
  color: var(--color-text-primary);
}

html.light-mode .page-intro p {
  color: var(--color-text-secondary);
}

/* --- blog & legal page content --- */
html.light-mode .blog-content,
html.light-mode .blog-content h2,
html.light-mode .blog-content h3 {
  color: var(--color-text-primary);
}

html.light-mode .blog-content p,
html.light-mode .blog-content li {
  color: var(--color-text-secondary);
}

/* --- btn-secondary in light mode --- */
html.light-mode .btn-secondary {
  color: var(--color-text-primary);
  border-color: rgba(0,0,0,0.15);
}

html.light-mode .btn-secondary:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.25);
}

/* --- Badge light mode --- */
html.light-mode .badge {
  background: rgba(255, 30, 39, 0.06);
  border-color: rgba(255, 30, 39, 0.2);
  color: var(--color-primary);
}

/* --- Scrollbar light mode --- */
html.light-mode ::-webkit-scrollbar-track {
  background: #e9eaee;
}

html.light-mode ::-webkit-scrollbar-thumb {
  background: #c5c7ce;
  border-color: #e9eaee;
}

html.light-mode ::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* --- Stat numbers & labels --- */
html.light-mode .stat-number,
html.light-mode .stat-label {
  color: var(--color-text-primary);
}

/* --- Room/3D cube: force dark because it's a decorative element --- */
html.light-mode .room-viewport {
  filter: none;
}

/* --- Cookie banner --- */
html.light-mode .cookie-banner {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-primary);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
}

html.light-mode .cookie-banner p {
  color: var(--color-text-secondary);
}

/* --- Section dividers / borders --- */
html.light-mode [style*="border-top: 1px solid var(--color-border)"],
html.light-mode [style*="border-bottom: 1px solid var(--color-border)"] {
  border-color: var(--color-border) !important;
}

/* --- Contact page info box (çalışma saatleri) --- */
html.light-mode .contact-hours-card,
html.light-mode [style*="background: var(--color-bg-card)"] {
  background: var(--color-bg-card) !important;
  border-color: var(--color-border) !important;
}


/* --- PREMIUM HERO VIDEO PLAYER --- */
.hero-video-wrapper {
  margin-top: 4rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-video-viewport {
  position: relative;
  width: 900px;
  height: 506px; /* 16:9 */
  overflow: hidden;
  border-radius: 20px;
  background: #050505;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 80px rgba(255, 30, 39, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-video-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Premium Controls overlay */
.hero-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-video-viewport:hover .hero-video-controls {
  opacity: 1;
}

.hero-video-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.1s;
  padding: 5px;
}

.hero-video-btn:hover {
  color: var(--color-primary, #ff1e27);
  transform: scale(1.1);
}

.hero-video-btn svg {
  display: block;
}

/* Progress bar styling */
.hero-progress-container {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: height 0.2s;
}

.hero-progress-container:hover {
  height: 8px;
}

.hero-progress-bar {
  height: 100%;
  background: var(--color-primary, #ff1e27);
  width: 0%;
  border-radius: 3px;
  position: relative;
  box-shadow: 0 0 8px var(--color-primary, #ff1e27);
}

.hero-volume-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-volume-slider {
  width: 90px;
  cursor: pointer;
  accent-color: var(--color-primary, #ff1e27);
  opacity: 0.8;
  transition: opacity 0.2s, width 0.2s;
}

.hero-volume-slider:hover {
  opacity: 1;
}

@media (max-width: 992px) {
  .hero-video-viewport {
    width: 700px;
    height: 394px;
  }
}

@media (max-width: 768px) {
  .hero-video-wrapper {
    margin-top: 2.5rem;
  }
  .hero-video-viewport {
    width: 100%;
    max-width: 500px;
    height: 280px;
    border-radius: 14px;
  }
  .hero-video-controls {
    padding: 12px 15px;
    gap: 12px;
    opacity: 1; /* always show controls on mobile */
  }
  .hero-volume-slider {
    width: 70px;
  }
}

@media (max-width: 480px) {
  .hero-video-viewport {
    max-width: 100%;
    height: 200px;
    border-radius: 10px;
  }
  .hero-volume-slider {
    display: none; /* Hide volume slider on very small screens to fit other elements */
  }
}


