/* EFT İnşaat - Zarif ve Dengeli Kurumsal Web Sitesi */

:root {
  --primary-color: #1A3C64;      /* Kurumsal lacivert */
  --secondary-color: #2C5F8C;    /* Orta lacivert */
  --accent-color: #F8F6F3;       /* Yumuşak bej-beyaz */
  --accent-secondary: #A67C52;   /* Bronz vurgu */
  --background: #FAFAF9;         /* Açık taş rengi */
  --background-light: #F5F4F2;   /* Daha açık taş */
  --text-primary: #1E1E1E;       /* Koyu gri (okunabilir) */
  --text-secondary: #6B7280;     /* Orta gri */
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);  /* Yumuşak gölge */
  --border-color: #E5E7EB;       /* İnce gri border */
  --hover-overlay: rgba(26, 60, 100, 0.85);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Open Sans', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.6;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(120deg, #dbe4f3 0%, #f3e7db 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1 1 480px;
    min-width: 280px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-visual {
    flex: 1 1 380px;
    min-width: 280px;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-kicker {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    position: relative;
    padding-left: 24px;
}

.hero-kicker::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 2px;
    background: var(--accent-secondary);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 90%;
}

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

/* Hero Project Card */
.hero-project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.hero-project-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.hero-project-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-project-meta {
    padding: 20px 24px;
    background: white;
}

.hero-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-secondary);
    margin-bottom: 6px;
}

.hero-project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
    line-height: 1.3;
}

.hero-project-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1 1 480px;
  min-width: 280px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-kicker {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
  position: relative;
  padding-left: 16px;
}

.hero-kicker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--accent-secondary);
  border-radius: 50%;
}

.hero-title {
  font-size: 44px;
  line-height: 1.1;
  margin: 12px 0 16px;
  font-weight: 800;
  color: var(--primary-color);
  text-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(26, 60, 100, 0.2);
}

.btn-primary:hover {
  background: #15355f;
  border-color: #15355f;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(26, 60, 100, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: rgba(26, 60, 100, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.hero-visual {
  flex: 1 1 420px;
  min-width: 280px;
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-project-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  max-width: 420px;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.hero-project-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 24px 50px rgba(0,0,0,0.22);
}

.hero-project-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 20px 20px 0 0;
}

