/* Cutting-Edge Styles for YuBa Construction */

:root {
  --primary-color: #1a1a1a; /* Dark Gray/Black */
  --secondary-color: #f0f0f0; /* Light Gray */
  --accent-color: #ffc107; /* Construction Yellow */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --border-color: #dddddd;
  
  --gold-color: var(--accent-color); /* Remap old gold to new accent */
  
  --gradient-primary: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  --gradient-accent: linear-gradient(135deg, #ffc107 0%, #ffdb58 100%);
  --gradient-logo-primary: linear-gradient(135deg, #b73830 0%, #e0524a 100%); /* Logo ana rengine uygun gradyan */
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  
  --shadow-primary: 0 15px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease-in-out;
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--secondary-color);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold {
  color: #b73830;
}

/* Hero Section - Complete Redesign */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
  overflow: hidden;
  padding-top: 80px;
}

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

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 193, 7, 0.05) 0%, transparent 50%, rgba(255, 193, 7, 0.05) 100%);
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 193, 7, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 193, 7, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
  padding: 3rem 0;
  max-width: 100%;
}

/* Hero Text Content */
.hero-text-content {
  padding-right: 2rem;
  max-width: 100%;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.5rem;
  background: rgba(183, 56, 48, 0.10);
  border: 1px solid rgba(183, 56, 48, 0.20);
  border-radius: 50px;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.status-badge:hover {
  background: rgba(183, 56, 48, 0.15);
  border-color: rgba(183, 56, 48, 0.3);
  transform: translateY(-2px);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #b73830;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-badge span {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Main Title */
.hero-main-title {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.title-primary {
  display: block;
  background: var(--gradient-logo-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.title-secondary {
  display: block;
  color: white;
  font-size: 0.7em;
  margin-top: -0.2em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.title-accent {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.4em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-top: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Description */
.hero-description {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-description strong {
  color: #b73830;
  font-weight: 600;
}

/* Features */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.feature-item i {
  color: #b73830;
  font-size: 1.2rem;
  flex-shrink: 0;
  text-shadow: 0 0 20px rgba(183, 56, 48, 0.18);
}

.feature-item span {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Action Buttons */
.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-large {
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-logo-primary);
  color: #fff;
  box-shadow: 0 8px 30px rgba(183, 56, 48, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e0524a, #b73830);
  color: #fff;
  box-shadow: 0 12px 40px rgba(183, 56, 48, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  color: white;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(5px);
}

/* Button Glow Effect */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-glow:hover::before {
  left: 100%;
}

.btn-glow:hover {
  box-shadow: 0 0 20px rgba(183, 56, 48, 0.4);
  transform: translateY(-2px);
}

/* Hero Visual Content */
.hero-visual-content {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Visual Cards Container */
.visual-cards-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 500px;
  margin-left: auto;
}

.visual-cards-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Visual Card */
.visual-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(183, 56, 48, 0.10);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}

.visual-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.visual-card.prev {
  transform: translateX(100%);
}

.visual-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(183, 56, 48, 0.18);
  border-color: rgba(183, 56, 48, 0.18);
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-logo-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(183, 56, 48, 0.18);
}

.card-title h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.card-title p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.3rem 0 0 0;
}

/* Construction Display */
.construction-display {
  margin-bottom: 2.5rem;
}

.building-showcase {
  position: relative;
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Building Elements - Card 1 */
.building {
  position: absolute;
  background: var(--gradient-logo-primary);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(183, 56, 48, 0.13);
}

.building-main {
  width: 80px;
  height: 120px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.building-side {
  width: 60px;
  height: 90px;
  bottom: 0;
  left: 30%;
}

.crane {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 60px;
  background: #555;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.worker {
  position: absolute;
  bottom: 20px;
  right: 80px;
  width: 20px;
  height: 30px;
  background: #b73830;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(183, 56, 48, 0.18);
}

/* Building Elements - Card 2 (Modern Architecture) */
.building-modern-1 {
  width: 70px;
  height: 110px;
  bottom: 0;
  left: 25%;
  background: linear-gradient(135deg, #4a90e2, #357abd);
  border-radius: 12px;
}

.building-modern-2 {
  width: 90px;
  height: 140px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-radius: 15px;
}

.building-modern-3 {
  width: 60px;
  height: 100px;
  bottom: 0;
  right: 25%;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border-radius: 10px;
}

.glass-element {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Building Elements - Card 3 (Infrastructure) */
.bridge {
  position: absolute;
  bottom: 40px;
  left: 20%;
  width: 120px;
  height: 8px;
  background: linear-gradient(90deg, #8b4513, #a0522d);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bridge::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 20px;
  background: #666;
}

.road {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(90deg, #696969, #808080);
  border-radius: 0 0 8px 8px;
}

.road::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #fff 0px, #fff 20px, transparent 20px, transparent 40px);
}

.tunnel {
  position: absolute;
  bottom: 30px;
  right: 20px;
  width: 60px;
  height: 40px;
  background: #444;
  border-radius: 20px 20px 0 0;
  border: 2px solid #666;
}

.construction-vehicle {
  position: absolute;
  bottom: 30px;
  left: 60px;
  width: 30px;
  height: 20px;
  background: #ffc107;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
}

.construction-vehicle::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 5px;
  width: 20px;
  height: 8px;
  background: #ffc107;
  border-radius: 3px;
}

/* Stats Display */
.stats-display {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: #b73830;
  line-height: 1;
  text-shadow: 0 0 10px rgba(183, 56, 48, 0.13);
}

.stat-label {
  font-size: 0.8rem;
  color: #e0524a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Navigation Dots */
.card-navigation {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 20;
}

.card-navigation .nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(183, 56, 48, 0.18);
  margin: 0 6px;
  transition: background 0.3s, transform 0.3s;
  display: inline-block;
}

.card-navigation .nav-dot.active {
  background: #b73830;
  transform: scale(1.3);
}

.card-navigation .nav-dot:hover {
  background: #e0524a;
}

/* Navigation Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 20;
}

.nav-arrow:hover {
  background: rgba(255, 193, 7, 0.2);
  border-color: rgba(255, 193, 7, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.nav-prev {
  left: -60px;
}

.nav-next {
  right: -60px;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: white;
  font-weight: 500;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.floating-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.card-1 {
  top: 10%;
  right: -20px;
}

.card-2 {
  bottom: 20%;
  left: -30px;
}

.floating-card i {
  color: #b73830;
  font-size: 1.2rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  z-index: 10;
}

.scroll-text {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.scroll-arrow {
  font-size: 1.5rem;
  color: #b73830;
  animation: bounce 2s infinite;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
  transform: translateY(-5px);
  }
}

/* Responsive Design - Enhanced Mobile Optimization */
@media (max-width: 1200px) {
  .hero-main-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 991px) {
  .hero-text-content {
    margin-bottom: 3rem;
    padding-right: 1rem;
    max-width: 100%;
    text-align: center;
  }
  
  .hero-visual-content {
    height: 500px;
    margin-top: 2rem;
  }
  
  .visual-cards-container {
    max-width: 100%;
  }
  
  .nav-arrow {
    display: none;
  }
  
  .hero-main-title {
    font-size: clamp(3rem, 7vw, 4.5rem);
    text-align: center;
  }
  
  .hero-description {
    font-size: 1.1rem;
    max-width: 100%;
    text-align: center;
  }
  
  .hero-features {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .feature-item {
    margin: 0.5rem;
  }
  
  .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .stats-grid-3d {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .trust-section .row {
    flex-direction: column-reverse;
  }
  
  .trust-section .col-lg-6:first-child {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1.1;
  }
  
  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .btn-large {
  width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 1rem 2rem;
  }
  
  .hero-visual-content {
    height: 400px;
    margin-top: 1.5rem;
  }
  
  .stats-display {
    flex-direction: column;
    gap: 1rem;
  }
  
  .floating-card {
    display: none;
  }
  
  .visual-card {
    padding: 1.5rem;
  }
  
  .hero-text-content {
    padding-right: 0;
    padding-left: 0;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .feature-item {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card-3d {
    height: auto;
    min-height: 400px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card-3d {
    height: auto;
    min-height: 350px;
  }
  
  .stats-grid-3d {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-card-3d {
    padding: 2rem 1.5rem;
  }
  
  .testimonial-card-3d {
    padding: 2rem 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .modal-dialog {
    margin: 1rem;
  }
  
  .modal-content {
    border-radius: 12px;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .form-control,
  .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem 1rem;
  }
  
  /* Improve touch targets */
  .btn,
  .nav-link,
  .navbar-toggler {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-dot {
    width: 12px;
    height: 12px;
  }
  
  /* Optimize carousel for mobile */
  .carousel-controls button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .custom-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(183, 56, 48, 0.18);
    transition: background 0.3s, transform 0.3s;
    margin: 0 4px;
  }

  .custom-indicators button.active {
    background: #b73830;
    transform: scale(1.3);
  }
}

@media (max-width: 576px) {
  .hero-main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .hero-text-content {
    padding: 0 1rem;
  }
  
  .title-accent {
    font-size: 0.25em;
    letter-spacing: 1px;
  }
  
  .status-badge {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .status-badge span {
    font-size: 0.8rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  
  .section-description {
    font-size: 0.9rem;
    padding: 0 1rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .project-card-3d,
  .service-card-3d {
    margin: 0 0.5rem;
  }
  
  .project-content,
  .service-card-inner {
    padding: 1.5rem 1rem;
  }
  
  .project-title,
  .service-card-inner h3 {
    font-size: 1.2rem;
  }
  
  .project-description,
  .service-card-inner p {
    font-size: 0.9rem;
  }
  
  .stat-card-3d {
    padding: 1.5rem 1rem;
  }
  
  .stat-content h3 {
    font-size: 2rem;
  }
  
  .stat-content p {
    font-size: 0.9rem;
  }
  
  .testimonial-card-3d {
    padding: 1.5rem 1rem;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .cta-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  
  .cta-description {
    font-size: 0.95rem;
  }
  
  .cta-icon i {
    font-size: 3rem !important;
  }
  
  /* Optimize modal for small screens */
  .modal-dialog {
    margin: 0.5rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .modal-title {
    font-size: 1.2rem;
  }
  
  /* Improve form layout on mobile */
  .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .form-control,
  .form-select {
    font-size: 16px;
    padding: 0.75rem;
  }
  
  /* Optimize navigation for mobile */
  .navbar-brand .brand-name {
    font-size: 1.3rem;
  }
  
  .navbar-brand .brand-subtitle {
    font-size: 0.7rem;
  }
  
  .brand-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  }
  
  .project-card-3d,
  .service-card-3d {
    margin: 0;
  }
  
  .stat-card-3d {
    padding: 1.25rem 0.75rem;
  }
  
  .testimonial-card-3d {
    padding: 1.25rem 0.75rem;
  }
  
  .cta-title {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  }
  
  .cta-icon i {
    font-size: 2.5rem !important;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .nav-link:hover,
  .service-card-3d:hover,
  .project-card-3d:hover {
    transform: none;
  }
  
  .btn:active,
  .nav-link:active {
    transform: scale(0.98);
  }
  
  .service-card-3d:active .service-card-inner,
  .project-card-3d:active .project-card-inner {
    transform: scale(0.98);
  }
  
  /* Improve touch scrolling */
  .hero-section,
  .projects-grid,
  .services-grid {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Optimize animations for touch devices */
  .floating-card,
  .floating-elements {
    display: none;
  }
  
  /* Reduce motion for accessibility */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* Landscape Mobile Optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
    padding-top: 60px;
  }
  
  .hero-main-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .hero-visual-content {
    height: 300px;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-header {
    margin-bottom: 1.5rem;
  }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .project-image,
  .author-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .hero-section,
  .floating-elements,
  .navbar,
  .cta-section,
  .modal {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .project-card-3d,
  .service-card-3d {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Essential Section Styles */
section {
  position: relative;
  padding: 8rem 0;
}

.section-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(circle at 25% 25%, var(--primary-color) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, var(--accent-color) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.section-header {
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(183, 56, 48, 0.10);
  border: 1px solid rgba(183, 56, 48, 0.18);
  color: #b73830;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(183, 56, 48, 0.07);
}

.section-badge i {
  color: #b73830;
  font-size: 1.1rem;
}

.section-badge span {
  color: #b73830;
  font-weight: 600;
  font-size: 1rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.section-description {
  color: #b73830;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.85;
  font-weight: 400;
}

/* Featured Projects */
.featured-projects-section {
  background: var(--secondary-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card-3d {
  perspective: 1000px;
  height: 500px;
}

.project-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  transform-style: preserve-3d;
  overflow: hidden;
}

.project-card-3d:hover .project-card-inner {
  transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
  box-shadow: var(--shadow-hover);
}

.project-image-wrapper {
  position: relative;
  height: 60%;
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card-3d:hover .project-image {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.project-overlay-content {
  display: flex;
  gap: 1rem;
}

.btn-floating {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-primary);
}

.btn-floating:hover {
  transform: scale(1.1) translateY(-5px);
}

.project-category {
  display: inline-block;
  background: rgba(183, 56, 48, 0.10);
  color: #b73830;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 1.1rem;
  border-radius: 12px;
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(183, 56, 48, 0.07);
  border: 1px solid rgba(183, 56, 48, 0.18);
  letter-spacing: 0.5px;
  z-index: 2;
}

.project-content {
  padding: 2rem;
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.project-description {
  color: var(--text-color-dark);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color-dark);
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-completed {
  background: #28a745;
  color: white;
}
.status-in-progress {
  background: #ffc107;
  color: #000;
}
.status-planning {
  background: #17a2b8;
  color: white;
}

/* Services Section */
.services-section {
  background: var(--gradient-primary);
  color: white;
}

.services-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%);
  background-size: 60px 60px;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card-3d {
  perspective: 1000px;
  height: 400px;
  opacity: 1 !important;
  visibility: visible !important;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  transform-style: preserve-3d;
  backdrop-filter: blur(10px);
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
}

.service-card-3d:hover .service-card-inner {
  transform: rotateY(-5deg) rotateX(5deg) translateZ(30px);
  background: rgba(255, 255, 255, 0.15);
}

.service-icon {
  height: 80px;
  margin-bottom: 1.5rem;
}

.service-card-inner h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.service-card-inner p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.service-features i {
  color: #b73830;
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.service-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(183, 56, 48, 0.13), transparent);
  transition: left 0.5s;
}

.service-card-3d:hover .service-hover-effect {
  left: 100%;
}

/* Trust Section */
.trust-section {
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.trust-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  /* animation: trustPatternFloat 20s ease-in-out infinite; */
}

/* trustPatternFloat animasyonu kaldırıldı */

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(183, 56, 48, 0.1) 0%, 
    rgba(255, 193, 7, 0.05) 25%, 
    rgba(255, 255, 255, 0.02) 50%, 
    rgba(183, 56, 48, 0.08) 75%, 
    rgba(255, 193, 7, 0.03) 100%);
  pointer-events: none;
  z-index: 1;
}

.trust-section .section-title {
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.trust-section .section-description {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.trust-section .section-badge {
  background: linear-gradient(135deg, rgba(183, 56, 48, 0.15), rgba(183, 56, 48, 0.08));
  border: 1px solid rgba(183, 56, 48, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(183, 56, 48, 0.1);
}

.trust-section .section-badge span {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.trust-section .container {
  position: relative;
  z-index: 3;
}

.trust-content {
  position: relative;
  z-index: 2;
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.trust-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.trust-feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.trust-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(183, 56, 48, 0.1), transparent);
  transition: left 0.5s ease;
}

.trust-feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(183, 56, 48, 0.3);
  box-shadow: 0 10px 30px rgba(183, 56, 48, 0.2);
}

.trust-feature:hover::before {
  left: 100%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #b73830, #e0524a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(183, 56, 48, 0.3);
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #b73830, #ffc107, #b73830);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trust-feature:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(183, 56, 48, 0.4);
}

.trust-feature:hover .feature-icon::before {
  opacity: 1;
}

.feature-content h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.stats-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  perspective: 1500px;
  margin-top: 4rem;
}

.stat-card-3d {
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text-color-light);
  transform-style: preserve-3d;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(183, 56, 48, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-card-3d:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(183, 56, 48, 0.3);
  box-shadow: 0 15px 40px rgba(183, 56, 48, 0.2);
}

.stat-card-3d:hover::before {
  left: 100%;
}

.stat-icon {
  font-size: 2.8rem;
  color: #b73830;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(183, 56, 48, 0.18);
  transition: all 0.3s ease;
}

.stat-card-3d:hover .stat-icon {
  transform: scale(1.1);
  text-shadow: 0 0 20px rgba(183, 56, 48, 0.3);
}

.stat-content h3 {
  font-size: 3.2rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-content p {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--gradient-primary);
  color: white;
}

.testimonials-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card-3d {
  position: relative;
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.testimonial-quote {
  font-size: 2.5rem;
  color: #b73830;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 15px rgba(183, 56, 48, 0.13);
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-rating {
  margin-bottom: 2rem;
}

.testimonial-rating i {
  color: #b73830;
  opacity: 0.4;
  font-size: 1.2rem;
  transition: color 0.2s, opacity 0.2s;
}

.testimonial-rating i.active {
  color: #e0524a;
  opacity: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-image {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #b73830;
  margin-right: 1rem;
  box-shadow: 0 2px 8px rgba(183, 56, 48, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.author-info h6 {
  margin: 0;
  font-weight: 600;
  color: white;
}

.author-info span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.testimonial-bg-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(183, 56, 48, 0.13), transparent);
  transition: left 2s;
  z-index: 1;
}

.carousel-item.active .testimonial-bg-effect {
  left: 100%;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-controls button {
  background: rgba(183, 56, 48, 0.10);
  border: 1px solid rgba(183, 56, 48, 0.18);
  color: #b73830;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(183, 56, 48, 0.07);
  font-size: 1.3rem;
}

.carousel-controls button:hover {
  background: #b73830;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(183, 56, 48, 0.18);
}

.carousel-controls button.active {
  background: #b73830;
  color: #fff;
  transform: scale(1.1);
}

.custom-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.custom-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(183, 56, 48, 0.18);
  transition: background 0.3s, transform 0.3s;
  margin: 0 4px;
}

.custom-indicators button.active {
  background: #b73830;
  transform: scale(1.3);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.02) 2px,
    rgba(255, 255, 255, 0.02) 4px
  );
  pointer-events: none;
}

.cta-icon {
  margin-bottom: 2rem;
}

.cta-icon i {
  color: #b73830;
  text-shadow: 0 0 20px rgba(183, 56, 48, 0.13);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Modal Styles */
.modal-content {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--shadow-hover);
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.modal-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b73830;
}

.modal-body {
  padding: 2rem;
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes starGlow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* AOS Animations */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="slide-up"] {
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

[data-aos="slide-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(-20px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-right"] {
  transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

[data-aos="flip-left"] {
  transform: perspective(400px) rotateY(-90deg);
}

/* Loading Screen Styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 20, 20, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}
.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.loading-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 220px;
  width: 40vw;
  min-width: 120px;
  margin: 0 auto;
  transition: transform 0.5s cubic-bezier(.68,-0.55,.27,1.55);
}
.logo-icon {
  width: 100%;
  max-width: 220px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-svg {
  width: 100%;
  max-width: 220px;
  min-width: 120px;
  height: auto;
  display: block;
}
@media (max-width: 600px) {
  .loading-logo, .logo-icon, .logo-svg {
    max-width: 120px;
    min-width: 60px;
  }
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #fff;
  border-top: 4px solid #b73830;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modern Header Background */
#mainNavbar {
  background: linear-gradient(120deg, rgba(247,244,241,0.98) 0%, rgba(255,255,255,0.92) 60%, rgba(183,56,48,0.10) 100%);
  box-shadow: 0 4px 32px 0 rgba(48,68,54,0.07), 0 1.5px 0 0 #b73830 inset;
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid rgba(183,56,48,0.10);
}
#mainNavbar.scrolled {
  background: linear-gradient(120deg, rgba(247,244,241,0.98) 0%, rgba(255,255,255,0.96) 60%, rgba(183,56,48,0.13) 100%);
  box-shadow: 0 8px 32px 0 rgba(48,68,54,0.10), 0 1.5px 0 0 #b73830 inset;
  border-bottom: 1.5px solid rgba(183,56,48,0.16);
}
.main-logo-svg {
  filter: drop-shadow(0 2px 12px rgba(183,56,48,0.08));
  background: transparent;
  border-radius: 0;
}
@media (max-width: 991.98px) {
  #mainNavbar {
    padding: 0.5rem 0;
  }
}

/* Alert Toast Notifications */
.alert-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: all 0.3s ease;
  opacity: 0;
}

.alert-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.alert-toast-success {
  border-left: 4px solid #28a745;
}

.alert-toast-error {
  border-left: 4px solid #dc3545;
}

.alert-toast-info {
  border-left: 4px solid #17a2b8;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
}

.alert-content i {
  font-size: 1.2rem;
}

.alert-toast-success .alert-content i {
  color: #28a745;
}

.alert-toast-error .alert-content i {
  color: #dc3545;
}

.alert-toast-info .alert-content i {
  color: #17a2b8;
}

.alert-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
  transition: color 0.3s ease;
}

.alert-close:hover {
  color: white;
}

/* Responsive for alerts */
@media (max-width: 768px) {
  .alert-toast {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

.trust-section .container {
  position: relative;
  z-index: 2;
}

.trust-section .col-lg-6:first-child {
  margin-top: 2rem;
}

.trust-section .section-title {
  color: white;
}

.trust-section .section-description {
  color: rgba(255, 255, 255, 0.8);
}

.trust-section .section-badge {
  background: rgba(183, 56, 48, 0.1);
  border: 1px solid rgba(183, 56, 48, 0.2);
}

.trust-section .section-badge span {
  color: rgba(255, 255, 255, 0.9);
}

.trust-content {
  padding-right: 2rem;
  position: relative;
  z-index: 2;
}

.trust-features {
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.trust-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.trust-feature:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(183, 56, 48, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(183, 56, 48, 0.1);
}

.feature-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-logo-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(183, 56, 48, 0.2);
  transition: all 0.3s ease;
}

.trust-feature:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(183, 56, 48, 0.3);
}

.feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 600;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  /* .trust-bg-pattern {
    background-size: 200px 200px, 150px 150px;
  } */
  
  .trust-feature {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .feature-content h4 {
    font-size: 1.1rem;
  }
  
  .feature-content p {
    font-size: 0.9rem;
  }
  
  .trust-content {
    padding: 1.5rem;
  }
  
  .trust-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  /* .stats-bg-pattern {
    background-size: 200px 200px, 150px 150px;
  } */
  
  .stat-card-3d {
    padding: 2rem 1.5rem;
  }
  
  .stat-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
  }
  
  .stat-content h3 {
    font-size: 2.5rem;
  }
  
  .stat-content p {
    font-size: 0.8rem;
  }
  
  .stats-grid-3d {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }
}

/* Stats Section */
.stats-section {
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  /* animation: statsPatternFloat 20s ease-in-out infinite; */
}

/* statsPatternFloat animasyonu kaldırıldı */

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(183, 56, 48, 0.1) 0%, 
    rgba(255, 193, 7, 0.05) 25%, 
    rgba(255, 255, 255, 0.02) 50%, 
    rgba(183, 56, 48, 0.08) 75%, 
    rgba(255, 193, 7, 0.03) 100%);
  pointer-events: none;
  z-index: 1;
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

.stats-section .section-title {
  color: white;
}

.stats-section .section-description {
  color: rgba(255, 255, 255, 0.8);
}

.stats-section .section-badge {
  color: #b73830 !important;
}

.stats-section .section-badge span {
  color: #b73830 !important;
}

.stats-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  perspective: 1500px;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  /* .stats-bg-pattern {
    background-size: 200px 200px, 150px 150px;
  } */
  
  .stat-card-3d {
    padding: 2rem 1.5rem;
  }
  
  .stat-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
  }
  
  .stat-content h3 {
    font-size: 2.5rem;
  }
  
  .stat-content p {
    font-size: 0.8rem;
  }
  
  .stats-grid-3d {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }
}
