/* Component Styles */

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2a9d8f;
}

header .nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

header .nav-menu a {
  font-weight: 500;
  transition: color 0.3s;
}

header .nav-menu a:hover {
  color: #2a9d8f;
}

header .mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  header .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background-color: white;
    padding: 2rem;
    gap: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s;
  }

  header .nav-menu.active {
    left: 0;
  }

  header .mobile-toggle {
    display: block;
  }
}

/* Footer Styles */
footer {
  background-color: #264653;
  color: white;
  padding: 3rem 2rem 2rem;
}

footer .footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  transition: color 0.3s;
}

footer a:hover {
  color: #2a9d8f;
}

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

/* Card Component */
.card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-body {
  padding: 1.5rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s;
  text-align: center;
}

.btn-primary {
  background-color: #2a9d8f;
  color: white;
}

.btn-primary:hover {
  background-color: #238276;
}

/* Section Styles */
section {
  margin-bottom: 4rem;
}

section h2 {
  color: #264653;
}

/* Image Wrapper */
.img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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