html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  transition: all 0.3s ease;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background-color: var(--primary-color);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  opacity: 0.9;
}

.min-vh-80 {
  min-height: 80vh;
}

.hero-image-container {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.code-icon, .data-icon, .mobile-icon, .cloud-icon {
  position: absolute;
  font-size: 2.5rem;
  color: var(--accent-color);
  animation: float 3s ease-in-out infinite;
}

.code-icon {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.data-icon {
  top: 60%;
  left: 30%;
  animation-delay: 0.5s;
}

.mobile-icon {
  top: 30%;
  right: 25%;
  animation-delay: 1s;
}

.cloud-icon {
  top: 70%;
  right: 20%;
  animation-delay: 1.5s;
}

.tech-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.tech-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  transition: transform 0.3s ease;
}

.tech-icon-wrapper:hover {
  transform: scale(1.1);
}

.tech-icon-wrapper i {
  color: var(--accent-color);
}

.tech-icon-wrapper span {
  font-size: 0.9rem;
  font-weight: 500;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-image-container {
    height: 300px;
  }
  
  .tech-stack {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .tech-icon-wrapper {
    width: calc(50% - 1rem);
  }
}

.service-card {
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-custom {
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
  color: var(--text-color);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--accent-color);
}

.text-gray-color {
  color: var(--text-color);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 400px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
}

/* Aydınlık mod için özel stiller */
[data-bs-theme="light"] .text-gray-color {
    color: #666666 !important;
}

[data-bs-theme="light"] .service-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

[data-bs-theme="light"] .btn-custom {
    color: #FFFFFF;
}

[data-bs-theme="light"] .section-title::after {
    background-color: var(--accent-light);
}

/* Karanlık mod için özel stiller */
[data-bs-theme="dark"] .text-gray-color {
    color: rgba(255,255,255,0.7) !important;
}

[data-bs-theme="dark"] .service-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

[data-bs-theme="dark"] .btn-custom:hover {
    color: #FFFFFF;
}

/* Logo stilleri */
.navbar-brand img {
    transition: filter 0.3s ease;
}

[data-bs-theme="light"] .navbar-brand img {
    filter: brightness(0); /* Logo siyah olacak */
}

[data-bs-theme="dark"] .navbar-brand img {
    filter: brightness(100); /* Logo beyaz olacak */
}

/* Hero section renk ayarları */
[data-bs-theme="light"] .hero-title {
    color: var(--text-light);
}

[data-bs-theme="light"] .hero-text {
    color: var(--text-light);
    opacity: 0.8;
}

[data-bs-theme="dark"] .hero-title {
    color: var(--text-dark);
}

[data-bs-theme="dark"] .hero-text {
    color: var(--text-dark);
    opacity: 0.8;
}

/* İstatistik kartları için stiller */
.stat-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.stat-circle::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

.stat-number {
    position: relative;
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: bold;
}

/* Sertifika listesi için stiller */
.certificate-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certificate-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--text-color), 0.1);
    display: flex;
    align-items: center;
}

.certificate-list li:last-child {
    border-bottom: none;
}

/* Partner logoları için hover efekti */
.card .fab {
    transition: transform 0.3s ease;
}

.card .fab:hover {
    transform: scale(1.1);
}

/* İnovasyon grafiği için stiller */
.innovation-graphic {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-circles {
    position: relative;
    width: 300px;
    height: 300px;
}

.circle-icon {
    position: absolute;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.circle-icon.brain {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s ease-in-out infinite;
}

.circle-icon.gear {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: float 3s ease-in-out infinite 0.5s;
}

.circle-icon.chip {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s ease-in-out infinite 1s;
}

.circle-icon.network {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: float 3s ease-in-out infinite 1.5s;
}

/* Özellik listesi için stiller */
.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(var(--accent-color), 0.1);
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-text {
    flex: 1;
}

.feature-text h5 {
    color: var(--text-color);
    margin: 0;
}

.feature-text p {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .innovation-graphic {
        height: 300px;
    }
    
    .tech-circles {
        width: 250px;
        height: 250px;
    }
    
    .circle-icon {
        font-size: 1.5rem;
        padding: 15px;
    }
}

/* About hero section için tema bazlı stiller */
.about-hero {
    position: relative;
    transition: all 0.3s ease;
}

[data-bs-theme="light"] .about-hero {
    background-color: var(--primary-light);
    color: var(--text-light);
}

[data-bs-theme="dark"] .about-hero {
    background-color: var(--primary-dark);
    color: var(--text-dark);
}

[data-bs-theme="light"] .about-hero h1,
[data-bs-theme="light"] .about-hero p {
    color: var(--text-light);
}

[data-bs-theme="dark"] .about-hero h1,
[data-bs-theme="dark"] .about-hero p {
    color: var(--text-dark);
}