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

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Inter';
  src: url(../fonts/Inter-VariableFont_opsz\,wght.ttf);
}
@font-face {
  font-family: 'Futura';
  src: url(../fonts/FuturaCyrillicBook.ttf);
}


body {
  color: #111;
  font-family: 'Inter';
}

/* NAV BAR */
.navbar {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;

  background: rgba(201, 201, 201, 0.37); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 60px;  
  padding: 18px 40px;   
  
  min-width: 400px;     
  max-width: 90%;       

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); 
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 80px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 450;
  font-size: 16px;
  transition: opacity 0.2s ease;
  letter-spacing: 0.08em;
}

.nav-links a:hover {
  opacity: 0.75;
}

/* SECTIONS */
.section {
  min-height: 100vh;
  padding: 120px 10%;
}

.section h2 {
  margin-bottom: 16px;
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1;       
}

/* LOGO */
.logo {
  max-width: 350px;   
  width: 70%;         
  z-index: 1;
}



/* RESPONSIVE BACKGROUND IMAGE */
@media (max-width: 768px) {
  .hero {
    background-image: url("../imgs/mtn.png");
  }

  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 768px) {

  /* NAV BAR CONTAINER */
  .navbar {
    top: 20px;                 
    padding: 12px 24px;        
    min-width: unset;          
    border-radius: 48px;       
  }

  /* NAV ITEMS */
  .nav-links {
    gap: 20px;                 
  }

  .nav-links a {
    font-size: 14px;           
    letter-spacing: 0.05em;    
    font-weight: 400;
  }
}


/* MOBILE */
@media (max-width: 768px) {
  .logo {
    max-width: 280px;  
    width: 60%;
  }
}

/* FOOTER */
.footer {
  background: #111;
  color: white;
  display: flex;
  flex-direction: column;   
  align-items: center;      
  justify-content: center;
  padding: 32px 16px;
  gap: 12px;                
}

.footer-logo {
  width: 130px;              
  height: auto;
  display: block;
}

.footer p {
  font-size: 14px;
  opacity: 0.8;
}



/*---------------------------------------------------------------------*/
/* DETAILS SECTION */

.details-section {
  padding: 0; 
  background: #f9f9f9;
}

.details-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center; 
}

/* Column styles */
.details-column {
  min-width: 250px; 
}


.image-column {
  flex: 1;
  display: flex;
  justify-content: center;
}

.details-image {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0; 
}