.hero-project-meta {
  padding: 14px 18px;
  background: white;
  border-radius: 0 0 20px 20px;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-project-title {
  margin: 4px 0 2px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Montserrat', 'Poppins', sans-serif;
}

.hero-project-location {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.hero-project-location::before {
  content: '📍';
  margin-right: 6px;
  font-size: 12px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .hero-subtitle {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 40px;
    text-align: center;
  }
  
  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 70px 0 30px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero-project-card {
    max-width: 100%;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

p {
  font-family: 'Roboto', 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Hero Section - Full Screen */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    height: 80vh;
    max-height: 600px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 400px;
    height: 70vh;
    max-height: 500px;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 60, 100, 0.6), rgba(166, 124, 82, 0.4));
  z-index: 2;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/WhatsApp Image 2025-10-18 at 11.56.45.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
  filter: brightness(0.85) contrast(1.1);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-content .hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-content .hero-description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Hakkımızda */
.about h2 {
  text-align: center;
}
.about .about-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Reusable centered About block for project pages */
.about-section {
  background: #f8fafc;
  padding: 4rem 0;
  margin-top: 4rem;
  border-top: 1px solid #e2e8f0;
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.about-container h2 {
  color: #1a3c64;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.about-container h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: #e74c3c;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.about-container p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Inline Proje Detay Görünümü */
.project-detail {
  padding: 3rem 0;
  background: #f8fafc;
}

.project-detail-title {
  text-align: center;
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 2rem;
}

.project-detail-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}

.project-detail-info {
  flex: 1.2 1 0;
}

.project-detail-info .info-group {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.project-detail-gallery {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 620px;
  overflow-y: auto;
  padding-right: 4px;
}

.thumb-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.thumb-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.thumb-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .project-detail-grid {
    flex-direction: column;
  }
  .project-detail-gallery {
    max-height: none;
  }
}

/* SMS tarzı Hakkımızda düzeni */
.about-intro {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--text-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.about-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.about-card h3 {
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.about-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), #2B4C7E);
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 6px 16px rgba(26,60,100,0.25);
}

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

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

/* Header */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(26, 60, 100, 0.1);
}

.header-top {
  background: linear-gradient(135deg, #FAFAF9 0%, #F8F6F3 50%, #F5F4F2 100%);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.logo-image {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
}

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

.slogan-text {
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 500;
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
}

/* Language Toggle */
.language-switcher {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}

.language-options {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.language-option {
    background: none;
    border: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    min-width: 40px;
    text-align: center;
}

.language-option.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.language-option:not(.active):hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.language-separator {
    color: var(--text-secondary);
    font-weight: 300;
    margin: 0 2px;
    opacity: 0.6;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .language-options {
        background: rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .language-option:not(.active) {
        color: #e0e0e0;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .language-switcher {
        margin-left: 1rem;
    }
    
    .language-option {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .language-switcher {
        margin: 0.5rem 0 0;
        width: 100%;
        justify-content: center;
    }
    
    .language-options {
        width: auto;
        margin: 0 auto;
    }
}

/* Navigation */
.nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: 'Roboto', 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  border: 1px solid transparent;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(26, 60, 100, 0.06);
  border-color: var(--accent-secondary);
  transform: translateY(-1px);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: var(--primary-color);
  background: rgba(26, 60, 100, 0.08);
  border-color: var(--primary-color);
}

.nav-link.active::after {
  width: 80%;
}

/* Navigation Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid var(--border-color);
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-radius: 6px;
  margin: 0 0.5rem;
}

.dropdown-link:hover {
  color: var(--primary-color);
  background: rgba(26, 60, 100, 0.05);
  padding-left: 1.5rem;
}

/* Smooth Scroll Animations - Disabled */
section {
  opacity: 1; /* Always visible */
  transform: translateY(0);
  transition: none;
}

section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.city-card {
  opacity: 1; /* Always visible */
  transform: translateY(0);
  transition: none;
}

.city-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.project-card {
  opacity: 1; /* Always visible */
  transform: translateY(0);
  transition: none;
}

.project-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item {
  opacity: 1; /* Always visible */
  transform: translateY(0);
  transition: none;
}

.gallery-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Main Sections - Optimized Spacing */
/* Genel Section'lar - Küçültülmüş Padding */
section {
  padding: 3rem 0;
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about h2 {
  font-size: 2.5rem;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2.5rem;
}

.projects h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
}

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

.about-content {
  max-width: 100%;
  padding: 0 1rem;
  font-size: 1.1rem;
}

.about-text,

.about-text p {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  text-align: center;
  font-weight: 400;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Misyon Vizyon - Yatay Düzen */
.mission-vision {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  justify-content: space-between;
  align-items: stretch;
  margin-right: auto;
}

.mission-card {
  flex: 1;
  background: linear-gradient(135deg, var(--background-light) 0%, white 100%);
  padding: 2.5rem;
  border-radius: 25px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.vision-card {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-color) 0%, #2B4C7E 100%);
  padding: 2.5rem;
  border-radius: 25px;
  text-align: center;
  color: white;
  box-shadow: 0 4px 15px rgba(26, 60, 100, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.vision-card::before {
  background: var(--accent-secondary);
}

.mission-card h3,
.vision-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.vision-card h3 {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.mission-card p,
.vision-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
  color: var(--text-secondary);
  opacity: 0.9;
  font-weight: 400;
  text-align: center;
}

.vision-card p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 400;
  text-align: center;
}

/* Projects Section */
.projects h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
}

.projects-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.project-showcase-item.featured {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.project-showcase-item.featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}

.project-showcase-item.featured .project-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.project-showcase-item.featured .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-showcase-item.featured .project-overlay {
  opacity: 1;
  background: linear-gradient(45deg, rgba(10, 53, 76, 0.7), rgba(75, 45, 43, 0.5));
}

.project-badge {
  background: var(--accent-secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.project-link {
  background: var(--accent-secondary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.project-link:hover {
  background: #e55a4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(248, 94, 76, 0.3);
}

.no-gallery {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-style: italic;
  border: 2px dashed var(--primary-color);
}

/* Tüm Projeler Modülü */
.projects.all-projects {
  background: var(--background);
  padding: 6rem 0;
}

.projects.all-projects h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.projects.all-projects h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
  border-radius: 3px;
}

.projects-category {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.category-section {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.category-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid;
  text-align: center;
}

.category-title.ongoing {
  color: var(--accent-secondary);
  border-color: var(--accent-secondary);
}

.category-title.completed {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Detailed Project Cards - Modern Design */

/* removed: .detailed-card and hover (ongoing projects detailed cards) */

/* removed: .project-details-card */

/* removed: .project-header-card and h4 */

.project-badge {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.1));
  color: var(--accent-secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.btn-gallery {
  background: linear-gradient(135deg, var(--primary-color), #2B4C7E);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 4px 15px rgba(26, 60, 100, 0.2);
}

.btn-gallery:hover {
  background: linear-gradient(135deg, #2B4C7E, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 60, 100, 0.3);
  color: white;
  text-decoration: none;
}

.project-card.ongoing,
.project-card.completed {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  max-width: 280px;  /* Limit maximum width */
  margin: 0 auto;  /* Center cards in grid */
}

.project-card.ongoing .project-image,
.project-card.completed .project-image {
  position: relative;
  padding-top: 100%;  /* Makes the container square */
  overflow: hidden;
  background: #f8fafc;
  border-radius: 8px 8px 0 0;  /* Rounded corners on top */
}

.project-card.ongoing .project-image img,
.project-card.completed .project-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.ongoing:hover .project-image img,
.project-card.completed:hover .project-image img {
  transform: scale(1.08);
}

.project-card.ongoing .project-info,
.project-card.completed .project-info {
  padding: 1.25rem;  /* Reduced padding */
  flex: 1;
  display: flex;
  flex-direction: column;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.project-card.ongoing .project-info h4,
.project-card.completed .project-info h4 {
  font-size: 1.1rem;  /* Slightly smaller font */
  margin-bottom: 0.5rem;  /* Reduced margin */
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;  /* Tighter line height */
}

.project-card.ongoing .project-info p,
.project-card.completed .project-info p {
  color: var(--text-secondary);
  margin-bottom: 0.4rem;  /* Reduced margin */
  font-size: 0.85rem;  /* Slightly smaller font */
  line-height: 1.3;  /* Tighter line height */
}

.project-card.ongoing .btn,
.project-card.completed .btn {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1.2rem;  /* Slightly smaller padding */
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  margin-top: 0.8rem;  /* Reduced margin */
  align-self: flex-start;
  font-size: 0.85rem;  /* Slightly smaller font */
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(26, 60, 100, 0.15);
}

.project-card.ongoing {
  position: relative;
  overflow: visible;
}

.project-card.ongoing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #e74c3c, #f39c12);
  z-index: 2;
}

.project-status-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.1));
  color: var(--accent-secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

/* Project Cards */
.project-card.completed-only {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
}

.project-card.completed-only:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-secondary);
}

.project-info {
  padding: 1.5rem;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(135deg, #FAFAF9 0%, #F8F6F3 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.project-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card.completed-only:hover .project-info::before {
  opacity: 1;
}

.project-card.completed-only .project-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.project-card.completed-only .project-info p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.project-card.completed-only .project-status.completed {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(166, 124, 82, 0.08));
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(26, 60, 100, 0.1);
  display: inline-block;
}

.projects h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.projects h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
  border-radius: 2px;
}

.projects.ongoing {
  background: var(--background-light);
}

.projects.completed {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 100%);
}

/* Container - Global Centering */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.city-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  height: 280px;
  position: relative;
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.city-link {
  background: var(--accent-secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
}

.city-link:hover {
  background: #B8903F;
  transform: translateY(-1px);
}

.city-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.city-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.city-card:hover .city-image img {
  transform: scale(1.05);
}

.city-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.city-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.city-overlay p {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  opacity: 0.9;
  font-weight: 400;
}

.view-gallery {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.view-gallery:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Project Cards */
.project-card.completed-only {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
}

.project-card.completed-only:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-secondary);
}

.project-info {
  padding: 1.5rem;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(135deg, #FAFAF9 0%, #F8F6F3 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.project-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card.completed-only:hover .project-info::before {
  opacity: 1;
}

.project-card.completed-only .project-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.project-card.completed-only .project-info p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.project-card.completed-only .project-status.completed {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(166, 124, 82, 0.08));
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(26, 60, 100, 0.1);
  display: inline-block;
}

.projects h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.projects h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
  border-radius: 2px;
}

.projects.ongoing {
  background: var(--background-light);
}

.projects.completed {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 100%);
}

/* Container - Global Centering */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.city-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  height: 280px;
  position: relative;
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.city-link {
  background: var(--accent-secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
}

.city-link:hover {
  background: #B8903F;
  transform: translateY(-1px);
}

.city-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.city-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.city-card:hover .city-image img {
  transform: scale(1.05);
}

.city-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.city-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.city-overlay p {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  opacity: 0.9;
  font-weight: 400;
}

.view-gallery {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.view-gallery:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Gallery */
.gallery {
  background: var(--background);
  color: var(--text-primary);
}

.gallery h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  cursor: pointer;
  max-width: 800px;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

/* Proje galerileri görünür olsun */
.project-gallery-section .gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

.project-gallery-section .gallery-item {
  display: block !important;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery-section .gallery-item img {
  display: block !important;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

/* Galeri item'larındaki proje bilgileri */
.project-gallery-section .gallery-item .project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1.5rem;
  text-align: center;
  border-radius: 0 0 12px 12px;
  margin: 0;
}

.project-gallery-section .gallery-item .project-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.project-gallery-section .gallery-item .project-info p {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Enhanced Responsive Grid System */
@media (min-width: 1400px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
  .cities-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
  }
  .cities-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .cities-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
  }
  .cities-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
  }
  .cities-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .gallery-grid img {
    height: 200px;
  }
}

/* About Section - Enhanced */
.about {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 100%);
  padding: 6rem 2rem;
}

.about h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
  position: relative;
  text-transform: uppercase;
}

.about h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
  border-radius: 2px;
}

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

/* Project Gallery Styles */
.project-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.project-info-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.project-gallery-section {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

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

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

/* Lightbox Styles */
.pd-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pd-lightbox.open {
    display: flex;
    opacity: 1;
}

.pd-lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.pd-nav, .pd-close {
    position: absolute;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.pd-nav:hover, .pd-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.pd-prev {
    left: 2rem;
}

.pd-next {
    right: 2rem;
}

.pd-close {
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    padding: 0.5rem 1.2rem;
}

@media (max-width: 768px) {
    .project-content-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section - Corporate Design */
.contact {
  background: linear-gradient(135deg, #FAFAF9 0%, #F8F6F3 50%, #FAFAF9 100%);
  padding: 6rem 2rem;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.contact h2 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 5rem;
  letter-spacing: -0.02em;
  position: relative;
  text-transform: uppercase;
}

.contact h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
  border-radius: 3px;
}

.contact-content {
  max-width: 1400px;
  margin: 0 auto;
}

.contact-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

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

.office-section {
  background: white;
  padding: 2rem;
  border-radius: 25px;
  border-left: 6px solid var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.office-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-family: 'Montserrat', 'Poppins', sans-serif;
}

.company-info {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2B4C7E 100%);
  padding: 2rem;
  border-radius: 25px;
  color: white;
  box-shadow: 0 8px 25px rgba(26, 60, 100, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(26, 60, 100, 0.3);
}

.company-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  font-family: 'Montserrat', 'Poppins', sans-serif;
}

.company-info p {
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.8;
  font-family: 'Roboto', 'Open Sans', sans-serif;
}

.contact-form {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  padding: 2rem;
  border-radius: 25px;
  color: white;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.3);
}

.contact-form h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  text-align: center;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-family: 'Roboto', 'Open Sans', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Roboto', 'Open Sans', sans-serif;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

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

.contact-form .btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  backdrop-filter: blur(10px);
}

.contact-form .btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.footer-slogan {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-top: 1.5rem;
  font-size: 1.3rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 15px;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 500px;
  margin: 0 auto;
}

/* Updated Contact Form Styles */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    color: #000;           /* Black text */
    background-color: #fff; /* White background */
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 15px;
    width: 100%;
    margin-bottom: 20px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #1A3C64;
    box-shadow: 0 0 0 2px rgba(26, 60, 100, 0.2);
    outline: none;
}

/* Modern Submit Button */
.contact-form button[type="submit"],
.contact-form input[type="submit"],
.contact-form .submit-btn {
    background: #1A3C64;      /* Primary color from your theme */
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form button[type="submit"]:hover,
.contact-form input[type="submit"]:hover,
.contact-form .submit-btn:hover {
    background: #142F5C;      /* Slightly darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Ensure text is visible in the message field */
.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Style the select dropdown */
.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Roboto', 'Open Sans', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Roboto', 'Open Sans', sans-serif;
  background: var(--background-light);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(26, 60, 100, 0.1);
}

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

.contact-form .btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), #2B4C7E);
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 60, 100, 0.3);
}

.footer-links-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-column h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 1.3rem;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-secondary);
  border-radius: 2px;
}

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

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

