/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --primary: #023E8A;
  --secondary: #00B4D8;
  --accent: #48CAE4;
  --dark: #03045E;
  --light: #F8F9FA;
  --white: #FFFFFF;
}

body {
  font-family: 'Outfit', sans-serif;
  color: #333;
  overflow-x: hidden;
  background-color: var(--light);
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 800;
  color: var(--primary) !important;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.navbar-brand i {
  color: var(--secondary);
}

.nav-link {
  font-weight: 600;
  color: var(--dark) !important;
  position: relative;
  padding: 5px 15px !important;
  margin: 0 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 15px;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: 0.3s;
}

.nav-link:hover::after {
  width: calc(100% - 30px);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border: none;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 25px;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  color: #fff !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.6);
  color: #fff !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Offset for fixed navbar */
}

.hero-slide-1 {
  background: linear-gradient(to right, rgba(3, 4, 94, 0.85), rgba(2, 62, 138, 0.7)), url('../images/hero.png') no-repeat center center/cover;
}

.hero-slide-2 {
  background: linear-gradient(to right, rgba(3, 4, 94, 0.85), rgba(2, 62, 138, 0.7)), url('../images/car.png') no-repeat center center/cover;
}

.hero-slide-3 {
  background: linear-gradient(to right, rgba(3, 4, 94, 0.85), rgba(2, 62, 138, 0.7)), url('../images/sofa.png') no-repeat center center/cover;
}

.hero-shape-divider {
  position: absolute;
  bottom: -150px;
  left: -5%;
  width: 110%;
  height: 210px;
  background: var(--light);
  transform: rotate(-3deg);
  transform-origin: left bottom;
  z-index: 5;
}

.carousel-indicators, .carousel-control-prev, .carousel-control-next {
  z-index: 6;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 40px;
  animation: fadeInUp 1.2s ease;
  opacity: 0.9;
}

.hero-buttons {
  animation: fadeInUp 1.4s ease;
}

.btn-outline-light {
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  border-width: 2px;
}

.custom-outline-btn {
  border-width: 2px;
  font-weight: 600;
  color: var(--primary);
  border-color: var(--primary);
  transition: all 0.3s ease;
}

.custom-outline-btn:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

/* Features */
.features-section {
  padding: 80px 0 50px;
  margin-top: -30px; /* pull up over the slanted edge */
  z-index: 10;
  position: relative;
}

.feature-box {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.4s;
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 100%;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--secondary) 0%, transparent 100%);
  opacity: 0.05;
  transition: 0.4s;
  z-index: -1;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-box:hover::before {
  height: 100%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  transition: 0.3s;
}

.feature-box:hover .feature-icon {
  background: var(--secondary);
  color: var(--white);
  transform: rotate(10deg) scale(1.1);
}

.feature-box h4 {
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 15px;
}

/* Services */
.services-section {
  padding: 80px 0;
  background: var(--light);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.service-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  transition: 0.3s;
  background: var(--white);
  height: 100%;
}

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

.service-img-wrapper {
  overflow: hidden;
  position: relative;
}

.service-card img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

.service-card .card-body {
  padding: 30px;
}

.service-card h5 {
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
}

.service-btn {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: 0.3s;
}

.service-btn i {
  margin-left: 5px;
  transition: 0.3s;
}

.service-btn:hover {
  color: var(--primary);
}

.service-btn:hover i {
  transform: translateX(5px);
}

/* CTA Section */
.cta {
  background: #f1f3f5;
  color: var(--dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.cta h2 {
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.cta p {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 20px;
}

.footer h5 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer p {
  line-height: 1.8;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: 0.3s;
  display: block;
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--white);
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
  padding-left: 0;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    text-align: center;
  }
  
  .hero-shape-divider {
    transform: rotate(-5deg);
  }
  
  .features-section {
    padding-top: 40px;
  }
}

/* Modern Mobile Collapse Menu (Dropdown) styling */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--white);
    margin-top: 15px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.03);
  }
  
  .navbar-nav .nav-item {
    margin-bottom: 5px;
  }
  
  .navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 12px 20px !important;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: 8px !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .navbar-nav .nav-link::after {
    display: none; /* Hide Desktop Line */
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:active {
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary) !important;
    transform: translateX(5px);
  }

  .navbar-toggler {
    border: none;
    box-shadow: none !important;
  }
}

/* Custom Navigation Buttons for Carousels */
.custom-nav-btn {
  background-color: var(--white) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  color: var(--primary) !important;
  transition: all 0.3s ease;
  top: 140px !important; /* Resimlerin üzerine denk gelmesi için */
  margin-top: 0 !important;
}

.custom-nav-btn:hover {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(2, 62, 138, 0.3);
}

.custom-nav-btn::after {
  font-size: 1.2rem !important;
  font-weight: 800;
}

.services-button-prev.custom-nav-btn {
  left: 10px !important;
}

.services-button-next.custom-nav-btn {
  right: 10px !important;
}
