:root {
  /* Colors */

  --color-ink: #231F1C;
  --color-bg-washi: #F6F0E6;
  --color-bg-linen: #EAE0D0;
  --color-accent-vermilion: #C4533A;
  --color-bg-indigo: #2C3A57;
  --color-gold: #C6A66B;

  /* Optional softer alternative to vermilion */
  --color-accent-sakura-clay: #C97B6B;


  --color-bg-brown: rgb(198, 117, 63);
  --color-bg-dark-brown: #664930;
  --color-bg-green: #305041;
  --color-bg-pink: #F4E3DE;
  --color-bg-cream: hsl(42, 33%, 96%);
  --color-secondary-color: #F4F1EA; /* Beige */
  --color-secondary-color: #F5F2EB; /* Beige */
  --color-secondary-color: #997E67; /* coffee */
  --color-secondary-color: #CCBEB1; /* pinkish beige */
  --color-secondary-color: #FFDBBB; /* cream */
  --color-secondary-color: #c15757; /* Indian red */
  --color-secondary-color: #ED2F4E; /* Che Guevara red */
  --color-secondary-color: #7B1B38; /* Bordeaux */
  --color-secondary-color: #890010 ; /* Wine red */



  --color-heading: gray;
 

  /* Fonts */
}


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

body {
  margin: 0 auto;
  color: #231F1C;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.5rem, 0.91rem + 0.45vw, 1.25rem); 
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.25rem, 8vw, 4rem);
  overflow-wrap: break-word;
}

h2 {
  font-family: "Playfair Display", serif;
  color: #2C3A57;
  font-size: clamp(2rem, 8vw, 3rem);
}

h3 {
  font-family: "Playfair Display", serif;
  color: gray;
  font-size: clamp(1.6rem, 8vw, 1.8rem);
}

h1, h2, h3 {
  padding-bottom: 0.5em;
  line-height: 1.2;
}

h2 .white {
  color: #F6F0E6;
}

h2 .indigo {
  color: #2C3A57;
}

p {
  padding-bottom: 1em;
  line-height: 1.5;
}

li {
  line-height: 1.5;
}

button {
  font: inherit;
  font-size: inherit;
}

/* =======================
  Text Color
===========================*/

.bgc-white h2,
.bgc-white p,
.bgc-white li {
  color: #2C3A57;
}
.bgc-washi h2,
.bgc-washi p,
.bgc-washi li {
  color: #2C3A57; /* Indigo */
}

.bgc-indigo h2,
.bgc-indigo p,
.bgc-indigo li {
  color: #F6F0E6; /* Washi */
}

.bgc-gold h2,
.bgc-gold p,
.bgc-gold li {
  color: #231F1C; /* ink */
}

.bgc-vermillion h2,
.bgc-vermillion p,
.bgc-vermillion li {
  color: #F6F0E6; /* washi */
}

/* =======================
  Section Background Color
===========================*/
.bgc-washi {
  background-color: #F6F0E6;
}

.bgc-linen {
  background-color: #EAE0D0;
}

.bgc-gold {
  background-color: #C6A66B;
}

.bgc-green {
  background-color: #305041;
}

.bgc-brown {
  background-color: rgb(198, 117, 63);
}

.bgc-ivory {
  background-color: #FFFFF0;
}

.bgc-indigo {
  background-color: #2C3A57;
}

.bgc-vermillion {
  background-color: #C4533A;
}

/* =======================
  Layout
===========================*/

.container {
  max-width: 90%; /* Limits how wide the content gets on large screens */
  margin: 0 auto;
  padding: 2em;
  /* border: solid #ff4b33; */
}

/* =======================
  Navbar
===========================*/

.navbar {
  min-height: 100px;
  padding-block: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  /* border: solid blue; */
}

.logo {
  grid-column: 2;
  justify-self: center;
}

.navlink {
  grid-column: 3;
  justify-self: end;
  display: flex;
  list-style: none;
  gap: 1em;
  text-decoration: none;
  color: inherit;
  border-block: dotted 2px #C4533A;
  height: 70px;
  align-items: center;
}

