/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800;900&display=swap");

/*=============== DESKTOP-ONLY ELEMENTS ===============*/
/* Hide mobile category buttons container on desktop */
.map-category-buttons {
  display: none;
}

/* Show desktop-only elements on desktop */
.desktop-only {
  display: block;
}

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 4rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --title-color: hsl(0, 0%, 100%);
  --text-color: hsl(0, 0%, 100%);
  --text-color-light: hsl(0, 0%, 100%);
  --body-color: hsl(220, 30%, 5%);
  --container-color: hsl(220, 25%, 8%);
  --accent-color: hsl(0, 0%, 60%);
  --accent-light: hsl(0, 0%, 70%);
  --gradient-primary: linear-gradient(135deg, hsl(0, 0%, 50%) 0%, hsl(0, 0%, 70%) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(128, 128, 128, 0.1) 0%, rgba(160, 160, 160, 0.1) 100%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Figtree", sans-serif;
  --second-font: "Figtree", sans-serif;
  --biggest-font-size: 3.5rem;
  --h1-font-size: 2rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: .875rem;
  --smaller-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-extra-bold: 800;
  --font-black: 900;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}


/*========== Responsive typography ==========*/
@media screen and (min-width: 1152px) {
  :root {
    --biggest-font-size: 6rem;
    --h1-font-size: 3rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1.125rem;
    --small-font-size: 1rem;
    --smaller-font-size: .875rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
}

body {
  background: var(--body-color);
  line-height: 1.6;
}

button,
input {
  outline: none;
  border: none;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-family: var(--body-font);
  font-weight: var(--font-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  margin-bottom: 1.5rem;
}

.main {
  overflow: hidden; /* For animation ScrollReveal */
}

/*=============== HEADER & NAV ===============*/
.header{
  position: fixed;
  width: 100%;
  background: rgba(220, 230, 240, 0.05);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav__auth {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

/* Navigation Auth Button */
.nav__auth .auth-btn {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  color: var(--title-color);
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  font-family: var(--body-font);
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  white-space: nowrap;
  min-width: auto;
}

.nav__auth .auth-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.15), 
    transparent);
  transition: left 0.5s ease;
}

.nav__auth .auth-btn:hover::before {
  left: 100%;
}

.nav__auth .auth-btn:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.1) 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  border-color: rgba(255, 255, 255, 0.3);
}

.nav__auth .auth-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.nav__auth .auth-btn:hover i {
  transform: scale(1.1);
}

