@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, 'Times New Roman', Times, serif;
}

:root {
  font-size: clamp(0.875rem, 0.5vw + 0.75rem, 1.125rem);

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --fluid-header: clamp(1.75rem, 4vw + 1rem, 3.5rem);

  --text-dark-red: #851817;
  --red-dark-accent: #641312;
  --red-light-accent: #B94A48;
  --grey: #66686C;
  --grey-light: #F1F2F2;
  --grey-border: #D9DADC;
  --white: #FFFFFF;
  --text-dark: #303236;
  --bg-light: #FFFFFF;
  --bg-warm: #F1F2F2;

  --bg-main: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-warm) 100%);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
}

.main {
  margin: auto;
  width: min(90%, 75rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: var(--space-lg) var(--space-md);
  align-items: center;
}

.site-wrapper {
  width: min(100% - 2rem, 80rem);
  margin-inline: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
}

.nav-bar {
  background: var(--bg-light);
  width: 100%;
  margin-inline: auto;
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 18px rgba(117, 18, 20, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.nav-upper,
.nav-lower {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.nav-upper {
  padding: 0.65rem clamp(1rem, 4vw, 2rem);
  background: var(--text-dark-red);
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--grey);
}

.nav-upper a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.75rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.language-switch:hover {
  background: var(--white);
  color: var(--text-dark-red);
}

.nav-upper > span {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-lower {
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  background: var(--bg-light);
}

.brand-logo {
  width: 150px;
  height: 48px;
  object-fit: contain;
}

.footer {
  width: 100%;
  margin-inline: auto;
  background: var(--red-light-accent);
  color: var(--bg-light);
  box-shadow: 0 8px 18px rgba(117, 18, 20, 0.12);
  border-radius: 15px;
  margin-bottom: var(--space-sm);
}

.footer-inner {
  width: min(90%, 75rem);
  margin: 0 auto;
  padding: 2.5rem 1rem 1.25rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand .brand-logo {
  width: 180px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.footer-brand h3,
.footer-col h4 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.footer-brand p,
.footer-col p,
.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  width: min(90%, 75rem);
  margin: 0 auto;
  padding: 1rem 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.nav-link {
  display: flex;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
  font-weight: 600;
}

.nav-link-btn {
  color: var(--text-dark-red);
  background-color: transparent;
  border-radius: 5px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  justify-content: center;
}

.nav-link-btn:hover {
  color: var(--bg-light);
  background-color: var(--red-light-accent);
  transform: translateY(-2px);
}

.external-link-btn {
  color: white;
  background-color: #001D75;
  border-radius: 20px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  justify-content: center;
  text-align: center;
}

.external-link-btn:hover {
  background-color: #EBC731;
  color: #001D75;
  transform: translateY(-2px);
}

.nav-brand{
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-brand span{
  color: var(--text-dark-red);
  font-weight: 800;
  font-family: "Playfair Display", Georgia, 'Times New Roman', Times, serif;
}

.right-links{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.about-header {
  text-align: center;
  padding-bottom: 0.5rem;
  
}

.about-header h1 {
  color: var(--text-dark-red);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: bold;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.about-image {
  min-height: 320px;
  background: linear-gradient(135deg, rgba(133, 24, 23, 0.25), rgba(48, 50, 54, 0.15)), url('../assets/bus.jfif') center/cover no-repeat;
  border-radius: 18px;
  box-shadow: 10px 10px 4px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.tours-image {
  border-radius: 18px;
  box-shadow: 10px 10px 4px rgba(0, 0, 0, 0.2);
  width: 50%;
  height: auto;
  display: block;
}

.about-panel,
.feature-card,
.stat-box {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: 10px 10px 4px rgba(0, 0, 0, 0.12);
}

.about-panel {
  padding: 1.5rem;
}

.about-panel h2 {
  margin-bottom: 0.8rem;
  color: var(--text-dark-red);
  font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.about-panel p {
  margin-bottom: 0.9rem;
  line-height: 1.7;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-box {
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: var(--space-md);
}

.stat-box strong {
  color: var(--text-dark-red);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: 1rem;
}

.feature-card {
  padding: 1.25rem;
  text-decoration: none;
}

.feature-card img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.6rem;
  color: var(--text-dark-red);
}

.feature-card p {
  line-height: 1.7;
}

.home-page {
  width: min(94%, 75rem);
  gap: 1.5rem;
}

.home-page .bg-image {
  width: 100%;
  height: clamp(20rem, 45vw, 32rem);
  box-shadow: none;
}

.home-hero {
  align-self: flex-start;
  width: min(92%, 42rem);
  margin-top: -2rem;
  position: relative;
  text-align: start;
  box-shadow: 0 8px 24px rgba(48, 50, 54, 0.16);
}

.home-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.home-hero .right-links {
  margin-top: 1rem;
}

.home-intro,
.home-cta {
  width: 100%;
  box-shadow: none;
  border-top: 1px solid var(--grey-border);
  border-radius: 0;
  text-align: start;
}

.home-intro h2,
.home-cta h2 {
  margin-bottom: 0.4rem;
  color: var(--text-dark-red);
}

.home-cta .nav-link {
  width: fit-content;
  margin-top: 0.75rem;
}

.hero-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 10px 10px 4px rgba(0, 0, 0, 0.2); 
  padding: 1.25rem;
  border-radius: 12px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.hero-card h1,h2 {
  margin-bottom: 0.35rem;
  color: var(--text-dark-red);
}

.hero-card p {
  line-height: 1.6;
}

.bg-image {
  height: 280px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 10px 10px 4px rgba(0, 0, 0, 0.5);
}

.bg-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.contacts{
  width: 100%;
}

.contact-card {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(133, 24, 23, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 242, 242, 0.9));
}

.contact-details {
  border-collapse: separate;
  border-spacing: 0.75rem;
  margin: 0.5rem -0.75rem -0.75rem;
  width: calc(100% + 1.5rem);
}

.contact-details td {
  width: 50%;
  padding: 1rem;
  vertical-align: top;
  border: 1px solid rgba(133, 24, 23, 0.14);
  border-radius: 10px;
  background: rgba(241, 242, 242, 0.7);
  color: var(--text-dark-red);
  line-height: 1.55;
}

.contact-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--grey);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

td{
  padding: var(--space-sm);
  text-align: start;
}

@media (max-width: 600px) {

  .right-links {
    justify-content: center;
  }

  .tours-image{
    width: 70%;
  }

  .about-image {
    min-height: 200px;
  }

  .contact-details {
    border-spacing: 0.5rem;
    margin-inline: -0.5rem;
    width: calc(100% + 1rem);
  }

  .contact-details tr,
  .contact-details td {
    display: block;
    width: 100%;
  }

  .contact-details td {
    margin-bottom: 0.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem 1rem;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }

  .nav-lower{
    justify-content: center;
    align-items: center;
  }

  .about-layout{
    display: block;
  }

  .about-image {
    margin-bottom: 1.5rem;
  }

  .stats-row{
    display: block;
  }

  .feature-grid{
    display: flex;
    justify-content: space-around;
  }

  .feature-card{
    margin-top: var(--space-md);
  }
}


@keyframes fade-scroll {
  entry 0% {
    opacity: 0;
    transform: translateY(30px);
  }
  entry 100% {
    opacity: 1;
    transform: translateY(0);
  }
  exit 0% {
    opacity: 1;
    transform: translateY(0);
  }
  exit 100% {
    opacity: 0;
    transform: translateY(-30px);
  }
}

.fade-element {
  animation: fade-scroll linear both;
  animation-timeline: view();
  animation-range: entry 10% cover 30% exit 0% exit 100%;
}

.external-link{
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.external-link:hover{
  color: var(--text-dark-red);
  background-color: var(--white);
  border-color: var(--white);
}