.navlink a {
  color: inherit;
  text-decoration: none;
}



/* =======================
  Hero Section
===========================*/

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80vh;
  overflow: hidden;
  border-radius: 20px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  margin: 3em auto;
  width: 90%;
  max-width: 1100px;
  /* border: solid yellowgreen; */

  @media (min-width: 768px) {
    margin: 5em;
    width: 50%;
    /* border: solid pink; */
  }
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url("images/japan/tokyo.jpg");
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-text {
  color: white;
  width: 100%;  
  /* border: dotted white; */
}

.hero-description {
  max-width: 90%;
}


/* =======================
  Choose from your interest (Bento Grid)
===========================*/

.block {
  border-radius: 15px;
  padding: 15px 15px 22px;
  color: var(--color);
  border-color: var(--color);
  box-shadow: 8px 8px 0 var(--color-shadow, hsla(0, 100%, 100%, 0.4));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.block::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.block:hover {
 transform: translateY(-4px);
 box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); 
}

.block:hover::after {
  opacity: 1;
}
 
.block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex: 1;
  min-height: 0;
}

.block1 { 
  grid-area: html;
  display: flex; 
  flex-direction: column;
  padding: 0;
  
  }
.block2 { 
  grid-area: css;
  display: flex; 
  flex-direction: column;
  padding: 0;
}
.block3 { 
  grid-area: js;
  display: flex; 
  flex-direction: column;
  padding: 0;
}

.block4 { 
  grid-area: cc;
  display: flex; 
  flex-direction: column;
  padding: 0;
}

.bento-headings {
  position: absolute;
  left: 25px;
  top: 5px;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* GRID STYLES */

.grid {
  display: grid;
  gap: 10px;

  grid-auto-rows: 160px;
  grid-template-areas: "html" "css" "js" "cc";

  @media (width >= 40rem) {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 160px);
    grid-template-areas:
      "html css"
      "js   css"
      "cs   cs"
      "cc   cs";
  }

  @media (width >= 50rem) {
    width: 75%;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 170px);
    grid-template-areas:
      "html css js"
      "html css js"
      "html cc cc";
  }
}




/* =======================
  Popular Tours 
===========================*/

.popular-tours-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-min, 260px), 1fr));
  gap: 1em;
}

.tour-card {
  border: none;
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 15px;
  width: 100%;
  border: solid gainsboro 0.5px;
  overflow: hidden;
}


.card-body {
  padding: 1em;
}

.tour-card img {
  width: 100%;
  min-height: 0;
}

.card-button {
  background-color: white;
  border: solid 1px #664930;
  border-radius: 15px;
  padding: 0.5em;
  text-decoration: none;
  color: inherit;
}

.tour-card .card-desc:last-of-type {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.tour-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  padding-bottom: 0;
  margin-bottom: 1em;
}



/* =======================
  Why Omotenashi Tours 
===========================*/

.why-omotenashi {
  display: grid;
  gap: 2em;
  align-items: center;
}

.why-omotenashi-img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

@media (width >= 50rem) {
  .why-omotenashi {
    grid-template-columns: 1fr 1fr;
    gap: 2em;
  }
}

/* =======================
  Activities
===========================*/
.image-container {

}

.activities-image {
  
}

.activity-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1em;
  padding: 1em;
  min-height: 20vh;
}

.activity-card {
  position: relative;
  background-color: white;
  flex-wrap: wrap;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 35vh;
  height: 450px;
  border: solid lightgray 0.5px;
  border-radius: 5%;
  /* padding: 1em; */
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.activity-card h3 {
  position: absolute;
  bottom: 20px;
  left: 50px;
  z-index: 2;
  color: white;
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  padding-bottom: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.4);
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1;
  pointer-events: none;

  opacity: 0;
  transition: opacity 0.4s ease;
}

.activity-card:hover {
 transform: translateY(-4px);
 box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); 
}

.activity-card:hover::after {
  opacity: 1;
}

