@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Playfair+Display:wght@500;700;800&display=swap');

:root {
  /* B - Toprak & Güven Teması (Earth & Trust) */
  --primary: #2A1B14; /* Çok Koyu Kahve / Espresso */
  --primary-light: #3e2a21;
  --secondary: #1F2022; /* Antrasit / Kömür */
  
  --accent: #C8A456; /* Altın Sarısı */
  --accent-hover: #b5924a;
  --accent-glow: rgba(200, 164, 86, 0.2);
  
  --bg-main: #FDFBF7; /* Sıcak Kırık Beyaz / Krem */
  --bg-alt: #F3EFEA; /* Bej / Taş Rengi */
  --bg-dark: #2A1B14; /* Koyu bölümler için */
  
  --text: #333333; /* Koyu Gri Gövde Metni */
  --text-muted: #666666;
  --text-light: #FDFBF7;
  
  --border: rgba(42, 27, 20, 0.1);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(42, 27, 20, 0.12);
  
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-main);
  overflow-x: hidden;
  line-height: 1.8;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

/* ===== UTILITY ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Text Colors */
.text-light { color: var(--text-light); }
.text-primary { color: var(--primary); }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 20px 10px var(--accent-glow); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent);
  color: var(--text-light);
  box-shadow: 0 10px 20px rgba(200, 164, 86, 0.2);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(200, 164, 86, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

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

/* ===== HEADER ===== */
.header {
  position: absolute; /* Changed from fixed initially to avoid overlap, then js makes it sticky */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 30px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  position: fixed;
  background: rgba(42, 27, 20, 0.98); /* Espresso color */
  backdrop-filter: blur(20px);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.5s ease;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-light);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-light);
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

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

.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.mobile-toggle span {
  width: 28px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.mobile-toggle.open span { background: #fff !important; }
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  font-family: var(--font-heading);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ===== HERO (IMAGE/PARALLAX) ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(42, 27, 20, 0.9) 0%, rgba(42, 27, 20, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding-top: 60px; /* Space for the header */
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: #fff;
  margin-bottom: 24px;
}

.hero-title .accent {
  color: var(--accent);
  font-style: italic;
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-alt);
  padding: 80px 0;
  position: relative;
  z-index: 10;
  margin-top: -50px;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-icon {
  margin-bottom: 16px;
  color: var(--accent);
}

.stat-icon svg {
  width: 40px;
  height: 40px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .suffix {
  font-size: 1.8rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* ===== ABOUT (IMAGE FOCUS) ===== */
.about {
  background: var(--bg-main);
}

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

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

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  transform: translate(20px, 20px);
  z-index: -1;
  transition: var(--transition);
}

.about-image:hover::after {
  transform: translate(10px, 10px);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 10s ease;
}

.about-image:hover img {
  transform: scale(1);
}

.about-text-content p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 24px;
}

/* ===== WHY US (NEDEN BİZ) ===== */
.why-us {
  background: var(--bg-dark);
  color: var(--text-light);
}

.why-us .section-label, .why-us .section-title {
  color: var(--text-light);
}

.why-us .section-label::before {
  background: var(--accent);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 40px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-10px);
  border-color: var(--accent);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}

.why-icon svg { width: 30px; height: 30px; }

.why-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.why-desc {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* ===== FOUNDERS MESSAGE ===== */
.founders {
  background: var(--bg-alt);
}

.founder-box {
  background: var(--bg-main);
  padding: 60px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 60px;
  align-items: center;
}

.founder-img {
  flex: 0 0 300px;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-content blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
}

.founder-content blockquote::before {
  content: '"';
  font-size: 5rem;
  color: var(--accent-glow);
  position: absolute;
  top: -40px;
  left: -20px;
  z-index: 0;
}

.founder-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
}

.founder-role {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== PROJECTS (MASONRY/GRID) ===== */
.projects {
  background: var(--bg-main);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 10px 24px;
  border-radius: 50px;
  color: var(--text);
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

/* ===== PROJECTS CAROUSEL ===== */
.projects-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  margin-top: 40px;
}

.projects-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 90px) / 4); /* 4 columns visible, 3 gaps (3x30=90) */
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.projects-carousel-nav {
  position: absolute;
  top: 50%;
  left: -20px;
  right: -20px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.project-nav-btn {
  background: rgba(18, 18, 18, 0.8);
  color: var(--primary);
  border: 1px solid var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  pointer-events: auto;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.project-nav-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 27, 20, 0.95), transparent 70%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-status {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-location {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.1s;
}

.project-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.2s;
}

.project-card:hover .project-location,
.project-card:hover .project-title {
  transform: translateY(0);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-form-wrapper {
  background: var(--bg-main);
  padding: 56px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

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

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 164, 86, 0.1);
}

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

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-light);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--accent);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(253, 251, 247, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: rgba(253, 251, 247, 0.4);
  font-size: 0.9rem;
}

/* ===== UTILITIES (PRELOADER, WA, TOP) ===== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: center;
}

.loader-logo span { color: var(--accent); }

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.loader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--accent);
  animation: loading 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse-glow 2s infinite;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg { width: 32px; height: 32px; }

.back-to-top {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-box { flex-direction: column; text-align: center; gap: 30px; padding: 40px; }
  .founder-img { flex: 0 0 250px; height: 250px; width: 250px; border-radius: 50%; margin: 0 auto; }
  .projects-grid { grid-auto-columns: calc((100% - 30px) / 2); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .hero-title { font-size: 2.5rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .why-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-auto-columns: 100%; }
  .contact-form-wrapper { padding: 32px 24px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
  .back-to-top { bottom: 90px; right: 20px; }
}

/* ===== TESTIMONIALS (3D CAROUSEL) ===== */
.testimonial-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 1000px;
  padding: 40px 0;
  height: 400px;
}

.testimonial-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}

.testimonial-card {
  position: absolute;
  width: 360px;
  background: var(--bg-alt);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(200, 164, 86, 0.2);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.6s;
  opacity: 0;
  z-index: 0;
  text-align: center;
  pointer-events: none;
}

.testimonial-card.active {
  transform: translateX(0) scale(1) translateZ(0);
  opacity: 1;
  z-index: 3;
  background: var(--bg-main);
  border-color: var(--accent);
  pointer-events: auto;
}

.testimonial-card.prev {
  transform: translateX(-65%) scale(0.85) translateZ(-100px);
  opacity: 0.6;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
}

.testimonial-card.next {
  transform: translateX(65%) scale(0.85) translateZ(-100px);
  opacity: 0.6;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
}

.testimonial-card.prev-far {
  transform: translateX(-110%) scale(0.7) translateZ(-200px);
  opacity: 0.2;
  z-index: 1;
}

.testimonial-card.next-far {
  transform: translateX(110%) scale(0.7) translateZ(-200px);
  opacity: 0.2;
  z-index: 1;
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-card .t-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card .t-author {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  position: relative;
  z-index: 10;
}

.carousel-nav button {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.carousel-nav button:hover {
  background: var(--accent);
  color: var(--text-light);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .testimonial-carousel-container {
    height: 350px;
  }
  .testimonial-card {
    width: 290px;
    padding: 30px 20px;
  }
  .testimonial-card.prev { transform: translateX(-20%) scale(0.85) translateZ(-100px); opacity: 0; pointer-events: none;}
  .testimonial-card.next { transform: translateX(20%) scale(0.85) translateZ(-100px); opacity: 0; pointer-events: none;}
}
