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

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --dark-gray: #374151;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-blue);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.header.scrolled {
    padding: 0.3rem 0; 
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}

.header.scrolled .logo {
    height: 50px;
}

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

.logo-text {
    font-size: 1.2rem; 
    font-weight: bold;
    color: #003366;
    letter-spacing: 0.5px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    white-space: nowrap; 
    transition: all 0.3s ease;
}


@media (max-width: 600px) {
  .logo-text {
    font-size: 1rem;
  }
}

.header.scrolled .logo-text {
    font-size: 1.1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 80px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle-bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}


/* Main Content */
.main {
    margin-top: 0;
}

.section {
    display: block;
    min-height: 100vh;
    padding: 0;
}

.section:not(.hero-section) {
    padding: 4rem 0;
}

.section.active {
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
}

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

/* Modern Hero Section Styles */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('images/wallpaper.jpg') center/cover no-repeat;
  z-index: 0;
  animation: bgZoom 20s ease-in-out infinite alternate;
}

@keyframes bgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  max-width: 900px;
  padding: 0 20px;
  z-index: 2;
  animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #00264d 80%, #005f99 100%);
  /* #00264d = çok koyu lacivert, #005f99 = koyu mavi */
  color: #e0e7ff; /* açık mavi tonlarında yazı */
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 40px;
  border-radius: 40px;
  box-shadow: 0 4px 15px rgba(0, 95, 153, 0.5);
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.cta-button:hover {
  box-shadow: 0 6px 25px rgba(0, 95, 153, 0.8);
  transform: scale(1.05);
  color: #e0e7ff;
}

.cta-button .arrow {
  margin-left: 12px;
  font-size: 1.4rem;
  transition: margin-left 0.3s ease;
}

.cta-button:hover .arrow {
  margin-left: 20px;
}


.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
  cursor: pointer;
}

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

/* Home Intro Section */
.home-intro {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 6rem 0;
  position: relative;
  z-index: 0;
}
.home-intro::before {
  display: none;
}

.home-intro .container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 2rem;
}

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

.intro-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue); /* mavi ton */
  margin-bottom: 2rem;
  line-height: 1.4;
}

.intro-content p {
  font-size: 1.2rem;
  color: var(--text-light); /* açık gri/metin rengi */
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
}

/* Responsive */
@media (max-width: 768px) {
  .intro-content h2 {
    font-size: 2rem;
  }

  .intro-content p {
    font-size: 1rem;
    padding: 0 10px;
  }


}


/* About Section */
.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 6rem 0;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="rgba(30,58,138,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    z-index: 0;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

@media (max-width: 768px) {
  .about-content {
    max-width: 90%;  
    padding: 0 1rem; 
  }
}


.about-text {
    margin-bottom: 4rem;
    text-align: center;
}




.about-intro {
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
  .about-intro {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .about-text p {
    font-size: 0.9rem;    
    line-height: 1.4;     
    margin-bottom: 1rem;  
  }
}

@media (max-width: 768px) {
  .about-text p {
    font-size: 1rem;      
    line-height: 1.5;     
    margin-bottom: 1rem;  
  }
}

.services-overview {
    margin-bottom: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.services-overview h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px)); 
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center; 
}

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


.services-list li {
    max-width: 320px;  
    width: 100%;       
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0 auto;   
}


.services-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30,58,138,0.03) 0%, transparent 50%);
    z-index: 0;
}

.services-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30,58,138,0.15);
}

.values {
    background: white;
    padding: 3rem 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;            /* Flexbox aktif */
    flex-direction: column;   /* Dikey sıralama */
    align-items: center;      /* Yatayda tam ortala */
   
}

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

.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* Ortalar */
  gap: 2.5rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1100px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}


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


.value-item {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem; 
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30,58,138,0.1);
}


.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30,58,138,0.03) 0%, transparent 50%);
    z-index: 0;
}

.value-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30,58,138,0.15);
    border-color: var(--primary-blue);
}

.value-item h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.value-item p {
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="50" height="43.4" patternUnits="userSpaceOnUse"><polygon points="25,0 50,14.43 50,28.87 25,43.3 0,28.87 0,14.43" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagons)"/></svg>');
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-section .section-title {
    color: white;
    font-size: 3rem;
}

