/* Global styles */

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

.main-nav {
    width: 100%;
}

body {
    font-family: "Montserrat", sans-serif;
}

.nav-logo {
    display: block;
    width: 150px;
    height: auto;
}

.mobile-logo {
    display: none;
}

#nav-icon-container img {
    width: 25px;
    height: auto;
    display: flex;
    align-items: center;
}

.anywhere-container img {
    width: 40px;
    height: auto;
    margin-left: 4px;
}

.search-icon-container img {
    width: 50px;
    height: auto;
}

.container {
    max-width: 1800px;
    width: 95%;
    margin: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

/* 
HEADER / NAVIGATION AREA
*/

header {
    background-color: #ffffff;
    padding: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trip-planer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 35px;
    box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, 0.75);
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.anywhere-container,
.anytime-container,
.add-guest-container {
    cursor: pointer;
    position: relative;
}

.anywhere-container {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.pipe-container {
    margin: 0 1rem;
}

.pipe {
    width: 1px;
    height: 30px;
    background-color: #242424;
    opacity: .2;
}

.add-guest-container {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.search-icon-container {
    margin-top: 3px;
    cursor: pointer;
}

/* Search Dropdown Styles */
.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 20px;
    min-width: 280px;
}

.search-dropdown.active {
    display: block;
}

/* City Dropdown */
.city-dropdown {
    width: 320px;
}

.city-search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 15px;
    font-family: "Montserrat", sans-serif;
}

.city-search-input:focus {
    outline: none;
    border-color: #242424;
}

.city-list {
    max-height: 300px;
    overflow-y: auto;
}

.city-list li {
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.2s;
    font-size: 14px;
}

.city-list li:hover {
    background-color: #f7f7f7;
}

/* Calendar Dropdown */
.calendar-dropdown {
    width: 350px;
}

.date-selector {
    display: flex;
    gap: 15px;
}

.date-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-input-group label {
    font-size: 12px;
    font-weight: 600;
    color: #242424;
}

.date-input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
}

.date-input:focus {
    outline: none;
    border-color: #242424;
}

/* Guest Dropdown */
.guest-dropdown {
    width: 360px;
    right: 0;
    left: auto;
}

.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.guest-row:last-child {
    border-bottom: none;
}

.guest-info {
    display: flex;
    flex-direction: column;
}

.guest-label {
    font-size: 14px;
    font-weight: 600;
    color: #242424;
}

.guest-sublabel {
    font-size: 12px;
    color: #717171;
}

.guest-counter {
    display: flex;
    align-items: center;
    gap: 15px;
}

.counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #b0b0b0;
    background: white;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.counter-btn:hover {
    border-color: #242424;
}

.counter-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.counter-value {
    min-width: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.nav-menu-links {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

#host-link {
    border-radius: 35px;
    transition: all .1s ease-in;
    height: 40px;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#host-link:hover {
    background-color: #d8d8d8;
    color: white;
}

#nav-icon-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .1s ease-in;
}

#nav-icon-container:hover {
    background-color: #d8d8d8;
}

/* 
MEDIA QUERIES
*/

@media screen and (max-width: 1023px) {
    .nav-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
        width: 35px;
    }

    #host-link {
        display: none;
    }
}

/* 
mobile menu fix dynamic with JS 
*/

.mobile-menu-fixed {
    position: fixed;
    inset: 0;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 100px 16px 16px;
    z-index: 1000;
    background: transparent;
    pointer-events: none;
    display: none;
}

.mobile-menu-fixed.is-open {
    display: flex;
    pointer-events: auto;
}

.mobile-menu-container {
    box-shadow: 0px 0px 53px -21px rgba(51, 51, 51, 0.75);
    width: 290px;
    border-radius: 15px;
    z-index: 2;
    position: relative;
    background-color: #fff;
    line-height: 1.5;
    padding: .5rem 0rem;
    padding-left: 20px;
}

.menu-flexbox {
    display: flex;
    align-items: center;
}

.mobile-menu-img {
    width: 50px;
}

.mobile-menu-li {
    width: 100%;
    list-style: none;
    padding: 10px 0;
    transition: all .1s ease-in;
}

.mobile-menu-li:hover {
    background-color: #f7f7f7;
}