.nav__auth .auth-btn:focus {
  outline: none;
  box-shadow: 
    0 0 0 3px rgba(255, 255, 255, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.nav__auth .auth-btn:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.15s ease;
}

/* Overlay Logo Styles */
.overlay-logo {
  position: fixed;
  top: 0rem;
  left: 2.5rem;
  z-index: 1001;
  transition: all 0.3s ease;
}

.overlay-logo-img {
  height: 70px;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

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

/* Remove old nav logo styles */


.nav__toggle,
.nav__close{
  display:flex;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}


/* Navigation for mobile devices */
@media screen and (max-width: 1023px){
  .nav__menu{
    position: fixed;
    top: -100%;
    left: 0;
    background: rgba(220, 230, 240, 0.1);
    backdrop-filter: blur(30px);
    width: 100%;
    padding-block: 5rem 3rem;
    transition: top 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav__list{
    flex-direction: column;
    row-gap: 2.5rem;
  }
  
  .nav__link {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .nav__auth {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1002;
    gap: 0.5rem;
    margin-left: 0;
  }
  
  .nav__auth .auth-btn {
    font-size: var(--smaller-font-size);
    padding: 0.625rem 1rem;
    border-radius: 20px;
    gap: 0.375rem;
  }
  
  .nav__auth .auth-btn i {
    font-size: 0.875rem;
  }
  
  .user-profile {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }
  
  .user-name {
    font-size: var(--small-font-size);
    display: none; /* Hide username on very small screens */
  }
  
  .user-profile .auth-btn {
    width: 2rem;
    height: 2rem;
    padding: 0.5rem;
    margin-left: 0.5rem;
  }
  
  .user-profile .auth-btn i {
    font-size: 0.875rem;
  }
}


.nav__list{
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.nav__link{
  position: relative;
  color: hsl(0, 0%, 100%);
  font-family: var(--body-font);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav__link:hover {
  color: var(--accent-color);
  background: rgba(128, 128, 128, 0.1);
}

.nav__link::after{
  content: '';
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

.nav__link:hover::after{
  width: 100%;
}

/* Active link */
.active-link {
  color: var(--accent-color);
}

.nav__close{
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Show menu */
.show-menu{
  top: 0;
}

/* Add blur to header */
.blur-header {
  background: rgba(220, 230, 240, 0.1);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/*=============== HOME ===============*/
.home{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg,
      rgba(0, 0, 0, 0.05) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.05) 100%);
  z-index: 0;
  pointer-events: none;
}

.home__bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  filter: brightness(0.85) contrast(1.05) saturate(1.1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.home:hover .home__bg {
  filter: brightness(0.9) contrast(1.1) saturate(1.15);
  transform: scale(1.02);
}

.home__shadow{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.2) 25%,
      rgba(0, 0, 0, 0.35) 75%,
      rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.1) 0%,
      transparent 30%,
      transparent 60%,
      rgba(0, 0, 0, 0.4) 80%,
      rgba(0, 0, 0, 0.7) 100%),
    radial-gradient(ellipse at center,
      transparent 40%,
      rgba(0, 0, 0, 0.15) 100%);
  z-index: -1;
  box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.2);
}


.home__container{
  position: relative;
  padding-top: 8rem;
  row-gap: 4rem;
  z-index: 1;
}

.home__data{
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.home__data::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  right: -2rem;
  bottom: -2rem;
  background: radial-gradient(ellipse at center,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    transparent 100%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
}

.home__subtitle{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: hsl(0, 0%, 100%);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5),
              0 4px 8px rgba(0, 0, 0, 0.3);
}

.home__title{
  font-size: var(--biggest-font-size);
  font-family: var(--body-font);
  font-weight: var(--font-black);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: hsl(0, 0%, 100%);
  opacity: 0;
  animation: fadeInUp 1s ease 0.7s forwards;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6),
              0 8px 16px rgba(0, 0, 0, 0.4),
              0 2px 4px rgba(0, 0, 0, 0.8);
}

.home__description{
  font-size: var(--normal-font-size);
  color: var(--text-color);
  margin-bottom: 3rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7),
              0 1px 2px rgba(0, 0, 0, 0.9);
}

.home__cards{
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 1s ease 1.1s forwards;
}

.home__card{
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  min-height: 300px;
}

.home__card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(128, 128, 128, 0.3);
  box-shadow: 0 20px 40px rgba(128, 128, 128, 0.2);
}

.home__card-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home__card-shadow{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(180deg,
              transparent 0%,
              rgba(0, 0, 0, 0.3) 50%,
              rgba(0, 0, 0, 0.8) 100%);
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.home__card:hover .home__card-shadow {
  opacity: 0.5;
}

.home__card-title{
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  font-size: var(--h3-font-size);
  font-family: var(--body-font);
  font-weight: var(--font-bold);
  color: var(--title-color);
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease 1.3s forwards;
}

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

/* Home card link styles */
.home__card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
}

.home__card-link:hover,
.home__card-link:focus,
.home__card-link:active,
.home__card-link:visited {
  text-decoration: none;
  color: inherit;
  outline: none;
}

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



/*=============== BUTTON ===============*/
.button{
  background: var(--gradient-primary);
  padding: 1rem 2.5rem;
  color: var(--title-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.75rem;
  font-family: var(--body-font);
  font-weight: var(--font-semi-bold);
  font-size: var(--normal-font-size);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(128, 128, 128, 0.3);
  opacity: 0;
  animation: fadeInUp 1s ease 1.1s forwards;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(128, 128, 128, 0.4);
}

.button i{
  font-size: 1.25rem;
  transition: transform 0.4s ease;
  font-weight: initial;
}

.button:hover i{
  transform: translateX(0.5rem);
}
/*=============== ABOUT ===============*/
.about__container{
  row-gap: 3rem;
}

.about__data{
  text-align: center;
}

.about__description{
  margin-bottom: 2rem;
}

.about__image{
  position: relative;
  justify-self: center;
  overflow: hidden;
}

.about__img{
  width: 300px;
  transition: transform .4s;
}

.about__shadow{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.about__image:hover .about__img{
  transform: scale(1.2);
}

/*=============== POPULAR ===============*/
 .popular__container{
  padding-top: 1.5rem;
  grid-template-columns: 240px;
  justify-content: center;
  row-gap: 2.5rem;
  }
  
  .popular__image{
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
  }
  
  .popular__img{
    transition: transform .4s;
  }
  
  .popular__shadow{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
    hsla(0, 0%, 0%, 0) 50%,
    hsl(0, 0%, 0%) 125%);
  }
  
  .popular__title{
    font-size: var(--h3-font-size);
    margin-bottom: .5rem;
  }

  .popular__location{
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    font-size: var(--small-font-size);
    font-family: var(--body-font);
    font-weight: 500;
  }
  

.popular__location i{
font-size: 1rem;
}

.popular__image:hover .popular__img{
  transform: scale(1.2);
}



/*=============== EXPLORE ===============*/
.explore{
  position: relative;
}

.explore__image{
  position: absolute;
  overflow: hidden;
}


.explore__img{
  width:100%;
  height: 333px;
  object-fit: cover;
  object-position: center;
}

.explore__shadow{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsl(0, 0%, 0%) 5%,
              hsla(0, 0%, 0%, 0) 40%,
              hsla(0, 0%, 0%, 0) 60%,
              hsl(0, 0%, 0%) 92%);
}

.explore__content{
  position: relative;
  padding-top: 16rem;
  text-align: center;
  row-gap: 2.5rem;
}


.explore__user{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: .5rem;
}


.explore__perfil{
  width: 30px;
  border-radius: 50%;
}

.explore__name{
  font-size: var(--small-font-size);
  color:var(--title-color);
}





/*=============== JOIN ===============*/

.join__container{
  row-gap: 3rem;
  padding-bottom: 2.5rem;
}


.join__data{
  text-align: center;
}


.join__description{
  margin-bottom: 2rem;
}

.join__form{
  display: grid;
  row-gap: 1rem;

}

.join__input{
  padding: 1.25rem 1rem;
  background-color: var(--container-color);
}


.join__button{
  cursor: pointer;
}


.join__image{
  position: relative;
  justify-self: center;
  overflow: hidden;
}


.join__img{
  width: 300px;
  transition: transform .4s;
}

.join__shadow{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
  hsla(0, 0%, 0%, 0) 50%,
  hsl(0, 0%, 0%) 125%);
}