.activity-card:hover h3 {
  opacity: 1;
  transform: translateY(-4px);
}

.activity-card img {
  width: 100%;
  height: 450px;
  flex: 1;
  object-fit: cover;
  min-height: 0;
  transition: transform 0.4s ease;
}

.activity-card:hover img {
  transform: scale(1.08);
}

.text-overlay {
  font-size: 2rem;
  color: white;
}



/* =======================
  Our Tour Guide
===========================*/

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1em;
  padding: 1em;

  @media (width >= 50rem) {
    width: 90%;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
  }
}

.tour-guide-card {
  background-color: white;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  min-width: 0;
  height: auto;
  overflow: hidden;
  border: solid lightgray 0.5px;
  border-radius: 8px;
  gap: 0.5em;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}


.details {
  background-color: #C4533A;
  /* background-color: #c15757; */
  color: white;
  padding: 0.75em;
  border-radius: 20px;
  border: none;
}

.guide-img {
  width: 100%;
  aspect-ratio: 4 / 2.5;
  object-fit: cover;
  display: block;
}

.card-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.5em 1em 1em;
}

.card-text .details {
  margin-top: auto;
  align-self: flex-start;
}

.details > a {
  color: inherit;
  text-decoration: none;
}

.guide-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  padding-bottom: 0.5em; 
}

.guide-tag li {
  list-style-type: none;
  padding: 0.3em;
  background-color: #F4E3DE;
  border-radius: 10px;
}

.description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  padding-bottom: 0;
  margin-bottom: 1em;
}


/* =======================
  Dynamic Cards Test
===========================

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.5em;
  padding: 1em;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 20px;
  width: 100%;
}

.testimonial-card img {
  width: 100%;
  border-radius: 4px;
  padding-bottom: 1em;
}
*/


/* =======================
  Testimonial Carousel
===========================*/

.testimonial-section {
  max-width: 900px;
  margin: 2rem auto;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hides scrollbar in Firefox */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Hides scrollbar in Chrome/Safari */
}

.testimonial-card {
  flex: 0 0 calc(50% - 0.5rem); /* Shows 1 card at a time; use 48% for 2 cards */
  scroll-snap-align: start;
  box-sizing: border-box;
  padding: 2rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  @media (max-width: 640px) {
    .testimonial-card {
      flex: 0 0 100%;
    }
  }
}

.quote {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #1f2937;
  margin: 0 0 1.5rem 0;
}

.author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: auto;
  overflow: visible;
}

.author img {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;

  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  display: block;
  margin: 0;
}

.author h4 {
  margin: 0;
  font-size: 1rem;
  color: #111827;
}

.author span {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Navigation Dots */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-nav a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background 0.2s ease;
}

.carousel-nav a:hover,
.carousel-nav a:focus {
  background: #2563eb;
}




/* =======================
  FAQ
===========================*/

.faq-container {
  max-width: 80%;
  margin: 0 auto;
  border-radius: 8px;
  padding: 1.25em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-item {
  border-bottom: 1px solid #305041;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #305041 ;
  padding: 1.25em 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  padding-bottom: 1.5em;
  line-height: 1.6;
}

.faq-item.active .faq-icon {
  transform: rotate(35deg);
}

.faq-item.active .faq-answer {
  opacity: 1;
}

/* =======================
  Footer 
===========================*/

.footer {
  border-radius: 15px;
}

.footer-menu {
  display: flex;
  gap: 1em;
  /* border: solid white; */
  width: 80%;
}

.footer-menu ul {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  gap: 0.5em;
}

.footer-menu a {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}



/* =========================================
  Guide's individual page template (Mobile)
========================================= */


.guide-page-header {
  display: flex;
  color: white;
  background-color: #C4533A;
  gap: 1.5em;
  margin: 0;
  border-radius: 15px;
}

.guide-page-header .guide-img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
}


/* =========================================
  Tour individual page (Mobile)
========================================= */


 
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* =========================================
  Desktop
========================================= */