.services-section .section-title::after {
    background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.7));
}

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

.service-category {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30,58,138,0.1), transparent);
    transition: left 0.6s;
}

.service-category:hover::before {
    left: 100%;
}

.service-category:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.service-category:hover .service-icon {
    transform: scale(1.1);
}

.service-category h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-category p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* References Section */
.references-section {
    background: #ffffff;
}

.references-content {
    max-width: 1000px;
    margin: 0 auto;
}

.references-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.references-intro p {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.6;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.reference-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(49, 151, 149, 0.1);
    display: flex;
    flex-direction: column !important;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
}


.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

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


.reference-image {
    height: 280px;
    width: 100%;
    background: linear-gradient(135deg, #319795, #2c5282);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.reference-image img {
    width: auto;
    height: 100%;
    object-fit: cover;
    display: block;
}

.b1-reference .reference-image img {
    height: 350px;
    object-fit: cover;
}



.reference-content {
    padding: 2rem;
    flex: none;
}

.reference-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.reference-description {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}


.reference-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, rgba(49, 151, 149, 0.1), rgba(44, 82, 130, 0.1));
    color: #2c5282;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(49, 151, 149, 0.2);
}

.references-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.references-cta p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.view-details-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #003366; 
  color: #ffffff; 
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.view-details-btn:hover {
  background-color: #3399FF; 
  color: #ffffff;
  transform: translateY(-2px);
}
.view-details-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #003366; 
  color: #ffffff; 
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.view-details-btn:hover {
  background-color: #005fcc; 
  color: #ffffff;
  transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

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

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

.office {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.office-details {
    margin-bottom: 1.5rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.submit-button {
    background-color: #003366; 
    color: #ffffff;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
    letter-spacing: 0.5px;
    width: 100%;
}

.submit-button:hover {
    background-color: #001f4d;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 51, 102, 0.3);
}

/* Footer genel ayarları */
.footer {
    background-color: #003366;
    color: #fff;
    padding: 3rem 0 1rem;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Footer içerik grid yapısı */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Başlıklar */
.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Liste düzeni */
.footer-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

/* Linkler */
.footer-section a {
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

/* Footer alt kısmı */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Logo ve şirket ismi yan yana */
.logo-name {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Logo boyutu ve margin */
.footer-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 0;
}

/* Şirket ismi */
.logo-name h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

/* Açıklama alt satırda, logo ve isimden ayrı */
.logo-text-block p.footer-description {
    margin-top: 1rem;
    max-width: 350px;
    color: #fff;
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.4;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        transition: var(--transition);
        backdrop-filter: blur(10px);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(30, 58, 138, 0.1);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .nav-toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .nav-toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero responsive */
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-cta {
        font-size: 1.1rem;
        padding: 15px 35px;
    }

    /* Section responsive */
    .section-title {
        font-size: 2rem;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    .intro-content p {
        font-size: 1.1rem;
    }

    /* Grid responsive */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .services-list {
        grid-template-columns: 1fr;
    }

    /* Contact responsive */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo-name {
        justify-content: center;
    }

    /* Padding adjustments for mobile */
    .section:not(.hero-section) {
        padding: 3rem 0;
    }

    .services-overview, .values {
        padding: 2rem;
    }

    .service-category {
        padding: 2rem;
    }

    .project-content {
        padding: 2rem;
    }
}

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-title {
        font-size: 3rem;
    }

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

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

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

/* Large screen optimizations */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .service-category,
    .project-item,
    .office,
    .contact-form {
        padding: 1.5rem;
    }

    .nav-logo h1 {
        font-size: 1.2rem;
    }

    .section {
        padding: 1rem 0;
    }
}
/* Taşmayı engelle */
body, html {
  overflow-x: hidden;
}

/* Box sizing tüm elemanlarda */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Uzun metin taşmasın */
p, h2, h3, li {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Container genişliği mobil için */
.container {
  max-width: 100%;
  padding: 0 1rem;
}

/* Flex kutular için */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.value-item {
  flex: 1 1 45%;
  min-width: 250px;
}