/* Text column (Column 2) */
.text-column {
  letter-spacing: 0.03em;
  flex: 0.6;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.details-title {
  margin-bottom: 12px;
  font-size: 60px;
  letter-spacing: 0.03em;
}

.text-column a {
  color: #111;       
  text-decoration: none; 
  font-weight: 500;      
}

.text-column a:hover {
  opacity: 0.75;     
}


.text-column .subtitle {
  font-weight: 500;
  margin-bottom: 16px;
}

.text-column p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.details-arrows {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  font-weight: 500;
  font-size: 18px;
}

.arrow-left::before {
  content: "\2190"; 
  margin-right: 8px;
  font-size: 24px;
}

.arrow-right::after {
  content: "\2192"; 
  margin-left: 8px;
  font-size: 24px;
}

/* MOBILE */
@media (max-width: 768px) {

  .details-section {
    padding: 40px 20px; 
    min-height: auto;
  }

  .details-container {
    flex-direction: column;
  }

  /* Hide images */
  .image-column {
    display: none;
  }


  /* Text full width */
  .text-column {
    width: 100%;
    flex: none;
    padding: 0 10px;     
  }

  .details-title {
    font-size: 24px;     
    margin-bottom: 16px;
    margin-bottom: 20px; 
    line-height: 1.6;
  }

  .text-column .subtitle {
    font-size: 16px;     
    margin-bottom: 12px;
  }


  .details-arrows {
    display: none;       
  }

}




/*---------------------------------------------------------------------*/
/* NAVIGATION SECTION */

.navigation-section {
  padding: 0;
  overflow: hidden; 
}

.navigation-bar {
  width: 100%;
  background: #f9f9f9; 
  color: black;
  text-align: center;
  padding: 20px 0;
}


.nav-title {
  font-size: 32px;
  letter-spacing: 0.03em;
  margin-bottom: 6px; 
}


.nav-subtitle {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.8; 
}

.nav-directions {
  padding-top: 2px;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
}


.map-link {
  display: block; 
  width: 100%;
  text-decoration: none; 
}

.map-gif {
  width: 100%;
  height: 60vh;          
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.map-gif video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-gif:hover {
  transform: scale(1.02);
}


/* MOBILE */

@media (hover: hover) {
  .map-gif:hover {
    transform: scale(1.01); 
  }
}

@media (max-width: 768px) {
  .navigation-section {
    min-height: auto;
  }

  .map-gif {
    height: 45vh;
    min-height: 280px;
  }

  .nav-title {
    font-size: 24px;
  }
  .nav-subtitle {
    font-size: 16px;
  }
  .map-gif {
    height: 300px;
  }
}

/*---------------------------------------------------------------------*/
/* ROUTES SECTION */

.routes-layout {
  display: flex;
  width: 100%;
  height: 1080px;
}

/* LEFT COLUMN */
.left-column {
  width: 608px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}


.page-title {
  font-size: 32px;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.face-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 0;
}

.face-link {
  color: #111;          /* force black */
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  text-decoration: underline;
  -webkit-appearance: none;
  appearance: none;
  font-family: 'Futura';
}

.face-link.active {
  color: #111;
}

.route-info {
  text-align: center;
  text-align: left;
  margin-top: auto;
  transform: translateY(-500px); 
}

.route-title {
  text-decoration: underline;
  margin-bottom: 16px;
  text-align: left;
  letter-spacing: 0.03em;
  font-size: 20px;
}

.route-description {
  text-align: left;
  font-size: 18px;

}

/* VERTICAL ROUTE NAV */
.route-nav {
  width: 60px;
  background: #c6c6c6;
  display: flex;
  flex-direction: column;
}

.route-btn {
  flex: 1;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-bottom: 1.5px solid #cfcfcf;
  background: #bcbcbc;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  transition: 
    background 0.25s ease,
    color 0.25s ease,
    transform 0.15s ease;
}

/* Hover state */
.route-btn:hover {
  background: #d9d9d9;
  color: #111;
  transform: scale(1.02);
}

/* Active state (selected route) */
.route-btn.active {
  background: #fff;
  color: #aaaaaa;
}


.route-btn:last-child {
  border-bottom: none;
}

.route-btn.active {
  background: #fff;
  color: #aaaaaa;
}

/* VIDEO COLUMN */
.video-column {
  width: 100%;
  height: 250px;  /* fixed height so video displays */
}

.video-column video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* MOBILE LAYOUT FOR ROUTES SECTION */

@media (max-width: 768px) {

  .routes-layout {
    flex-direction: column; 
    height: auto;
  }

  .left-column {
    width: 100%;
    padding: 20px;
  }

  .page-title {
    font-size: 24px;
  }

  .face-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    justify-content: flex-start;
  }

  .face-link {
    text-decoration: underline;
    font-size: 18px;
    padding: 4px 8px;
  }

  .route-title {
    font-size: 18px;
    text-decoration: underline;
    margin-bottom: 8px;
  }

  .route-info {
    transform: translate(0px, 0px);
  }


  .route-description {
    font-size: 16px;
    line-height: 1.5;
  }


  .route-nav {
    display: flex;
    flex-direction: row;   
    width: 100%;
    height: auto;
    margin-bottom: 0;      
    overflow: hidden;
    background: #c6c6c6;
  }

  .route-btn {
    flex: 1;               
    padding: 12px 0;       
    border: none;
    border-right: 1px solid #bfbfbf;
    background: #b2b2b2;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
  }

  .route-btn:last-child {
    border-right: none;
  }

  .route-btn.active {
    background: #fff;
    color: #aaaaaa;
  }

  .video-column {
    width: 100%;
    position: relative;
    padding-top: 125%; /* 4:5 ratio (taller) */
  }

  .video-column video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
  }
}