.join__image:hover .join__img{
  transform: scale(1.2);
}

/*=============== CONTACT ===============*/
.contact__container {
  row-gap: 3rem;
}

.contact__data {
  text-align: center;
  margin-bottom: 2rem;
}

.contact__description {
  color: var(--text-color);
  margin-bottom: 2rem;
}

.contact__content {
  max-width: 800px;
  margin: 0 auto;
}

.contact__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact__card {
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.contact__card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(128, 128, 128, 0.2);
}

.contact__icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: block;
}

.contact__title {
  font-size: var(--h3-font-size);
  font-family: var(--body-font);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.contact__details {
  color: var(--text-color);
  font-size: var(--normal-font-size);
}



/*=============== FOOTER ===============*/

.footer{
  padding-block: 2.5rem;
  background-color: var(--container-color);
}

.footer__content{
  row-gap: 3.5rem;
}


.footer__logo{
  display: inline-block;
  color: var(--title-color);
  font-size: var(--h2-font-size);
  font-family: var(--body-font);
  font-weight: var(--font-extra-bold);
  margin-bottom: 1rem;
}


.footer__data{
  grid-template-columns: repeat(2, max-content);
  gap: 2.5rem 3.5rem;
}


.footer__title{
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.footer__links{
  display: grid;
  row-gap: .75rem;
}

.footer__link{
  color: var(--text-color);
  transition: color .4s;
}


.footer__link:hover{
  color: var(--title-color);
}

.footer__group,
.footer__social{
  display: flex;
}

.footer__group{
  margin-top: 5rem;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}


.footer__social{
  column-gap: 1.5rem;
}

.footer__social-link{
  color: var(--text-color);
  font-size: 1.25rem;
  transition: color .4s, transform .4s;
}

.footer__social-link:hover{
  color: var(--title-color);
  transform: translateY(-.25rem);
}

.footer__copy{
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  text-align: center;
}




/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(0, 0%, 10%);
}

::-webkit-scrollbar-thumb{
  border-radius: .5rem;
  background-color: hsl(0, 0%, 20%);
}

::-webkit-scrollbar-thumb:hover{
  background-color: hsl(0, 0%, 30%);
}


/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: -50%rem;
  background-color: hsla(0, 0%, 100%, .1);
  padding: 6px;
  display: inline-flex;
  color: var(--title-color);
  font-size: 1.25rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover{
  transform: translateY(-.25rem);
}
/* Show Scroll Up */

.show-scroll{
  bottom: 3rem;
}



/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px){
  .container{
    margin-inline: 1rem;
  }
  .footer__data{
    grid-template-columns: max-content;
  }
  
  .overlay-logo {
    top: 0.5rem;
    left: 1rem;
  }
  
  .overlay-logo-img {
    height: 60px;
  }
}


