/* Custom styles to complement Bootstrap */

/* General styles */
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
}

/* Hero section background */
#home {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1673&q=80') no-repeat center center;
  background-size: cover;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Hero image styles */
.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  border: 5px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Custom divider */
.divider-custom {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.divider-custom .divider-custom-line {
  width: 100%;
  max-width: 7rem;
  height: 0.25rem;
  background-color: #0d6efd;
  border-radius: 1rem;
  border-color: #0d6efd;
}

.divider-custom .divider-custom-line:first-child {
  margin-right: 1rem;
}

.divider-custom .divider-custom-line:last-child {
  margin-left: 1rem;
}

.divider-custom .divider-custom-icon {
  color: #0d6efd;
  font-size: 1.5rem;
}

/* Navbar styles */
.navbar {
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #0d6efd;
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

/* Form styles */
.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Card hover effects */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Footer styles */
footer a {
  transition: all 0.3s ease;
}

footer a:hover {
  color: #fff !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #home {
    min-height: 60vh;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .hero-image-container {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-image {
    max-width: 80%;
    margin: 0 auto;
    transform: rotate(0deg);
  }
}

@media (max-width: 576px) {
  #home {
    text-align: center;
  }
  
  .hero-image {
    max-width: 90%;
  }
  
  .justify-content-sm-start {
    justify-content: center !important;
  }
}
