/* Custom CSS Variables */
:root {
  --primary-color: #fbe3b9;
  --secondary-color: #0d5969;
  --accent-color: #ffffff;
  --text-light: #cccccc;
  --text-dark: #333333;
  --gradient-primary: linear-gradient(135deg, #fbe3b9 0%, #f5d49a 100%);
  --gradient-dark: linear-gradient(135deg, #003d4a 0%, #005667 100%);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

.section-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Navigation */
.navbar {
  background: transparent;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  min-height: 72px; 
}

.navbar-scrolled {
  background: rgba(0, 86, 103, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 86, 103, 0.3);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.brand-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.logo-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-icon {
  display: flex;
  justify-content: center;
  height: 64px;
  width: 64px;
  min-width: 87px;
  min-height: 100px;
  max-width: 72px;
  max-height: 72px;
  overflow: hidden;
  background: transparent;
  border-radius: 12px;
  padding: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 2px;
  margin-top: -5px;
}

.navbar-nav .nav-link {
  color: var(--accent-color) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  position: relative;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(45deg, rgba(0, 86, 103, 0.8) 0%, rgba(0, 61, 74, 0.6) 100%); */
  background: rgba(0,0,0,0.15); /* Daha şeffaf veya tamamen kaldırmak için: background: none; */
  z-index: -1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
  background: var(--gradient-primary);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s ease;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(251, 227, 185, 0.3);
}

.hero-bg-img {
  max-width: 40vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
}

/* About Section */
.about-section {
  background: var(--secondary-color);
  color: var(--accent-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 86, 103, 0.3);
}

.stats-row {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, #003d4a 0%, #005667 100%);
  color: var(--accent-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 227, 185, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
}

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

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(251, 227, 185, 0.2);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Projects Section */
.projects-section {
  background: var(--secondary-color);
  color: var(--accent-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.projects-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.projects-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 86, 103, 0.8) 0%, rgba(251, 227, 185, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.projects-content {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.projects-item:hover .projects-content {
  transform: translateY(0);
}

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

.projects-content h5 {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.projects-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #003d4a 0%, #005667 100%);
  color: var(--accent-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(251, 227, 185, 0.3);
  border-radius: 8px;
  color: var(--accent-color);
  padding: 0.8rem 1rem;
}

.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(251, 227, 185, 0.25);
  color: var(--accent-color);
}

.contact-form .form-control::placeholder {
  color: var(--text-light);
}

.contact-info {
  padding-left: 2rem;
}

.contact-info h4 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.3rem;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 1rem;
  margin-top: 0.2rem;
}

.contact-item h6 {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(251, 227, 185, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #003d4a;
  color: var(--text-light);
  text-align: center;
  min-height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stats-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-info {
    padding-left: 0;
    margin-top: 2rem;
  }
  
  .navbar-brand {
    align-items: center;
  }
  
  .about-section,
  .services-section,
  .projects-section,
  .contact-section {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .navbar {
    min-height: 56px;
    padding: 0.25rem 0;
  }
  .logo-icon {
    height: 44px;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 48px;
    max-height: 48px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}

/* Button Styles */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(251, 227, 185, 0.4);
}

.btn-outline-light {
  border-color: var(--accent-color);
  color: var(--accent-color);
  font-weight: 500;
}

.btn-outline-light:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--secondary-color);
}
