/* CSS Variables for better maintainability */
:root {
  --primary-color: #ffffff;
  --secondary-color: #220135;
  --accent-color: #f3f1f3;
  --text-dark: #ebe1e1;
  --text-light: #fff;
  --bg-light: #f7f7f7;
  --bg-white: #fff;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-heavy: rgba(0, 0, 0, 0.4);
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 8px;
  --border-radius-large: 20px;
  --header-height: 90px;
  
  /* Responsive font sizes */
  --font-size-xs: clamp(0.75rem, 2vw, 0.875rem);
  --font-size-sm: clamp(0.875rem, 2.5vw, 1rem);
  --font-size-md: clamp(1rem, 3vw, 1.125rem);
  --font-size-lg: clamp(1.125rem, 3.5vw, 1.25rem);
  --font-size-xl: clamp(1.25rem, 4vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 5vw, 2rem);
  --font-size-3xl: clamp(2rem, 6vw, 2.5rem);
  
  /* Responsive spacing */
  --spacing-xs: clamp(0.25rem, 1vw, 0.5rem);
  --spacing-sm: clamp(0.5rem, 1.5vw, 0.75rem);
  --spacing-md: clamp(0.75rem, 2vw, 1rem);
  --spacing-lg: clamp(1rem, 2.5vw, 1.5rem);
  --spacing-xl: clamp(1.5rem, 3vw, 2rem);
  --spacing-2xl: clamp(2rem, 4vw, 3rem);
}

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: var(--primary-color);
  color: var(--text-dark);
  overflow: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100vh;
}



/* Verimlilik sayfası açıldığında body scroll'u etkinleştir */
body.verimlilik-open {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
}

/* Hakkımızda sayfası açıldığında body scroll'u etkinleştir */
body.hakkimizda-open {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
}

/* Kurumsal sayfası açıldığında body scroll'u etkinleştir */
body.kurumsal-open {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
}

/* Özel proje sayfası açıldığında body scroll'u etkinleştir */
body.ozel-proje-open {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
}

/* Header styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xl) var(--spacing-2xl);
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #f8d302 100%) !important;
  box-shadow: 0 2px 8px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Logo styles */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--border-radius);
  cursor: pointer;
  position: relative;
  z-index: 20;
  min-width: 120px;
  min-height: 60px;
}

.logo-image {
  height: 60px;
  width: auto;
  filter: brightness(1.1) contrast(1.1);
}

/* Navigation styles */
.nav-links {
  display: flex;
  gap: var(--spacing-2xl);
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: var(--transition-fast);
  font-size: var(--font-size-md);
  position: relative;
}

.nav-links a:hover {
  color: #e3f2fd;
}

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

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

/* Main sections container */
.main-sections {
  display: flex;
  flex-direction: row;
  height: calc(100vh - var(--header-height));
  margin: 0;
  padding: 0;
  width: 100vw;
  overflow: hidden;
  margin-top: var(--header-height);
}

/* Section base styles */
.section {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Content items ve background canvas artık ayrı dosyalarda */

/* Content specific styles artık content-items.css dosyasında */

/* Hover content artık content-items.css dosyasında */

/* Responsive Design */
@media (max-width: 1400px) {
  .main-sections {
    flex-direction: column;
    margin-top: var(--header-height);
  }
}

@media (max-width: 1200px) {
  .header {
    padding: var(--spacing-lg) var(--spacing-xl);
  }
  
  .logo {
    padding: var(--spacing-md) var(--spacing-lg);
    justify-content: flex-start;
  }
  
  .logo-image {
    height: 40px;
  }
  
  .nav-links {
    gap: var(--spacing-xl);
  }
  
  .nav-links a {
    font-size: var(--font-size-sm);
  }
  
  .main-sections {
    height: calc(100vh - 80px);
    margin-top: 80px;
  }
}







/* Close button styles */
.close-button {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-light);
  font-size: var(--font-size-xl);
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: 50%;
  transition: var(--transition-fast);
  z-index: 1000;
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Fallback content styles */
.fallback-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: var(--spacing-2xl);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
}

.fallback-content h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-lg);
  font-weight: 700;
}

.fallback-content p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  line-height: 1.6;
}

.fallback-content button {
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--text-light);
  color: var(--primary-color);
  border: none;
  border-radius: var(--border-radius);
  font-size: var(--font-size-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-medium);
  box-shadow: 0 4px 16px var(--shadow-medium);
}

.fallback-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-heavy);
}

/* Animation preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .content-item:hover {
    transform: none;
  }
} 

 