.footer-column ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Roboto', 'Open Sans', sans-serif;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-radius: 8px;
  display: block;
  font-weight: 500;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
  padding-left: 1rem;
  background: rgba(26, 60, 100, 0.05);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 4rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: 'Roboto', 'Open Sans', sans-serif;
  font-size: 1rem;
  grid-column: 1 / -1;
  background: rgba(26, 60, 100, 0.02);
  border-radius: 15px;
  padding: 2rem;
}

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

.contact-item a:hover {
  color: var(--accent-secondary);
  text-decoration: underline;
}
@media (max-width: 768px) {
  .contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }

  .contact h2::after {
    width: 100px;
    height: 4px;
    bottom: -15px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 2rem;
    max-width: none;
    margin: 0;
  }

  .contact-form h3 {
    font-size: 1.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.8rem;
    font-size: 1rem;
  }

  .footer-links-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 4rem 1rem;
  }

  .contact h2 {
    font-size: 2rem;
  }

  .office-section,
  .company-info,
  .contact-form {
    padding: 1.5rem;
  }

  .contact-form h3 {
    font-size: 1.5rem;
  }

  .office-section h3,
  .company-info h3 {
    font-size: 1.5rem;
  }
}

/* Responsive Design */
/* Base Mobile First Styles */
.container {
  padding: 0 12px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Make all images responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Grid Layouts */
.projects-grid,
.completed-projects-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 12px;
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
  .projects-grid,
  .completed-projects-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .container {
    padding: 0 20px;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  .projects-grid,
  .completed-projects-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  font-size: 24px;
  cursor: pointer;
  padding: 8px 12px;
  color: var(--primary-color);
  margin-left: auto;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: var(--primary-color);
  color: white;
}

.nav-menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
  display: block;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-secondary);
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-link {
  display: block;
  padding: 8px 20px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-link:hover {
  background: var(--background-light);
  color: var(--accent-secondary);
  padding-left: 25px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    position: relative;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    display: block;
  }
  
  .nav-item-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav-item-dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 10px 0 10px 20px;
  }
  
  .dropdown-menu li {
    margin: 5px 0;
  }
  
  .dropdown-link {
    padding: 8px 15px;
  }
}