/* For medium devices */
@media screen and (min-width: 576px){
  .home__container,
  .about__container,
  .explore__container,
  .join__container{
    grid-template-columns: 1fr;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .home__data {
    max-width: 500px;
  }
  
  .home__cards{
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .footer__data{
    grid-template-columns: repeat(3, max-content);
  }
}
  
@media screen and (min-width: 768px){
  .home__cards{
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 600px;
  }
  
  .home__card {
    min-height: 280px;
  }

  .about__container,
  .join__container{
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
  }

  .about__data,
  .about__data .section__title,
  .join__data,
  .join__data .section__title{
    text-align: initial;
  }

  .popular__container{
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .explore__img{
    width: 100vw;
    height: 500px;
  }
  
  .join__image{
    order: -1;
  }

  .footer__content{
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
  
  .footer__group{
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer__copy{
    order: -1;
  }
}

/* For large devices */
@media screen and (min-width: 1023px){
  .nav__close,
  .nav__toggle{
    display: none;
  }
  
  .nav__list{
    flex-direction: row;
    column-gap: 3rem;
  }
  
  .nav__link {
    padding: 0.75rem 1.5rem;
  }
  
  .nav__auth {
    position: static;
    margin-left: auto;
    gap: 1rem;
  }

  .popular__container{
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .footer__data{
    grid-template-columns: repeat(4, max-content);
    column-gap: 4.5rem;
  }
}

 @media screen and (min-width: 1152px){
  .container{
    margin-inline: auto;
  }

  .section{
    padding-block: 8rem 3rem;
  }

  .nav{
    height: calc(var(--header-height) + 1rem);
  }
  
  .nav__list{
    flex-direction: row;
    column-gap: 3rem;
  }
  
  .nav__link {
    padding: 0.75rem 1.5rem;
    font-size: var(--normal-font-size);
  }

  .home__container{
    grid-template-columns: 1fr;
    justify-content: center;
    row-gap: 6rem;
    padding-top: 8rem;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .home__data{
    max-width: 700px;
  }

  .home__subtitle{
    font-size: var(--h3-font-size);
    margin-bottom: 1.5rem;
  }
  
  .home__title {
    line-height: 1.1;
    margin-bottom: 2.5rem;
  }
  
  .home__description{
    font-size: var(--h3-font-size);
    margin-bottom: 3.5rem;
  }
  
  .home__cards{
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
  }
  
  .home__card{
    min-height: 350px;
    border-radius: 20px;
  }
  
  .home__card-title{
    left: 2.5rem;
    bottom: 2.5rem;
    font-size: var(--h2-font-size);
  }

  .botton{
    column-gap: 1.5rem;
  }

  .about__container{
    grid-template-columns: 400px 460px;
    column-gap: 8.5rem;
    padding-block: 1rem;
  }

  .about__description{
    margin-bottom: 3rem;
  }
  .about__img{
    width: 460px;
  }


  .popular__container{
   grid-template-columns: repeat(3, 300px);
   column-gap: 3rem;
   padding-top: 4rem;
 }

  .popular__title{
    font-size: var(--h2-font-size);
  }

  .popular__location{
    font-size: var(--normal-font-size);
  }

  .explore__img{
    height: 600px;
  }

  .explore__content{
    padding-top: 28rem;
    grid-template-columns: 670px 1fr;
  }

  .explore__data,
  .explore__data .section__title{
    text-align: initial;
  }

  .explore__user{
    justify-content: flex-end;
    align-self: flex-end;
    margin-bottom: 1.25rem;

  }

  .join__container{
    grid-template-columns: 460px 340px;
    column-gap: 8.5rem;
    padding-block: 1rem 5rem;
  }
  .join__img{
    width: 460px;
  }

  .join__description{
    margin-bottom: 3rem;
  }

  .footer{
    padding-block: 5rem 3rem;
  }

  .footer__title{
    margin-bottom: 1.5rem;
  }

  .footer__group{
    margin-top: 7rem;
  }
  .footer__social{
    column-gap: 2rem;
  }
  .footer__social-link{
    font-size: 1.5rem;
  }
  .scrollup{
    right: 3rem;
  }
}

/*=============== MODERN UTILITIES ===============*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-element {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

/* Enhanced Scroll Behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--body-color);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}


/*listing page*/
.list-container{
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.left-col{
  flex-basis: 70%;
}

.right-col{
  flex-basis: 25%;
}

.left-col h1{
  
  font-weight: 600;
  margin-bottom: 30px;
}

.house{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 30px 0;
  border-top: 1px solid #4e4e4e;
}

.house-img{
  flex-basis: 40%;
}

.house-info{
  flex-basis: 58%;
  color: hsl(0, 0%, 100%);
}

.house-img img{
  width: 100%;
  border-radius: 12px;
}

.house-info h3{
  font-weight: 600;
  font-size: 22px;
  margin: 4px 0;
}
.house-info i{
  color: hsl(0, 0%, 100%);
  font-size: 18px;
  margin: 10px 1px;
}

.house-price{
  text-align: right;
}

.house-price h4{
  font-size: 20px;
}

.house-price h4 span{
  font-size: 16px;
  font-weight: 500;
}

.sidebar{
  border: 1px solid #4e4e4e;
  padding: 20px 30px;
  margin-top: 30px;
}

.sidebar h2{
  font-weight: 500;
}

.sidebar h3{
  font-weight: 500;
  margin: 20px 0 10px;
}

.filter{
  display: flex;
  align-items: center;
  color: hsl(0, 0%, 100%);
  margin-bottom: 10px;
}

.filter p{
  flex: 1;
}

.filter input{
  margin-right: 15px;
  cursor: pointer;
}

.sidebar-link{
  text-align: right;
  margin: 20px 0;
}

.sidebar-link a{
  text-decoration: none;
  color: hsl(0, 0%, 100%);
}
 .pagination{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
 }

 .pagination img{
  width: 15px;
  margin: 10px 20px;
 }

 .right-arrow{
  transform: rotate(180deg);
 }

 .pagination span{
  margin: 10px 8px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
 }
 .pagination .current{
  background-color: var(--accent-color);
  color: hsl(0, 0%, 100%);
 }

 /*Smaller screen for listing page */
 @media only screen and (max-width: 700px){
  .list-container{
    margin-top: 150px;
  }
  .left-col,
  .right-col,
  .house-img,
  .house-info{
    flex-basis: 100%;
  }
  .left-col h1{
    font-size: 22px;
  }
  .house-info h3{
    font-size: 18px;
  }
  .house-info i{
    font-size: 16px;
  }
  .pagination span{
    margin: 10px 2px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
  }

 }

/*=============== AUTHENTICATION ===============*/
/* Login Button */
.auth-btn {
  background: linear-gradient(135deg, 
    var(--accent-color) 0%, 
    var(--accent-light) 50%, 
    var(--accent-color) 100%);
  color: var(--title-color);
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  font-family: var(--body-font);
  font-weight: var(--font-semi-bold);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 25px rgba(128, 128, 128, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  z-index: 2;
}

.auth-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.auth-btn:hover::before {
  left: 100%;
}

.auth-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(128, 128, 128, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  background: linear-gradient(135deg, 
    var(--accent-light) 0%, 
    var(--accent-color) 50%, 
    var(--accent-light) 100%);
}

.auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  background: rgba(128, 128, 128, 0.3);
}

/* User Profile */
.user-profile {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1002;
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--title-color);
  cursor: pointer;
  padding: 0.5rem 0.875rem;
  border-radius: 25px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.user-profile:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    rgba(255, 255, 255, 0.12) 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    var(--accent-color) 0%, 
    var(--accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: 0.875rem;
  color: var(--title-color);
  box-shadow: 0 4px 16px rgba(128, 128, 128, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(128, 128, 128, 0.4);
}

.user-name {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-name:hover {
  color: var(--accent-light);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Logout button in nav */
.user-profile .auth-btn {
  padding: 0.5rem;
  min-width: auto;
  gap: 0;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  margin-left: 0.5rem;
  background: linear-gradient(135deg, 
    rgba(220, 53, 69, 0.8) 0%, 
    rgba(220, 53, 69, 0.6) 100%);
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.user-profile .auth-btn:hover {
  background: linear-gradient(135deg, 
    rgba(220, 53, 69, 1) 0%, 
    rgba(220, 53, 69, 0.8) 100%);
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
}

.user-profile .auth-btn i {
  font-size: 0.75rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.8) 0%, 
    rgba(20, 20, 20, 0.9) 50%, 
    rgba(0, 0, 0, 0.8) 100%);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(15px);
  animation: modalFadeIn 0.4s ease-out;
}

.modal-content {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 50%, 
    rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(30px);
  border-radius: 24px;
  padding: 1.75rem 2rem;
  width: 90%;
  max-width: 420px;
  position: relative;
  border: 2px solid;
  border-image: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.4) 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.3) 100%) 1;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 2px 4px rgba(255, 255, 255, 0.1) inset;
  transform: scale(0.95);
  animation: modalSlideIn 0.4s ease-out forwards;
  overflow: hidden;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}

.modal-content::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, 
    rgba(255, 255, 255, 0.1) 0%, 
    transparent 70%);
  animation: liquidFloat 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  position: relative;
}

.modal-close::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.1) 100%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-close:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%, 
    rgba(255, 255, 255, 0.2) 100%);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.modal-close:hover::before {
  opacity: 1;
}

.modal-title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-extra-bold);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1.25rem;
  font-family: var(--body-font);
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, 
    var(--title-color) 0%, 
    var(--accent-light) 50%, 
    var(--title-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
}

/* Auth Forms */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
  z-index: 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  position: relative;
}

.form-label {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-left: 0.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-input {
  padding: 1rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.form-input::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent);
  transition: left 0.6s ease;
}

.form-input:hover::before {
  left: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(255, 255, 255, 0.08) 100%);
  box-shadow: 
    0 0 0 3px rgba(128, 128, 128, 0.2),
    0 8px 25px rgba(128, 128, 128, 0.1) inset;
  transform: translateY(-1px);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-weight: var(--font-regular);
  transition: color 0.3s ease;
}