.mobile-menu-link {
    color: black;
    font-size: 14px;
}

.divider {
    background-color: #e2e1e1;
    width: 90%;
    height: 1px;
    margin: 8px auto;
}

.bold-txt {
    font-weight: 500;
}

.circle {
    border: solid .5px #0875de;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-flexbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 
Destinations Card 
*/

.destinations {
    margin: 4rem 0rem;
}

.destinations-row {
    margin: 2rem 0rem;
}

.destinations-grid-container {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    column-gap: 1rem;
}

.destination-card {
    min-width: 0;
}

.destination-img-container {
    position: relative;
    overflow: hidden;
}

.destination-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

.guest-fevorite {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ffffff;
    padding: 5px 10px;
    border-radius: 35px;
    font-size: 11px;
    font-weight: 600;
    opacity: .8;
    z-index: 2;
}

.fa-heart {
    position: absolute;
    top: 15px;
    right: 10px;
    font-size: 18px;
    font-weight: 600;
    opacity: .6;
    z-index: 2;
}

.destination-text-container {
    margin-top: 10px;
    padding-left: 10px;
}

.destination-text-header {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 3px;
}

.destination-price {
    font-size: 11px;
    color: #6a6a6a;
}

/* ===== Responsive Media Queries ===== */

@media screen and (max-width: 1024px) {
    .destinations-grid-container {
        grid-template-columns: repeat(4, 1fr);
        column-gap: 0.8rem;
    }

    header {
        padding: 1rem;
    }

    .trip-planer-container {
        font-size: 13px;
        padding: 6px 10px;
    }

    .nav-menu-links {
        column-gap: 0.7rem;
    }
}

@media screen and (max-width: 768px) {
    .trip-planer-container {
        box-shadow: 0px 0px 6px -2px rgba(0, 0, 0, 0.4);
        border-radius: 25px;
        font-size: 12px;
    }

    .pipe {
        height: 20px;
    }

    .anywhere-container img {
        width: 32px;
    }

    .search-icon-container img {
        width: 40px;
    }

    .destinations-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .destination-img {
        height: 170px;
    }

    .destination-text-header {
        font-size: 11px;
    }

    .destination-price {
        font-size: 10px;
    }

    /* Adjust dropdown sizes for tablets */
    .city-dropdown {
        width: 280px;
    }

    .calendar-dropdown {
        width: 300px;
    }

    .guest-dropdown {
        width: 320px;
    }
}

@media screen and (max-width: 600px) {
    header {
        padding: 1rem;
    }

    .trip-planer-container {
        display: none;
    }

    .nav-menu-links {
        column-gap: 0.5rem;
    }

    .nav-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
        width: 30px;
    }

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

    .destination-img {
        height: 150px;
    }

    .guest-fevorite {
        font-size: 10px;
        padding: 3px 8px;
    }
}


/* ================= Footer ================= */
/* ================= White Footer ================= */
.footer {
  width: 100%;
  background: #ffffff;
  color: #1e293b; /* Dark gray-blue text */
  padding: 70px 0 25px;
  margin-top: 80px;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  border-top: 1px solid #e5e7eb;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
  width: 90%;
  margin: auto;
  max-width: 1300px;
  align-items: start;
}

/* === Brand Section === */
.footer-section.about h2 {
  color: #0875de;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-section.about p {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 25px;
}

.footer .social-links {
  display: flex;
  gap: 15px;
}

.footer .social-links a {
  color: #1e293b;
  font-size: 18px;
  border: 1px solid #cbd5e1;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  background: #0875de;
  color: white;
  transform: translateY(-3px);
  border-color: #0875de;
}

/* === Link Columns === */
.footer-section h3 {
  color: #0f172a;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 10px 0;
}

.footer-section ul li a {
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #0875de;
  padding-left: 5px;
}

/* === Newsletter Section === */
.newsletter p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 30px;
  border: 1px solid #cbd5e1;
  outline: none;
  font-size: 14px;
  transition: all 0.3s;
}

.newsletter-form input:focus {
  border-color: #0875de;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-form button {
  background: #0875de;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  background: #1e40af;
  transform: scale(1.05);
}

/* === Footer Bottom === */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
  font-size: 14px;
  color: #64748b;
}

/* === Responsive Layout === */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer .social-links {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

