@font-face {
  font-family: 'HeroFont'; 
  src: url('font/Hanson-Bold.otf'); 
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --hero-font: 'HeroFont';
  --secondary-font: 'Montserrat', sans-serif;
}

body{  
    margin: 0;
    padding: 0;
    background: #DDCADB;
    font-family: var(--secondary-font); 
}


/* Header Section */

.navbar-toggler {
    z-index: 1001;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-collapse {
    background-color: transparent;
}

.navbar-logo {
    height: 50px;
    width: auto;
    margin-left:20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.nav-link-custom {
    font-family: var(--secondary-font);
    font-size: 14px;
    font-weight: 700;
    color: #000 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #ED1C24;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    transform: scaleX(1);
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: #ED1C24 !important;
}


/* Hero Section */
.layered-hero{
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 1024;
    min-height: 250vh;  
    overflow: hidden;
}

.sky{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('pics/sky.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.tokyo{
    position: absolute;
    left: 0;
    top:  0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
    animation: slideUp 1.5s ease-out forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.tokyo-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}


.content-layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; 
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20vh;
}

.hero-title{
    color: white;
    text-align: center;
    font-family: var(--hero-font);
    font-size: clamp(48px, 28vw, 350px);
    margin: 0;
    line-height: 1;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20vh;
    pointer-events: none; 
}

.text-content{
    text-align: center;
    max-width: 800px;
    margin-top: 350px; 
    pointer-events: auto; 
    font-family: var(--secondary-font);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.text-content.visible{
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle{
    color: white;
    font-size: clamp(14px, 2vw, 18px);
    margin: 10px 0;
    font-weight: 800;  
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-family: var(--secondary-font);
}

.hero-description{
    color: white;
    font-size: clamp(12px, 1.5vw, 16px);
    margin: 10px auto 30px;
    line-height: 1.6;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-family: var(--secondary-font);
    font-weight: 300; 
}

.explore-btn{
    background-color: #D32F2F;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 40px;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600; 
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--secondary-font);
}

.explore-btn:hover{
    background-color: #B71C1C;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

/* Gradient Transition Section */
.gradient-transition {
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, 
    rgba(221, 202, 219, 0) 0%,
    rgba(255, 255, 255, 0.3) 30%,
    rgba(255, 255, 255, 0.7) 60%,
    rgba(255, 255, 255, 1) 100%
  );
  position: relative;
  z-index: 5;
  margin-top: -150px;
}

/* Gradient Transition Reverse */
.gradient-transition-reverse {
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.7) 30%,
    rgba(221, 202, 219, 0.5) 60%,
    rgba(221, 202, 219, 1) 100%
  );
  position: relative;
  z-index: 5;
}

/* Carousel Section */
#carousel-section {
  position: relative;
  z-index: 10;
}

.carousel-item {
  position: relative;
}

.carousel-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.carousel-caption {
  bottom: 60px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: auto;
  max-width: 80%;
  text-align: center;
  z-index: 2;
}

.carousel-caption h3 {
  font-family: var(--secondary-font);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  margin-bottom: 15px;
  color: white;
  font-weight: 700;
}

.carousel-caption p {
  font-family: var(--secondary-font);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  margin-bottom: 0;
  color: white;
  font-weight: 400;
  line-height: 1.6;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
  opacity: 0.5;
  border: 2px solid rgba(255,255,255,0.8);
}

.carousel-indicators button.active {
  opacity: 1;
  background-color: #ED1C24;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 8px;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(237,28,36,0.8);
}

/* Featured Destinations Section */
.destination-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.destination-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover .destination-image img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
  color: white;
  padding: 30px 20px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.destination-overlay h3 {
  font-family: var(--hero-font);
  font-size: 1.8rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.destination-overlay p {
  font-family: var(--secondary-font);
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

/* Stats Section */
.stats-item {
  padding: 20px;
  transition: transform 0.3s ease;
}

.stats-item:hover {
  transform: scale(1.1);
}

/* Activities Section */
.activity-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  height: 100%;
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(237,28,36,0.2);
}

.activity-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #ED1C24;
  transition: all 0.3s ease;
}

