/*    H E A D E R    */

/* Fixed Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--clr-background-1);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 253, 247, 0.98);
  backdrop-filter: blur(10px);
}

.header_logo_wrapper {
  height: 8rem;
  transition: all 0.3s ease;
}

header.scrolled .header_logo_wrapper {
  height: 6rem;
}

.header_logo_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Header Icons & Buttons */
header .btn,
header a {
  transition: all 0.3s ease;
}

header .btn:hover,
header a:hover {
  color: var(--clr-primary-800);
  transform: translateY(-2px);
}

header .dropdown-toggle::after {
  transition: transform 0.3s ease;
}

header .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Language Dropdown */
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.8rem 1.5rem;
  transition: all 0.3s ease;
  font-size: 1.4rem;
}

.dropdown-item:hover {
  background-color: var(--clr-primary-100);
  color: var(--clr-primary-900);
  padding-left: 2rem;
}

/* Header Search Form */
.header_search_form {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  border: 2px solid var(--clr-primary-200);
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  max-width: 500px;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header_search_form:hover,
.header_search_form:focus-within {
  border-color: var(--clr-primary-500);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header_search_form i {
  color: var(--clr-primary-600);
  font-size: 1.6rem;
}

.header_search_form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.4rem;
  color: var(--clr-black);
  background: transparent;
}

.header_search_form input::placeholder {
  color: #999;
}

.header_search_form .search_btn {
  background: linear-gradient(135deg, var(--clr-primary-600) 0%, var(--clr-primary-700) 100%);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.header_search_form .search_btn:hover {
  background: linear-gradient(135deg, var(--clr-primary-700) 0%, var(--clr-primary-800) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}


/* Navigation */
nav.header_navbar {
  transition: all 0.3s ease;
}

nav.header_navbar ul li a {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* nav ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(54, 214, 49, 0.2), transparent);
  transition: left 0.5s ease;
}

nav ul li a:hover::before {
  left: 100%;
} */

nav.header_navbar ul li a:hover {
  background-color: var(--clr-green-500);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(54, 214, 49, 0.3);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background-color: var(--clr-primary-800);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 75px;
  right: -100%;
  width: 320px;
  height: calc(100dvh - 75px);
  background: white;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  padding: 0;
  transition: right 0.4s ease;
  z-index: 999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav.active {
  right: 0;
}

/* Mobile Nav User Section */
.mobile-nav-logged-in .mobile-nav-user {
  background: linear-gradient(135deg, #FF9B7A 0%, #FFB199 100%);
  border-radius: 0 0 20px 20px;
  padding: 2.5rem 2rem 2rem;
  /* display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto; */
  display: flex;
  gap: 1.4rem;
  align-items: center;
  margin-bottom: 0;
  position: relative;
}

.mobile-nav-user-avatar {
  grid-row: 1 / 3;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-nav-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-nav-user-info {
  grid-column: 2;
  grid-row: 1;
  color: var(--clr-background-1);
}

.mobile-nav-user-info h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 0.3rem 0;
}

.mobile-nav-user-info p {
  font-size: 1.2rem;
  margin: 0;
}

/* Mobile Nav Logo */
.mobile-nav-logo {
  text-align: center;
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav-logo img {
  max-width: 140px;
  height: auto;
}

/* Mobile Nav Links */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  padding: 0;
}

.mobile-nav-links a {
  display: block;
  padding: 1.8rem 2rem;
  color: var(--clr-black);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav-links a:hover {
  background-color: rgba(255, 155, 122, 0.1);
}

/* Mobile Nav Logout */
.mobile-nav-logout {
  display: block;
  text-align: center;
  padding: 1.8rem 2rem;
  color: #dc3545;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.mobile-nav-logout:hover {
  background-color: rgba(220, 53, 69, 0.05);
}

/* Mobile Nav Social */
.mobile-nav-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.mobile-nav-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-black);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-nav-social a:hover {
  background: #333;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Spacer for fixed header */
.header-spacer {
  height: 120px;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .header-spacer {
    height: 100px;
  }
  
  .header_logo_wrapper {
    height: 6rem;
  }
  
  .header_search_form {
    display: none;
  }
  
  nav.header_navbar {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
}

@media screen and (max-width: 768px) {
  .header-spacer {
    height: 90px;
  }
  
  .header_logo_wrapper {
    height: 5rem;
  }
  
  header.scrolled .header_logo_wrapper {
    height: 4.5rem;
  }
  
  .mobile-nav {
    width: 300px;
  }
  
  header .d-flex.align-items-center.gap-2 {
    gap: 0.5rem !important;
  }
  
  header .btn,
  header a {
    font-size: 1.3rem !important;
    padding: 0.5rem !important;
  }
}

@media screen and (max-width: 480px) {
  .mobile-nav {
    width: 100%;
  }
  
  .header_logo_wrapper {
    height: 4.5rem;
  }
}






/*    F O O T E R    */
.homeFooter {
  /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
  margin-top: 8rem;
  position: relative;
}

.homeFooter_backdrop {
  backdrop-filter: blur(2px);
  background-color: rgba(250, 250, 250, 0.5);
  padding-top: 6rem;
}

.homeFooter_content {
  position: relative;
  z-index: 1;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
}

/* Email Form */
.footer-email-form {
  margin-top: 2rem;
}

.footer-email-wrapper {
  display: flex;
  gap: 0;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-email-wrapper input {
  width: 100%;
  flex: 1;
  padding: 1.2rem 1.5rem;
  border: none;
  outline: none;
  font-size: 1.4rem;
  color: var(--clr-black);
}

.footer-email-wrapper input::placeholder {
  color: #999;
}

.footer-email-btn {
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  color: white;
  border: none;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-email-btn:hover {
  background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Navigation */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-nav-list a {
  color: #333;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: #FF6B35;
  transform: translateX(5px);
}

/* Contact */
.footer-contact-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-black);
  margin-bottom: 2rem;
}

.footer-contact-info {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  color: #333;
}

.footer-contact-item i {
  font-size: 1.6rem;
  color: #FF6B35;
  width: 24px;
  text-align: center;
}

.footer-contact-item a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: #FF6B35;
}

/* Social Media */
.footer-social {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-social a:hover {
  background: #FF6B35;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Copyright */
.footer-copyright {
  margin-top: 4rem;
  padding-block: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: var(--clr-primary-300);
  text-align: center;
}

.footer-copyright p {
  font-size: 1.3rem;
  color: #666;
  margin: 0;
}

.footer-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: rgba(50, 50, 50, 0.2);
  backdrop-filter: blur(3px);
  position: absolute;
  top: 0;
  left: 0;
  /* z-index: -1; */
}

/* Responsive */
@media screen and (max-width: 768px) {
  .homeFooter {
    /* padding-block: 4rem 2rem; */
    margin-top: 4rem;
  }
  
  .footer-logo img {
    max-width: 150px;
  }
  
  .footer-nav-list {
    gap: 1.2rem;
  }
  
  .footer-nav-list a {
    font-size: 1.4rem;
  }
  
  .footer-contact-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-social {
    gap: 1.2rem;
  }
  
  .footer-social a {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
  
  .footer-copyright {
    margin-top: 3rem;
  }
}