.form-input:focus::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Google Sign In Button */
.google-btn {
  background: linear-gradient(135deg, 
    #ffffff 0%, 
    #f8f9fa 50%, 
    #ffffff 100%);
  color: #333333;
  border: 2px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  font-family: var(--body-font);
  font-weight: var(--font-semi-bold);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.875rem;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.google-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(66, 133, 244, 0.1), 
    transparent);
  transition: left 0.6s ease;
}

.google-btn:hover::before {
  left: 100%;
}

.google-btn:hover {
  background: linear-gradient(135deg, 
    #f8f9fa 0%, 
    #e8eaed 50%, 
    #f8f9fa 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(66, 133, 244, 0.3) inset,
    0 4px 8px rgba(0, 0, 0, 0.1);
  border-color: rgba(66, 133, 244, 0.25);
}

.google-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  background: #f5f5f5;
}

.google-icon {
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3csvg width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M17.64 9.205c0-.639-.057-1.252-.164-1.841H9v3.481h4.844a4.14 4.14 0 0 1-1.796 2.716v2.259h2.908c1.702-1.567 2.684-3.875 2.684-6.615z' fill='%234285F4'/%3e%3cpath d='M9 18s3-6 3-6.5S9 9 9 9s-3 2.5-3 2.5L3.5 9C4.118 11 5.791 12.5 7.882 13H9z' fill='%2334A853'/%3e%3cpath d='M3.5 9C3.5 7.5 4.5 6 6 6s2.5 1.5 2.5 3-1 2.5-2.5 2.5S3.5 10.5 3.5 9z' fill='%23FBBC04'/%3e%3cpath d='M9 3.5c1.395 0 2.645.48 3.63 1.42L14.5 3.05C13.035 1.67 11.12 1 9 1 6.395 1 4.1 2.24 2.64 4.24L5.38 6.33C6.09 4.82 7.45 3.5 9 3.5z' fill='%23EA4335'/%3e%3c/g%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

/* Google Button Text Enhancement */
.google-btn {
  letter-spacing: 0.25px;
  font-weight: var(--font-medium);
}

.google-btn:focus {
  outline: none;
  box-shadow: 
    0 0 0 3px rgba(66, 133, 244, 0.3),
    0 8px 25px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.google-btn:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.15s ease;
}

/* Divider */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 1rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 20%, 
    rgba(255, 255, 255, 0.4) 50%, 
    rgba(255, 255, 255, 0.2) 80%, 
    transparent 100%);
  z-index: 1;
}