.activity-card:hover .activity-icon {
  transform: scale(1.2) rotate(5deg);
  color: #B71C1C;
}

.activity-card h4 {
  font-family: var(--secondary-font);
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.activity-card p {
  font-family: var(--secondary-font);
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Icon Boxes for Experience Section */
.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.icon-box:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1) rotate(-5deg);
}

/* Footer Styles */
.footer {
  background: linear-gradient(184deg, #EFEFEF 3.58%, #FF2020 415.15%);
  color: white;
  position: relative;
  overflow: hidden;
}


.footer-logo {
  height: 50px;
  width: auto;
}

.footer-tagline {
  font-family: var(--secondary-font);
  color: #000000;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
}

.footer-heading {
  font-family: var(--secondary-font);
  font-weight: 700;
  color: #ED1C24;
  margin-bottom: 20px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-family: var(--secondary-font);
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

.footer-links a:hover {
  color: #ED1C24;
  transform: translateX(5px);
}


.footer-divider {
  border-top: 1px solid #000000;
  margin: 40px 0 30px;
}

.footer-copyright {
  font-family: var(--secondary-font);
  color: #000000;
  font-size: 0.9rem;
}


/* Responsive - Mobile */

@media (max-width: 768px){
  .navbar-logo {
    height: 40px;
  }
  
  .navbar-collapse {
    margin-top: 15px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1001;
  }
  
  .nav-link-custom {
    padding: 12px 0 !important;
    border-bottom: none !important;
  }
  
  .nav-link-custom.active {
    color: #ED1C24 !important;
    border-left: 3px solid #ED1C24;
    padding-left: 15px !important;
  }

  .layered-hero{
    min-height: 100vh;
    aspect-ratio: auto;
  }
  
  .content-layer{
    padding-top: 15vh;
  }
  
  .text-layer{
    padding-top: 15vh;
  }
  
  .text-content{
    margin-top: 150px;
    padding: 0 20px;
  }
  
  .tokyo-img{ 
    object-position: center center;
  }
  
  .hero-title{ 
    font-size: clamp(48px, 20vw, 130px);
  }
  
  .hero-subtitle{
    font-size: 14px;
  }
  
  .hero-description{
    font-size: 12px;
  }

  .gradient-transition {
    height: 100px;
    margin-top: -100px;
  }

  .gradient-transition-reverse {
    height: 100px;
  }

  .carousel-inner {
    border-radius: 15px !important;
  }

  .carousel-item img {
    height: 300px !important;
  }

  .carousel-caption {
    bottom: 30px !important;
    max-width: 90%;
  }

  .carousel-caption h3 {
    font-size: 1.5rem !important;
  }

  .carousel-caption p {
    font-size: 0.9rem !important;
  }

  .destination-image {
    height: 280px;
  }

  .activity-icon {
    font-size: 2.5rem;
  }

  .activity-card h4 {
    font-size: 1.3rem;
  }

  .activity-card p {
    font-size: 0.9rem;
  }

  .icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .footer-logo {
    height: 40px;
  }

  .footer-heading {
    margin-top: 30px;
    font-size: 1rem;
  }

  .social-icons {
    margin-bottom: 20px;
  }
}


/* Responsive - Tablet */

@media (min-width: 769px) and (max-width: 1439px){
  .hero-title{
    font-size: clamp(120px, 25vw, 290px);
  }
  
  .content-layer{
    padding-top: 32vh;
  }
  
  .text-layer{
    padding-top: 32vh;
  }
  
  .text-content{
    margin-top: 450px;
  }
}


/* Responsive - Desktop */

@media (min-width: 1440px){
  .layered-hero{
    max-height: 1024px;
  }
  
  .hero-title{
    font-size: clamp(200px, 28vw, 350px);
  }
  
  .content-layer{
    padding-top: 40vh;
  }
  
  .text-layer{
    padding-top: 40vh;
  }
  
  .text-content{
    margin-top: 680px;
  }
}