/* Responsive Typography */
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
}

/* Responsive Images and Media */
.hero img,
.project-image img,
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow-x: auto;
  display: block;
}

/* Responsive Forms */
form {
  max-width: 100%;
  padding: 12px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Responsive Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  max-width: 300px;
  margin: 10px 0;
}

@media (min-width: 768px) {
  .btn {
    width: auto;
    margin: 0 10px 0 0;
  }
}

/* Responsive Utility Classes */
.hide-on-mobile { display: none; }

@media (min-width: 768px) {
  .hide-on-mobile { display: block; }
  .hide-on-desktop { display: none; }
}

/* Existing responsive styles */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    text-align: center;
  }

  .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .hero-subtitle {
    font-size: 1.4rem;
  }

  .hero-content .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  .scroll-indicator span {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 1rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .about h2 {
    font-size: 2rem;
  }

  .projects h2 {
    font-size: 2rem;
  }

  .contact h2 {
    font-size: 2rem;
  }

  section p {
    font-size: 1rem;
  }

  .gallery-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .gallery-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

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

  .gallery-section .gallery-item {
    height: 220px;
  }

  .project-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-info-section,
  .project-gallery-section {
    padding: 1.5rem;
  }

  .info-item {
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
  }

  .info-item strong {
    min-width: auto;
  }

  .info-item span {
    text-align: left;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .project-gallery-grid .gallery-item {
    height: 150px;
  }

  .project-actions {
    flex-direction: column;
    align-items: center;
  }

  .project-actions .btn {
    width: 100%;
    max-width: 250px;
  }

  .project-header h1 {
    font-size: 1.8rem;
  }

  .project-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 200px;
  }

  .mission-card h3,
  .vision-card h3 {
    font-size: 1.5rem;
  }

  .mission-card p,
  .vision-card p {
    font-size: 1rem;
  }

  .project-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-info-section,
  .project-gallery-section {
    padding: 1.5rem;
  }

  .project-header h1 {
    font-size: 1.8rem;
  }

  .project-gallery-section h2 {
    font-size: 1.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-grid-modal img {
    height: 180px;
  }

  .photo-placeholder {
    height: 180px;
  }

  .projects.all-projects h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }

  .projects.all-projects h2::after {
    width: 100px;
    height: 4px;
    bottom: -12px;
  }

  .projects-category {
    gap: 3rem;
  }

  .category-section {
    padding: 2rem 1.5rem;
  }

  .category-title {
    font-size: 1.8rem;
  }

  .mission-vision {
    flex-direction: column;
    gap: 2rem;
  }

  .mission-card,
  .vision-card {
    min-height: 180px;
    padding: 1.5rem;
  }

  .mission-card h3,
  .vision-card h3 {
    font-size: 1.2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.7rem;
    font-size: 0.9rem;
  }

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header-top {
    padding: 1rem;
  }

  .hero {
    min-height: 500px;
    height: 80vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-content .hero-description {
    font-size: 0.95rem;
  }

  .hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .scroll-indicator {
    display: none;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .detail-card {
    padding: 1rem;
  }

  .detail-card h3 {
    font-size: 1.1rem;
  }

  .project-header h1 {
    font-size: 1.6rem;
  }

  .project-subtitle {
    font-size: 0.95rem;
  }

  .projects.all-projects h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .projects.all-projects h2::after {
    width: 80px;
    height: 3px;
    bottom: -10px;
  }

  .category-section {
    padding: 1.5rem 1rem;
  }

  .category-title {
    font-size: 1.5rem;
  }

  .project-info {
    padding: 1rem;
  }

  .project-info h4 {
    font-size: 1rem;
  }

  .project-info p {
    font-size: 0.85rem;
  }

  .project-image {
    height: 150px;
  }

  .mission-vision {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .mission-card,
  .vision-card {
    min-height: 160px;
    padding: 1.2rem;
  }

  .mission-card h3,
  .vision-card h3 {
    font-size: 1.1rem;
  }

  .mission-card p,
  .vision-card p {
    font-size: 0.9rem;
  }

  .about-text p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .gallery-title {
    font-size: 2rem;
  }

  .gallery-subtitle {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .showcase-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
  }

  .gallery-section .gallery-item {
    height: 180px;
  }

  .gallery-section.showcase-gallery {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }

  .gallery-overlay {
    padding: 1rem 0.8rem 0.8rem;
    height: 50%;
  }

  .gallery-overlay h3 {
    font-size: 1rem;
  }

  .gallery-overlay p {
    font-size: 0.8rem;
  }

}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.gallery-modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 5% auto;
  padding: 0;
  border: none;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.project-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  padding: 2rem 1rem;
}

.project-modal-content {
  background: white;
  margin: 2rem auto;
  padding: 0;
  border-radius: 20px;
  width: 95%;
  max-width: 1200px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.project-modal-header {
  background: linear-gradient(135deg, var(--primary-color), #2B4C7E);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 20px 0 0;
}

.project-modal-header h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.project-modal-close {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.project-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.project-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  overflow-y: auto;
  max-height: 70vh;
}

.project-modal-info {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.info-card {
  background: white;
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 60, 100, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-secondary);
}

.info-card.ongoing {
  border-left: 4px solid var(--accent-secondary);
}

.project-status-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.1));
  color: var(--accent-secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.info-item-modal {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26, 60, 100, 0.08);
}

.info-item-modal:last-child {
  border-bottom: none;
}

.info-item-modal .icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-item-modal .label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.85rem;
  min-width: 100px;
}

.info-item-modal .value {
  color: var(--text-secondary);
  font-weight: 500;
  flex: 1;
  text-align: right;
  font-size: 0.85rem;
  line-height: 1.3;
}

.btn-gallery-modal {
  background: linear-gradient(135deg, var(--primary-color), #2B4C7E);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 3px 10px rgba(26, 60, 100, 0.2);
  margin-top: 0.5rem;
}

.btn-gallery-modal:hover {
  background: linear-gradient(135deg, #2B4C7E, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 60, 100, 0.3);
  color: white;
  text-decoration: none;
}

.project-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.modal-gallery-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  height: 150px;
  cursor: pointer;
  position: relative;
}

.modal-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.modal-gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 1rem 0.8rem 0.8rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Modal Responsive */
@media (max-width: 768px) {
  .project-modal-overlay {
    padding: 1rem 0.5rem;
  }

  .project-modal-content {
    width: 100%;
    margin: 0;
    border-radius: 15px;
    max-height: 95vh;
  }

  .project-modal-header {
    padding: 1rem 1.5rem;
    border-radius: 15px 15px 0 0;
  }

  .project-modal-header h2 {
    font-size: 1.4rem;
  }

  .project-modal-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    max-height: 80vh;
  }

  .project-modal-gallery {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .modal-gallery-item {
    height: 120px;
  }

  .modal-gallery-item span {
    font-size: 0.75rem;
    padding: 0.8rem 0.6rem 0.6rem;
  }

  .modal-info-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .info-card {
    padding: 1rem;
  }

  .info-card h3 {
    font-size: 1rem;
  }

  .info-item-modal {
    padding: 0.4rem 0;
    gap: 0.6rem;
  }

  .info-item-modal .icon {
    font-size: 1rem;
  }

  .info-item-modal .label {
    font-size: 0.8rem;
    min-width: 80px;
  }

  .info-item-modal .value {
    font-size: 0.8rem;
  }

  .project-modal-gallery {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .modal-gallery-item {
    height: 120px;
  }

  .modal-gallery-item span {
    font-size: 0.75rem;
    padding: 0.8rem 0.6rem 0.6rem;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .showcase-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .showcase-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .showcase-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }

  .gallery-section .gallery-item {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .showcase-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Prevent horizontal overflow and ensure proper viewport handling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
    /* Ensure containers don't cause horizontal overflow */
    .container,
    .page-wrapper,
    .section-wrapper,
    .hero-inner,
    .projects-section,
    .completed-projects-grid,
    .devam-projeler-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto;
        margin-right: auto;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Prevent cards from exceeding screen width */
    .project-card,
    .completed-project-card,
    .devam-card,
    .ozel-proje-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Reset any fixed widths that might cause overflow */
    [style*="min-width: 1200px"],
    [style*="width: 1200px"] {
        min-width: 100% !important;
        width: 100% !important;
    }
    
    /* Fix for gallery grid on mobile */
    .showcase-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* =========================================
   Project Detail Shared Styles (Corporate)
   Applies to: projeler/*.html detail pages
   ========================================= */
.project-layout .project-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { .project-layout .project-content-grid { grid-template-columns: 1fr; } }

.project-info-section h2,
.project-gallery-section h2 { color: #1a3c64; font-family: 'Montserrat', sans-serif; margin: 0 0 0.75rem 0; }
.gallery-description { color: #6b7280; margin-bottom: 1rem; text-align: center; }

.project-info-list { display: flex; flex-direction: column; gap: 1rem; }
.project-info-list .info-group { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); padding: 1rem; }
.project-info-list .info-group h3 { color: #1a3c64; font-size: 1rem; font-weight: 600; border-bottom: 2px solid #f1f5f9; padding-bottom: .6rem; margin: 0 0 .8rem 0; }
.project-info-list .info-item { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid #f3f4f6; }
.project-info-list .info-item:last-child { border-bottom: none; }
.project-info-list .info-item strong { color: #4b5563; font-weight: 600; }
.project-info-list .info-item span { color: #111827; font-weight: 500; }

.vertical-gallery { display: flex; flex-direction: column; gap: 0.75rem; max-height: 80vh; overflow-y: auto; }
.thumb-item { border-radius: 12px; overflow: hidden; border: 1px solid #e5e7eb; box-shadow: 0 6px 18px rgba(0,0,0,0.06); cursor: pointer; background: #fff; }
.thumb-item img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform .25s ease; }
.thumb-item:hover img { transform: scale(1.02); }
@media (max-width: 768px) { .vertical-gallery { max-height: none; } .thumb-item img { height: 200px; } }

/* Shared Lightbox (pd-*) */
.pd-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; }
.pd-lightbox.open { display: flex; }
.pd-lightbox-image { max-width: 90vw; max-height: 85vh; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,0.5); }
.pd-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); color: #1a3c64; border: none; width: 44px; height: 44px; border-radius: 9999px; cursor: pointer; font-size: 22px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.pd-prev { left: 2%; } .pd-next { right: 2%; }
.pd-close { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.95); color: #1a3c64; border: none; width: 40px; height: 40px; border-radius: 9999px; cursor: pointer; font-size: 26px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }

/* =========================================
   Mobile Layout Refinements (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    /* 1. Compact Mobile Header */
    .header {
        padding: 8px 0;
        position: relative;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .header-top {
        padding: 0 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-height: 60px;
    }

    .logo-container {
        width: 120px;
    }

    .logo-image {
        max-height: 40px;
        width: auto;
    }

    .slogan-main {
        display: none;
    }

    .mobile-menu-btn {
        background: none;
        border: none;
        font-size: 24px;
        color: var(--primary-color);
        padding: 8px;
        margin: 0;
        cursor: pointer;
    }

    /* 2. Mobile Navigation */
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }

    .nav.active {
        max-height: 1000px;
        padding: 0 0 16px;
    }

    .nav-menu {
        flex-direction: column;
        padding: 0;
    }

    .nav-link {
        padding: 12px 24px;
        display: block;
    }

    /* 3. Project Cards Full Width */
    .project-card,
    .completed-project-card,
    .devam-proje-card,
    .ozel-proje-card {
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px 0;
        padding: 16px;
        border-radius: 12px;
        box-sizing: border-box;
    }

    /* 4. Section Spacing */
    .projects-section,
    .devam-eden-section,
    .ozel-projeler-section,
    .category-section {
        padding: 0 16px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* 5. Grid Layout */
    .projects-grid,
    .completed-projects-grid,
    .devam-projeler-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 0;
        width: 100%;
    }

    /* 6. Hero Section Spacing */
    .hero {
        margin-top: 0;
        padding-top: 20px;
    }
    
    /* Hero Text Centering and Spacing */
    .hero-content {
        text-align: center !important;
        padding: 0 16px !important;
        margin: 24px auto 0 !important;
        max-width: 100% !important;
    }
    
    .hero-subtitle {
        text-align: center !important;
        padding: 0 16px !important;
        margin: 16px auto 24px !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        display: block;
    }
    
    .hero-actions {
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 24px !important;
    }
    
    .hero-actions .btn {
        margin: 0 8px 8px 0 !important;
        flex: 1 1 auto;
        min-width: 200px;
        text-align: center;
    }
}

/* =========================================
   Header Layout - Desktop & Mobile
   ========================================= */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 12px 24px;
    box-sizing: border-box;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-top {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 0 0 auto;
}

.logo-container {
    order: 1;
    flex-shrink: 0;
}

.nav {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
}

.slogan-main {
    order: 3;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
    font-style: italic;
    font-size: 0.9rem;
    color: #555;
}

.mobile-menu-btn {
    display: none;
}

/* Mobile styles */
@media (max-width: 992px) {
    .header {
        flex-wrap: wrap;
        padding: 8px 16px;
        gap: 12px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .slogan-main {
        white-space: normal;
        max-width: 40%;
        font-size: 0.8rem;
        text-align: right;
    }
    
    .nav-item-dropdown .dropdown-menu {
        display: none;
    }
}

/* Hide mobile menu button since we're not using it */
.mobile-menu-btn {
    display: none !important;
}

/* Ensure the nav is always visible */
.nav {
    display: flex !important;
    max-height: none !important;
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
}