.auth-divider span {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Auth Links */
.auth-link {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: var(--font-semi-bold);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.auth-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--accent-color) 0%, 
    var(--accent-light) 100%);
  transition: width 0.3s ease;
}

.auth-link:hover {
  color: var(--title-color);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.auth-link:hover::after {
  width: 100%;
}

.auth-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: var(--small-font-size);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
  font-weight: var(--font-medium);
}

/* Loading */
.auth-loading {
  display: none;
  text-align: center;
  color: var(--accent-color);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-top: 1rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    rgba(255, 255, 255, 0.02) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.auth-loading::after {
  content: '';
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 3px solid rgba(128, 128, 128, 0.2);
  border-top: 3px solid var(--accent-color);
  border-radius: 50%;
  margin-left: 0.75rem;
  animation: spin 1s linear infinite;
  filter: drop-shadow(0 0 10px rgba(128, 128, 128, 0.3));
}

/* Messages */
.auth-message {
  padding: 1rem 1.25rem;
  border-radius: 16px;
  margin: 1rem 0;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-align: center;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  border: 1px solid;
  transition: all 0.3s ease;
}

.auth-message--success {
  background: linear-gradient(135deg, 
    rgba(52, 168, 83, 0.15) 0%, 
    rgba(52, 168, 83, 0.08) 100%);
  border-color: rgba(52, 168, 83, 0.4);
  color: #4CAF50;
  box-shadow: 0 5px 15px rgba(52, 168, 83, 0.2);
}

.auth-message--error {
  background: linear-gradient(135deg, 
    rgba(244, 67, 54, 0.15) 0%, 
    rgba(244, 67, 54, 0.08) 100%);
  border-color: rgba(244, 67, 54, 0.4);
  color: #f44336;
  box-shadow: 0 5px 15px rgba(244, 67, 54, 0.2);
}

/* Hide signup form by default */
#signupForm {
  display: none;
}

/* Responsive Design */
@media screen and (max-width: 480px) {
  .modal-content {
    padding: 1.25rem 1rem;
    margin: 1rem;
    max-width: 95%;
    border-radius: 20px;
  }
  
  .modal-title {
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
  }
  
  .form-input {
    padding: 0.75rem 1rem;
    font-size: var(--small-font-size);
  }
  
  .google-btn {
    padding: 0.875rem 1rem;
    font-size: var(--small-font-size);
    gap: 0.75rem;
    border-radius: 14px;
  }
  
  .google-icon {
    width: 18px;
    height: 18px;
  }
  
  .auth-btn {
    padding: 0.875rem 1.5rem;
    font-size: var(--small-font-size);
  }
  
  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 340px) {
  .modal-content {
    padding: 1rem 0.875rem;
    margin: 0.5rem;
  }
  
  .auth-divider {
    margin: 0.75rem 0;
  }
  
  .auth-divider span {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }
}

/*=============== ABOUT US PAGE STYLES ===============*/
/* About Hero Section */
.about-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(0, 0, 0, 0.4) 100%), 
    url('../img/aboutusbg.jpg') center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(0, 0, 0, 0.3) 30%, 
    rgba(0, 0, 0, 0.6) 70%, 
    rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
  pointer-events: none;
}

.about-hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-hero__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-hero__title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero__description {
  font-size: var(--h3-font-size);
  color: var(--text-color-light);
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
  

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-hero__image {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-hero__img {
  width: 100%;
  max-width: 500px;
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.about-hero__img:hover {
  transform: translateY(-10px) scale(1.02);
}

.about-hero__shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  filter: blur(20px);
}

/* About Sections */
.about-section {
  padding: 5rem 0;
}

.about-section__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-section__data {
  order: 1;
}

.about-section__description {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: var(--normal-font-size);
}

.about-section__description strong {
  color: var(--accent-color);
  font-weight: var(--font-semi-bold);
}

.about-section__description em {
  color: var(--title-color);
  font-style: italic;
  font-weight: var(--font-medium);
}

.about-section__image {
  position: relative;
  order: 2;
}

.about-section__img {
  width: 100%;
  border-radius: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0,  0.3);
  transition: transform 0.4s ease;
}

.about-section__img:hover {
  transform: translateY(-8px);
}

.about-section__shadow {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 30px;
  background: rgba(0,  0, 0, 0.2);
  border-radius: 50%;
  filter: blur(15px);
}

/* What We Offer */
.about-offers {
  padding: 5rem 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    rgba(255, 255, 255, 0.02) 100%);
}

.about-offers__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-offers__card {
  background: var(--container-color);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-offers__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent);
  transition: left 0.6s ease;
}

