/*
  FER Alüminyum & PVC Sistemleri Web Sitesi - CSS
  Web Geliştirme: Fikret Koç - Route Software Company
  E-posta: fikret@routesoftwarecompany.com
  Website: https://routesoftwarecompany.com/
  Tarih: 2024
*/

/* Modern CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #111827;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  font-weight: 700;
}
h2 { 
  font-size: clamp(2rem, 4vw, 3rem); 
  font-weight: 600;
}
h3 { 
  font-size: clamp(1.5rem, 3vw, 2rem); 
  font-weight: 600;
}
h4 { 
  font-size: clamp(1.25rem, 2.5vw, 1.5rem); 
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Modern Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 16px 0 rgba(37,99,235,0.06);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Modern Navigation */
.site-menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.site-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s;
  z-index: 1;
}

.site-menu a.active,
.site-menu a:focus {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.10);
}

.site-menu a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s;
  z-index: 2;
}

.site-menu a:hover::after {
  width: 80%;
}

.site-menu a:hover {
  color: var(--primary-color);
  background: rgba(37,99,235,0.07);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.dropdown-content {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 210px;
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(37,99,235,0.10), 0 1.5px 4px 0 rgba(16,185,129,0.08);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95) translateY(10px);
  transition: all 0.25s cubic-bezier(.4,2,.3,1);
  padding: 1rem 0;
  border: 1px solid var(--border-color);
  z-index: 10;
  pointer-events: none;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.open .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
  background: var(--gradient-primary);
  color: #fff;
}

/* Dropdown arrow */
.dropdown > a::after {
  content: '\25BC';
  font-size: 0.7em;
  margin-left: 0.3em;
  color: var(--text-light);
  transition: transform 0.3s;
}
.dropdown.open > a::after,
.dropdown:focus-within > a::after,
.dropdown:hover > a::after {
  transform: rotate(-180deg);
  color: var(--primary-color);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  position: relative;
  transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.menu-icon::before { top: -8px; }
.menu-icon::after { bottom: -8px; }

.menu-toggle.active .menu-icon {
  background: transparent;
}

.menu-toggle.active .menu-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.active .menu-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Hero Section */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  filter: blur(1px) brightness(0.8);
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-container, .hero-content, .hero-images {
  position: relative;
  z-index: 2;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: white;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-images {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  animation: fadeInRight 1s ease 0.4s both;
}

.image-placeholder {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
}

.image-placeholder:hover {
  transform: translateY(-10px);
}

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

.image-placeholder.small {
  align-self: end;
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Sections */
section {
  padding: 6rem 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* About Section */
.about {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.about-features {
  list-style: none;
  margin-top: 2rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.about-features li:hover {
  transform: translateX(10px);
}

.about-features i {
  color: var(--accent-color);
  font-size: 1.25rem;
}

/* About Page Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--bg-secondary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-item:hover::before {
  left: 100%;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.stat-number.animating {
  animation: pulse 1s ease-in-out;
}

.stat-text {
  display: block;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Responsive Design for About Stats */
@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  background: var(--bg-primary);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-item:hover img {
  transform: scale(1.1);
}

.service-overlay {
  padding: 2rem;
}

.service-overlay h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-overlay p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

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

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.service-features i {
  color: var(--accent-color);
  font-size: 0.875rem;
}

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

.detail-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-5px);
}

.detail-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.detail-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.detail-card p {
  color: var(--text-secondary);
}

/* Projects Section */
.projects {
  background: var(--bg-secondary);
}

.projects-video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-primary);
  margin: 2rem 0;
  padding: 1rem;
}

.projects-video {
  width: 100%;
  height: 500px;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  transition: transform 0.3s ease;
  background: var(--bg-primary);
}

.projects-video:hover {
  transform: scale(1.02);
}

.video-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(16, 185, 129, 0.9) 100%);
  color: white;
  padding: 2rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.projects-video-container:hover .video-overlay-text {
  transform: translateY(0);
}

.video-overlay-text h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.video-overlay-text p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1rem;
}

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

/* Gallery Section */
.gallery {
  background: var(--bg-secondary);
}

.video-section {
  margin-bottom: 4rem;
}

.video-section h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

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

.video-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  background: var(--bg-primary);
}

.video-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.video-placeholder {
  position: relative;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 20px;
  transition: transform 0.3s ease;
  background: var(--bg-primary);
}

.video-placeholder:hover {
  transform: scale(1.05);
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 20px;
  object-position: center;
  background: var(--bg-primary);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.video-item:hover .video-thumbnail {
  transform: scale(1.1);
}

.video-overlay i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.video-overlay span {
  font-weight: 600;
  text-align: center;
}

/* Photo Gallery */
.photo-gallery h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-secondary);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

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

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  background: var(--bg-primary);
  aspect-ratio: 1/1;
  min-height: 300px;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  background: var(--bg-primary);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(16, 185, 129, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
  text-align: center;
}

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

.gallery-overlay h4 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.gallery-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.gallery-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.gallery-btn i {
  font-size: 1.25rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 2rem;
  width: 90%;
  max-width: 800px;
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--primary-color);
}

#lightbox-img {
  max-width: 100%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: white;
}