/*---------------------------------------------------------------------*/
/* iPAD RESPONSIVE STYLES */
/*---------------------------------------------------------------------*/

@media (min-width: 769px) and (max-width: 1024px) {

  /* GENERAL SECTIONS */
  .section {
    padding: 0%; 
    min-height: auto;
  }

  /* NAV BAR */
  .navbar {
    padding: 16px 32px;
    min-width: 320px;
  }

  .nav-links {
    gap: 48px;
  }

  .nav-links a {
    font-size: 16px;
  }

  /* HERO */
  .logo {
    max-width: 300px;
    width: 60%;
  }

  /*---------------------------------------------------------------------*/
  /* DETAILS SECTION */

  .details-section {
    padding: 0px;
    min-height: auto;
  }

  .details-container {
    gap: 32px;
  }

  .text-column {
    flex: 0.8; 
  }

  .details-title {
    font-size: 20px;
    font-family: "futura-pt", sans-serif;
  }

  .text-column p {
    font-size: 15px;
    line-height: 1.6;
  }

  /*---------------------------------------------------------------------*/
  /* NAVIGATION SECTION */

  .navigation-bar {
    padding: 18px 0;
  }

  .nav-title {
    font-size: 28px;
  }

  .nav-subtitle {
    font-size: 17px;
  }

  .map-gif {
    height: auto;
  }

  /*---------------------------------------------------------------------*/
  /* ROUTES SECTION */

  .routes-layout {
    height: auto; 
  }

  .left-column {
    width: 460px; 
    padding: 32px;
  }

  .page-title {
    font-size: 20px; 
  }

  .face-nav {
    gap: 20px;
    margin-bottom: 120px;
  }

  .route-nav {
    width: 52px; 
  }

  .route-btn {
    font-size: 11px;
  }

  .video-column {
    height: 720px; 
  }

  .route-info {
    transform: translateY(-300px);
  }
}

/*---------------------------------------------------------------------*/
/* iMAC RESPONSIVE STYLES */
/*---------------------------------------------------------------------*/
@media (min-width: 1440px) {

  /* GLOBAL SECTIONS */
  .section {
    padding: 0; 
  }

  /* NAV BAR */
  .navbar {
    padding: 20px 48px;
    top: 48px;
  }

  .nav-links {
    gap: 96px;
  }

  .nav-links a {
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  /* HERO */
  .logo {
    max-width: 420px;
  }

/*---------------------------------------------------------------------*/
  /* DETAILS SECTION */

  .details-section {
    padding: 0;
    min-height: auto;
  }

  .details-container {
    gap: 100px;
  }

  .text-column {
    flex: 0.7;
  }

  .details-title{
    font-size: 32px;
  }

  .subtitle {
    font-size: 17px;
    line-height: 1.7;
  }

  /*---------------------------------------------------------------------*/
  /* NAVIGATION SECTION */

  .navigation-bar {
    padding: 28px 0;
  }

  .nav-title {
    font-size: 36px;
  }

  .nav-subtitle {
    font-size: 20px;
  }

  .map-gif {
    height: 100vh;
  }

  /*---------------------------------------------------------------------*/
  /* ROUTES SECTION */

  .routes-layout {
    height: 1200px; 
  }

  .left-column {
    width: 680px;
    padding: 56px;
  }

  .page-title {
    font-size: 36px;
  }

  .face-nav {
    gap: 32px;
    margin-bottom: 260px;
  }

  .route-nav {
    width: 72px;
  }

  .route-btn {
    font-size: 14px;
  }

  .video-column {
    height: 1200px;
  }
}