.about-offers__card:hover::before {
  left: 100%;
}

.about-offers__card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.about-offers__icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.4s ease;
}

.about-offers__card:hover .about-offers__icon {
  transform: scale(1.1) rotate(5deg);
}

.about-offers__icon i {
  font-size: 2rem;
  color: var(--body-color);
}

.about-offers__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 1rem;
}

.about-offers__description {
  color: var(--text-color);
  line-height: 1.6;
}

/* Why Choose Us */
.about-why {
  padding: 5rem 0;
}

.about-why__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-why__description {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: var(--normal-font-size);
}

.about-why__features {
  display: grid;
  gap: 1rem;
}

.about-why__feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.about-why__feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.about-why__feature i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.about-why__feature span {
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.about-why__image {
  position: relative;
}

.about-why__img {
  width: 100%;
  border-radius: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.about-why__img:hover {
  transform: translateY(-8px);
}

.about-why__shadow {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 30px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  filter: blur(15px);
}

/* Call to Action */
.about-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    rgba(255, 255, 255, 0.02) 100%);
}

.about-cta__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-cta__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

.about-cta__description {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.about-cta__buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats Section */
.about-stats {
  padding: 4rem 0;
  background: var(--container-color);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stats__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.about-stats__item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.about-stats__item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-stats__number {
  font-size: 3rem;
  font-weight: var(--font-bold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.about-stats__description {
  color: var(--text-color);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--small-font-size);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .about-hero__container,
  .about-section__content,
  .about-why__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-section__image {
    order: 1;
  }

  .about-section__data {
    order: 2;
    text-align: center;
  }

  .about-offers__content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .about-hero {
    padding: 6rem 0 3rem;
  }
  
  .about-hero__title {
    font-size: var(--h1-font-size);
  }
  
  .about-hero__description {
    font-size: var(--normal-font-size);
  }
  
  .about-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-stats__content {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats__number {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 480px) {
  .about-hero {
    padding: 5rem 0 2rem;
  }

  .about-section,
  .about-offers,
  .about-why,
  .about-cta {
    padding: 3rem 0;
  }

  .about-offers__content {
    grid-template-columns: 1fr;
  }

  .about-stats__content {
    grid-template-columns: 1fr;
  }

  .about-cta__title {
    font-size: var(--h2-font-size);
  }

  .about-cta__description {
    font-size: var(--normal-font-size);
  }
}

/*=============== PLACES PAGE ===============*/
/*========== Places Hero ==========*/
.places-hero {
  position: relative;
  padding-block: 8rem 4rem;
  background: var(--gradient-primary);
  overflow: hidden;
}

.places-hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.places-hero__content {
  text-align: center;
  z-index: 2;
}

.places-hero__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-extra-bold);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.places-hero__title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.places-hero__description {
  font-size: var(--h3-font-size);
  margin-bottom: 2rem;
  color: var(--text-color-light);
  max-width: 600px;
  margin-inline: auto;
}

.places-hero__image {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 500px;
}

.places-hero__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 1.5rem;
}

.places-hero__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
              hsla(0, 0%, 0%, 0) 50%, 
              hsla(0, 0%, 0%, .4) 100%);
  border-radius: 1.5rem;
}

/*========== Places Grid ==========*/
.places-grid {
  padding-block: 4rem;
}

.places-grid__container {
  max-width: 1200px;
  margin-inline: auto;
}

.places-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/*========== Place Card ==========*/
.place-card {
  background: var(--container-color);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

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

.place-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.place-card__image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.place-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.place-card:hover .place-card__img {
  transform: scale(1.1);
}

.place-card__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
              hsla(0, 0%, 0%, 0) 50%, 
              hsla(0, 0%, 0%, .7) 100%);
}

.place-card__overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.place-card__location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  color: var(--title-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.place-card__location i {
  font-size: 1rem;
  color: var(--accent-light);
}

.place-card__content {
  padding: 1.5rem;
}

.place-card__title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 0.75rem;
  color: var(--title-color);
}

.place-card__description {
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.place-card__highlights {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.place-card__highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.place-card__highlight i {
  color: var(--accent-light);
  font-size: 1rem;
}

.place-card__btn {
  width: 100%;
  background: var(--gradient-primary);
  color: var(--title-color);
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-family: var(--body-font);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.place-card__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
              transparent, 
              rgba(255, 255, 255, 0.2), 
              transparent);
  transition: left 0.5s ease;
}

.place-card__btn:hover::before {
  left: 100%;
}

.place-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.place-card__btn i {
  transition: transform 0.3s ease;
}

.place-card__btn:hover i {
  transform: translateX(4px);
}

/*========== Pagination ==========*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--container-color);
  color: var(--title-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  font-family: var(--body-font);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.pagination__btn:hover:not(.pagination__btn--disabled) {
  background: var(--gradient-primary);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.pagination__btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination__numbers {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination__number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--container-color);
  color: var(--title-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  font-family: var(--body-font);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.pagination__number:hover,
.pagination__number--active {
  background: var(--gradient-primary);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/*========== Responsive Design ==========*/
@media screen and (max-width: 1152px) {
  .places-hero__title {
    font-size: var(--h1-font-size);
  }
  
  .places-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

/*=============== PLACE DETAIL PAGE STYLES ===============*/
/*========== Place Detail Hero ==========*/
.place-detail-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
}

.place-detail-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.place-detail-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.place-detail-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
}

