:root {
  --primary-color: #00468c;
  --primary-color-light: #127bbc;
  --text-dark: #0f172a;
  --text-light: #6b7280;
  --extra-light: #f3f4f7;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "DM Serif Display", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ================= BANNER ================= */
.banner {
    position: relative;
    height: 300px;
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url("assets/table_mountain_destinations.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}



.banner h1 {
    margin-top: 80px;
    font-size: 42px;
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}


/* ================= NAVBAR SECTION ================= */

header {
  position: relative;
}

nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}


.nav__header {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}


.logo a {
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--white);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  top: 68px;
  left: 0;
  width: 100%;
  padding: 2rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--extra-light);
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
  text-decoration: none;
}

.nav__links.open {
  transform: translateY(0);
}

.link a {
  color: #fff;
  transition: 0.3s;
  text-decoration: none;
}
/* Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Link trigger */
.dropdown-link {
    display: inline-block;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
}

.dropdown-link:hover {
  color: var(--primary-color-light);}

/* Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 160px;
    overflow: hidden;
    z-index: 1000;
}

/* Menu items */
.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.dropdown-menu a:hover {
  color: var(--primary-color-light);
}

.link a:hover {
  color: var(--primary-color-light);
}

.nav__btns {
  display: none;
}

.header__container {
  padding-block: 10rem;
}

.header__container h1 {
  font-size: 4rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--white);
}

/* ================= VIDEO SECTION ================= */
.video-section {
    position: relative;
    padding: 80px 60px;
    overflow: hidden;
}

/* Video background */
.video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

/* Dark overlay for readability */
/*.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: -1;
}*/

/* ================= GRID ================= */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid span {
  color: crimson;
}

/* ================= CARD ================= */
.card {
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.45);
}

/* Image */
.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Text */
.card-text {
    background: rgba(255,255,255,0.95);
    padding: 14px;
    text-align: center;
    font-size: 15px;
    color: #333;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .banner h1 {
        font-size: 30px;
    }
}

@media (min-width: 768px) {
  .nav__links {
    position: static;
    transform: none;
    flex-direction: row;
    background: transparent;
    z-index: 20;
  }

  .nav__menu__btn {
    display: none;
  }
}



.footer {
  background-color: var(--extra-light);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__logo {
  margin-bottom: 1rem;
}

.footer__col .footer__logo a {
  color: var(--primary-color-light);
}

.footer__col a {
  color: var(--text-light);
  transition: 0.3s;
}

.footer__col a:hover {
  color: var(--primary-color);
}

.footer__col p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials a {
  font-size: 1.5rem;
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--primary-color-light);
}

.footer__links {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