.lightbox-caption h4 {
  color: white;
  margin: 0;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.video-modal-content {
  position: relative;
  margin: 2% auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

#video-player {
  width: 100%;
  height: auto;
  max-height: 70vh;
  display: block;
  border-radius: 20px 20px 0 0;
}

.video-modal-caption {
  padding: 1.5rem;
  text-align: center;
  background: var(--bg-primary);
}

.video-modal-caption h4 {
  color: var(--text-primary);
  margin: 0;
  font-size: 1.25rem;
}

/* Gallery Filter Animation */
.gallery-item {
  transition: all 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.blog-card {
  background: var(--bg-primary);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
}

.blog-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.blog-card:hover::after {
  opacity: 0.05;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.blog-content {
  position: relative;
  z-index: 2;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-content {
  padding: 2rem;
}

.blog-date {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
}

.blog-content h3 {
  color: var(--text-primary);
  margin: 0.5rem 0 1rem;
}

.blog-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--primary-dark);
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.whatsapp-float i {
  font-size: 1.5rem;
}

.tooltip {
  position: absolute;
  right: 70px;
  background: var(--text-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Animation Classes */
.animate {
  animation: slideIn 0.6s ease forwards;
}

.animating {
  animation: pulse 1s infinite;
}

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

/* Additional Modern Effects */
.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
  z-index: 1;
}

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

.service-overlay {
  position: relative;
  z-index: 2;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Loading animation for images */
.image-placeholder img {
  transition: opacity 0.3s ease;
}

.image-placeholder img[loading] {
  opacity: 0;
}

.image-placeholder img:not([loading]) {
  opacity: 1;
}

/* Modern focus states */
.btn:focus,
.site-menu a:focus,
.social-links a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Improved accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  text-align: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .site-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
  }
  .site-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .site-menu ul {
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }
  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-left: 1rem;
    min-width: 0;
    pointer-events: auto;
  }
  .dropdown.open .dropdown-content {
    display: block;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-left: 1rem;
  }
  
  .hero-images {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-details {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-filters {
    justify-content: center;
  }
  
  .projects-video {
    height: 300px;
  }
  
  .video-overlay-text {
    padding: 1.5rem;
  }
  
  .video-overlay-text h3 {
    font-size: 1.25rem;
  }
  
  .video-overlay-text p {
    font-size: 0.875rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .video-modal-content {
    width: 95%;
    margin: 5% auto;
  }
  
  #video-player {
    max-height: 50vh;
  }
  
  .video-modal-caption {
    padding: 1rem;
  }
  
  .video-modal-caption h4 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }
  
  .whatsapp-float i {
    font-size: 1.25rem;
  }
}

/* Animasyonlar */
.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(60px);
  animation: slideLeft 1s forwards;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(-60px);
  animation: slideRight 1s forwards;
}

.animate-zoom-in {
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 1s forwards;
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Kart ve buton hover efektleri */
.service-item:hover, .project-item:hover, .blog-card:hover, .gallery-item:hover, .video-item:hover {
  box-shadow: 0 12px 32px 0 rgba(37,99,235,0.15), 0 2px 4px -2px rgba(16,185,129,0.10);
  transform: translateY(-12px) scale(1.03) rotate(-1deg);
  transition: all 0.4s cubic-bezier(.4,2,.3,1);
}

.btn:hover, .filter-btn:hover, .gallery-btn:hover {
  filter: brightness(1.15) drop-shadow(0 2px 8px rgba(37,99,235,0.15));
  transform: scale(1.07) translateY(-2px);
  transition: all 0.3s cubic-bezier(.4,2,.3,1);
}

/* SVG Dalga Geçişleri */
.section-wave {
  width: 100%;
  height: 80px;
  display: block;
  margin-bottom: -2px;
}

/* Vision & Mission Page Styles */
.vision-mission-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.vision-box, .mission-box {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vision-box::before, .mission-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.vision-box:hover, .mission-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.vision-box i, .mission-box i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: block;
}

.vision-box h3, .mission-box h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.vision-box p, .mission-box p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.vision-features, .mission-features {
  list-style: none;
}

.vision-features li, .mission-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.vision-features i, .mission-features i {
  color: var(--accent-color);
  font-size: 1rem;
  margin: 0;
}

.values-section {
  margin-top: 3rem;
}

.values-section h3 {
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-size: 2rem;
}

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

.value-item {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.5s ease;
}

.value-item:hover::before {
  left: 100%;
}

.value-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.value-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-item h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.value-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive Design for Vision Page */
@media (max-width: 768px) {
  .vision-mission-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .vision-box, .mission-box {
    padding: 2rem;
  }
}

/* Contact Page Styles */
.contact {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.contact-info h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: var(--bg-secondary);
  transform: translateX(10px);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover i {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.contact-item h4 {
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
}

.contact-item p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.contact-form {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.contact-form h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.char-count {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.map-container {
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-actions {
  padding: 1.5rem;
  text-align: center;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.map-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.map-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info,
  .contact-form {
    padding: 2rem;
  }
  
  .contact-item {
    padding: 0.75rem;
  }
  
  .map-container {
    height: 300px;
  }
}

/* Quality Page Styles */
.quality-standards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.standard-item {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.standard-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.5s ease;
}

.standard-item:hover::before {
  left: 100%;
}

.standard-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.standard-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.standard-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.standard-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive Design for Quality Page */
@media (max-width: 768px) {
  .quality-standards {
    grid-template-columns: 1fr;
  }
  
  .standard-item {
    padding: 1.5rem;
  }
}