.place-detail-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.place-detail-hero__breadcrumb {
  margin-bottom: 2rem;
}

.place-detail-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--title-color);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.place-detail-hero__back:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.place-detail-hero__back i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.place-detail-hero__back:hover i {
  transform: translateX(-4px);
}

.place-detail-hero__info {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.place-detail-hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-light);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
}

.place-detail-hero__location i {
  font-size: 1.25rem;
  color: var(--accent-color);
}

.place-detail-hero__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-extra-bold);
  color: var(--title-color);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.3s both;
}

.place-detail-hero__subtitle {
  font-size: var(--h2-font-size);
  color: var(--text-color-light);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.6s both;
}

/*========== Place Detail Content ==========*/
.place-detail-content {
  padding: 6rem 0;
  background: var(--body-color);
}

.place-detail-content__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Description Section */
.place-detail__description {
  margin-bottom: 5rem;
  text-align: center;
}

.place-detail__description .section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.place-detail__text {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Styles */
.place-detail__section {
  margin-bottom: 5rem;
  padding: 3rem;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.place-detail__section:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.place-detail__section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.place-detail__section-title i {
  font-size: 2rem;
  color: var(--accent-color);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Places Grid */
.place-detail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.place-detail__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  transition: all 0.3s ease;
}

.place-detail__item:hover {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.place-detail__item-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(128, 128, 128, 0.3);
}

.place-detail__item-icon i {
  font-size: 1.75rem;
  color: var(--title-color);
}

.place-detail__item-image {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.place-detail__item:hover .place-detail__item-img {
  transform: scale(1.1);
}

.place-detail__item-content {
  flex: 1;
}

.place-detail__item-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 0.75rem;
}

.place-detail__item-description {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

/* Activities Section */
.place-detail__activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.place-detail__activity {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.place-detail__activity:hover {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.place-detail__activity i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.place-detail__activity span {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  line-height: 1.4;
}

/* Call to Action Section */
.place-detail__cta {
  margin-top: 5rem;
  padding: 4rem;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.place-detail__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.place-detail__cta-content {
  position: relative;
  z-index: 2;
}

.place-detail__cta-title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.place-detail__cta-description {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.place-detail__cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.place-detail__cta-buttons .button {
  min-width: 200px;
  font-size: var(--normal-font-size);
  padding: 1rem 2rem;
}

.place-detail__cta-buttons .button--outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.place-detail__cta-buttons .button--outline:hover {
  background: var(--accent-color);
  color: var(--title-color);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .place-detail-hero__title {
    font-size: var(--h1-font-size);
  }
  
  .place-detail-hero__subtitle {
    font-size: var(--h3-font-size);
  }
  
  .place-detail__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .place-detail__activities {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .place-detail-hero {
    height: 80vh;
    min-height: 500px;
  }
  
  .place-detail-hero__title {
    font-size: var(--h2-font-size);
  }
  
  .place-detail-hero__subtitle {
    font-size: var(--normal-font-size);
  }
  
  .place-detail-content {
    padding: 4rem 0;
  }
  
  .place-detail__section {
    padding: 2rem;
    margin-bottom: 3rem;
  }
  
  .place-detail__grid {
    grid-template-columns: 1fr;
  }
  
  .place-detail__activities {
    grid-template-columns: 1fr;
  }
  
  .place-detail__cta {
    padding: 3rem 2rem;
    margin-top: 3rem;
  }
  
  .place-detail__cta-title {
    font-size: var(--h2-font-size);
  }
  
  .place-detail__cta-description {
    font-size: var(--normal-font-size);
  }
  
  .place-detail__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .place-detail__cta-buttons .button {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .place-detail-hero {
    height: 70vh;
    min-height: 400px;
  }
  
  .place-detail-hero__content {
    padding: 0 1rem;
  }
  
  .place-detail-hero__title {
    font-size: var(--h3-font-size);
  }
  
  .place-detail-hero__subtitle {
    font-size: var(--small-font-size);
  }
  
  .place-detail-hero__back {
    font-size: var(--small-font-size);
    padding: 0.5rem 1rem;
  }
  
  .place-detail-hero__location {
    font-size: var(--small-font-size);
    padding: 0.5rem 1rem;
  }
  
  .place-detail-content__container {
    padding: 0 1rem;
  }
  
  .place-detail__section {
    padding: 1.5rem;
  }
  
  .place-detail__item {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }
  
  .place-detail__item-icon {
    width: 50px;
    height: 50px;
  }
  
  .place-detail__item-icon i {
    font-size: 1.5rem;
  }
  
  .place-detail__item-image {
    width: 100px;
    height: 70px;
    margin-bottom: 1rem;
  }
  
  .place-detail__activity {
    padding: 1rem;
  }
  
  .place-detail__cta {
    padding: 2rem 1.5rem;
  }
  
  .place-detail__cta-title {
    font-size: var(--h3-font-size);
  }
}
