/* Alat Design - Custom Styles */

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --text-color: #333;
  --light-bg: #f8f9fa;
  --dark-bg: #2c3e50;
  --max-width: 1140px;
}

* {
  scroll-behavior: smooth;
}

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

/* General Link Styles */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}


a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Navigation */
.navbar-custom {
  background-color: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff !important;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

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

/* Section Styling */
.section-wrapper {
  width: 100%;
  position: relative;
}

.section-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 80px 0;
}

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

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

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 50px;
}

/* Hero Section */
#hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero::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 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

#hero .section-content {
  position: relative;
  z-index: 1;
}

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

#hero .lead {
  font-size: 1.3rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s both;
}

#hero .btn-hero {
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.4s both;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
#about {
  background-color: #fff;
}

/* Services Section */
#services {
  background-color: var(--light-bg);
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 20px;
}

.service-icon i {
  font-size: 2.2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Portfolio Section */
#portfolio {
  background-color: #fff;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
  cursor: pointer;
  height: 300px;
  background-color: #ddd;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.9), rgba(231, 76, 60, 0.9));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

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

.portfolio-overlay h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Contact Section */
#contact {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

#contact .section-title {
  color: white;
}

#contact .section-title::after {
  background: white;
}

#contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

#contact a:visited {
  color: rgba(255, 255, 255, 0.7);
}

#contact a:hover {
  color: white;
}

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

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.contact-item {
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.3rem;
  margin-right: 10px;
  color: var(--secondary-color);
  width: 25px;
  display: inline-block;
}

/* Footer */
footer {
  background-color: #1a252f;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 20px;
}

footer h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
}

footer h5 i {
  margin-right: 8px;
  color: var(--secondary-color);
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:visited {
  color: rgba(255, 255, 255, 0.5);
}

footer a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

footer ul li a i {
  font-size: 0.8rem;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

footer ul li a:hover i {
  transform: translateX(3px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.5rem;
  }

  #hero .lead {
    font-size: 1.1rem;
  }

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

  section {
    padding: 60px 0;
  }

  .service-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  #hero h1 {
    font-size: 2rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

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

/* Buttons */
.btn-primary-custom {
  background: var(--secondary-color);
  border: none;
  color: white;
  font-weight: 600;
}

.btn-primary-custom:hover {
  color: var(--light-bg);
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-outline-custom {
  border: 2px solid white;
  color: white;
  font-weight: 600;
}

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

.btn i {
  margin-right: 8px;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}