/* =====================================================
   UKTourMasters - Main Stylesheet
   ===================================================== */

/* --- @font-face Open Sans --- */
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/opensans-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/opensans-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/opensans-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/opensans-extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --color-accent1: #2E8B57;
  --color-accent2: #FF6347;
  --color-link: #006400;
  --color-link-hover: #FFD700;
  --color-btn-bg: #143821;
  --color-btn-text: #ffffff;
  --color-menu-bg: #013A31;
  --color-menu-link: #ffffff;
  --color-footer-bg: #006400;
  --color-footer-text: #ffffff;
  --color-footer-link: #FFD700;
  --color-accordion-bg: #2E8B57;
  --color-fa-icon: #143821;
  --color-card-header: #FF6347;
  --font-base: 'Open Sans', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.6;
  background: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-link-hover); }
ul { list-style: none; }

/* --- Typography --- */
h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 500; }
h4 { font-weight: 400; }
h5 { font-weight: 300; }
.text-primary { color: var(--color-accent2) !important; }

/* --- Topbar --- */
.topbar {
  background: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid #e8e8e8;
}
.topbar .logo-link { display: inline-block; }
.topbar .logo-link img { max-width: 300px; max-height: 120px; width: auto; height: auto; }
.topbar .contact-info { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar .contact-info a { color: #333; font-size: 14px; font-weight: 600; }
.topbar .contact-info a:hover { color: var(--color-accent1); }
.topbar .contact-info .fa-solid { color: var(--color-fa-icon); margin-right: 6px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; }

/* --- Navigation --- */
.navbar-main {
  background: var(--color-menu-bg) !important;
  padding: 0;
  min-height: 50px;
  margin-bottom: 0 !important;
}
.navbar-main + * { margin-top: 0 !important; }
.hero-section { margin-top: 0 !important; }
.navbar-main .navbar-nav .nav-link {
  color: var(--color-menu-link) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 15px 14px;
  transition: color 0.2s, background 0.2s;
}
.navbar-main .navbar-nav .nav-link:hover,
.navbar-main .navbar-nav .nav-link.active {
  color: var(--color-link-hover) !important;
  background: rgba(0,0,0,0.15);
}
.navbar-main .dropdown-menu {
  background: var(--color-menu-bg);
  border: none;
  border-radius: 0;
  padding: 10px 0;
  min-width: 500px;
}
.navbar-main .dropdown-menu .row { padding: 5px 15px; }
.navbar-main .dropdown-item {
  color: var(--color-menu-link);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  transition: all 0.2s;
}
.navbar-main .dropdown-item:hover {
  background: rgba(0,0,0,0.2);
  color: var(--color-link-hover);
}
.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
  padding: 6px 10px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-brand img { max-height: 40px; }

/* --- Hero --- */
.hero-section {
  position: relative;
  max-height: 550px;
  overflow: hidden;
  background-color: #1a1a1a;
}
.hero-section .hero-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  margin-top: -60px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-content {
  color: #fff;
  max-width: 700px;
  padding: 20px;
}
.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  margin-bottom: 15px;
}
.hero-content p {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 25px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.hero-content .btn { margin: 5px; }

/* --- Hero Banner (interior pages) --- */
.hero-banner {
  background: var(--color-btn-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 80px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  width: 100%;
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}
.hero-banner .container { position: relative; z-index: 1; }
.hero-banner h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.hero-banner p { font-size: 1rem; opacity: 0.9; }

/* --- Sections --- */
section { padding: 60px 0; }
.section-title { margin-bottom: 40px; }
.section-title h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-btn-bg);
  margin-bottom: 10px;
}
.section-title p { font-size: 1rem; color: #666; max-width: 600px; }
.section-bg-light { background: #f8f9fa; }
.section-bg-dark { background: var(--color-btn-bg); color: #fff; }

/* --- Bootstrap Overrides --- */
.btn-primary {
  background: var(--color-btn-bg) !important;
  border-color: var(--color-btn-bg) !important;
  color: var(--color-btn-text) !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 4px;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--color-accent1) !important;
  border-color: var(--color-accent1) !important;
  transform: translateY(-1px);
}
.btn-outline-primary {
  border-color: var(--color-btn-bg) !important;
  color: var(--color-btn-bg) !important;
  font-weight: 600;
}
.btn-outline-primary:hover {
  background: var(--color-btn-bg) !important;
  color: #fff !important;
}
.btn-danger {
  background: var(--color-accent2) !important;
  border-color: var(--color-accent2) !important;
}
.btn-light {
  background: #fff;
  color: var(--color-btn-bg);
  font-weight: 600;
}
.btn-light:hover { background: var(--color-link-hover); color: var(--color-btn-bg); }

/* Accordion */
.accordion-button {
  background: var(--color-accordion-bg) !important;
  color: #fff !important;
  font-weight: 600;
}
.accordion-button:not(.collapsed) {
  background: var(--color-btn-bg) !important;
  color: #fff !important;
  box-shadow: none;
}
.accordion-button::after { filter: invert(1); }

/* Tabs */
.nav-tabs .nav-link { color: var(--color-btn-bg); font-weight: 600; }
.nav-tabs .nav-link.active {
  color: #fff !important;
  background: var(--color-btn-bg) !important;
  border-color: var(--color-btn-bg) !important;
}
.nav-tabs .nav-link:hover { color: var(--color-accent1); }

/* --- Cards --- */
.card { border: none; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.card-header {
  background: var(--color-card-header) !important;
  color: #fff !important;
  font-weight: 700;
  border: none;
  padding: 12px 16px;
}
.card-img-top { height: 220px; object-fit: cover; }
.card .fa-solid:not([style]), .card .fa-regular:not([style]) { color: var(--color-fa-icon); }
.card-price { font-size: 1.4rem; font-weight: 800; color: var(--color-accent2); }

/* --- Benefits Cards --- */
.benefit-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.benefit-card:hover { transform: translateY(-4px); }
.benefit-card .fa-solid:not([style]) { font-size: 2.5rem; color: var(--color-fa-icon); margin-bottom: 15px; }
.benefit-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }

/* --- Parallax Section --- */
.parallax-section {
  background-image: url('/img/hero.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 80px 0;
  color: #fff;
  text-align: center;
}
.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 56, 33, 0.75);
}
.parallax-section .container { position: relative; z-index: 1; }
.parallax-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 15px; }
.parallax-section p { font-size: 1.1rem; margin-bottom: 25px; opacity: 0.9; }

/* --- Steps (How to Apply) --- */
.step-item {
  text-align: center;
  padding: 20px;
}
.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-accent2);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}
.step-item .fa-solid:not([style]) { font-size: 2rem; color: var(--color-fa-icon); margin-bottom: 12px; }

/* --- Destinations Tiles --- */
.destination-tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.destination-tile img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s; }
.destination-tile:hover img { transform: scale(1.05); }
.destination-tile .tile-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 56, 33, 0.85);
  color: #fff;
  text-align: center;
  padding: 12px;
  font-weight: 700;
  font-size: 1rem;
}

/* --- Gallery --- */
.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  transition: opacity 0.3s;
}
.gallery-img:hover { opacity: 0.85; }

/* --- Pricing Table --- */
.pricing-table { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.08); }
.pricing-header {
  background: var(--color-btn-bg);
  color: #fff;
  padding: 20px;
  text-align: center;
}
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--color-accent2); }
.pricing-body { padding: 20px; }
.pricing-body li { padding: 8px 0; border-bottom: 1px solid #eee; }
.pricing-body li .fa-check { color: var(--color-accent1); margin-right: 8px; }
.pricing-body li .fa-times { color: #dc3545; margin-right: 8px; }

/* --- Breadcrumbs --- */
.breadcrumb-wrap { background: #f8f9fa; padding: 12px 0; border-bottom: 1px solid #e8e8e8; }
.breadcrumb { margin: 0; background: none; padding: 0; }
.breadcrumb-item + .breadcrumb-item::before { color: #999; }
.breadcrumb-item a { color: var(--color-link); font-size: 13px; }
.breadcrumb-item.active { color: #666; font-size: 13px; }

/* --- Table styles --- */
.table-custom { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.table-custom thead { background: var(--color-btn-bg); color: #fff; }
.table-custom tbody tr:hover { background: #f0f8f0; }

/* --- Contact Cards --- */
.contact-card {
  text-align: center;
  padding: 35px 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card .fa-solid { font-size: 2.5rem; color: var(--color-fa-icon); margin-bottom: 15px; }

/* --- FA Icons --- */
.fa-solid, .fa-regular, .fa-brands { color: var(--color-fa-icon); }
.fa-check-circle, .fa-check { color: var(--color-accent1); }
.fa-times-circle, .fa-xmark { color: #dc3545; }
.fa-circle-check { color: var(--color-accent1); }
.fa-circle-xmark { color: #dc3545; }
[style*="color"] .fa-solid, [style*="color"] .fa-regular { color: inherit !important; }
.icon-white .fa-solid, .icon-white .fa-regular { color: #fff !important; }
.fa-lg-accent { font-size: 1.8rem; color: var(--color-accent2) !important; }

/* --- Disclaimer --- */
.disclaimer-section {
  background: var(--color-btn-bg);
  color: #fff;
  padding: 20px 0 50px;
  text-align: center;
  margin-top: 0 !important;
}
.disclaimer-section p { font-size: 12px; opacity: 0.85; max-width: 900px; margin: 0 auto; line-height: 1.5; }

/* --- Footer --- */
footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 50px 0 20px;
  margin-top: 0 !important;
}
footer a { color: var(--color-footer-link); }
footer a:hover { color: #fff; }
footer h5 { color: #fff; font-weight: 700; margin-bottom: 15px; font-size: 1rem; }
footer p { font-size: 13px; opacity: 0.9; }
footer ul li { margin-bottom: 6px; }
footer ul li a { font-size: 13px; }
footer .footer-logo { max-width: 200px; margin-bottom: 15px; }
.footer-divider { border-color: rgba(255,255,255,0.2); margin: 20px 0; }
.footer-bottom {
  text-align: center;
  padding-top: 15px;
  font-size: 12px;
  opacity: 0.7;
}
footer .fa-solid { color: var(--color-footer-link); margin-right: 6px; }

/* --- Animations --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Misc --- */
.text-accent { color: var(--color-accent2); }
.bg-accent1 { background: var(--color-accent1); }
.bg-dark-green { background: var(--color-btn-bg); }
.badge-price {
  background: var(--color-accent2);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}
.icon-list li, .list-unstyled li { padding: 6px 0; }
.icon-list li .fa-solid, .list-unstyled li .fa-solid,
.icon-list li .fa-regular, .list-unstyled li .fa-regular { margin-right: 8px; }
.list-unstyled li [style*="color:#2E8B57"] { color: #2E8B57 !important; }
.list-unstyled li [style*="color:#FF6347"] { color: #FF6347 !important; }
.tour-meta { display: flex; gap: 15px; flex-wrap: wrap; color: #666; font-size: 14px; margin-bottom: 15px; }
.tour-meta .fa-solid { margin-right: 5px; }
.inclusion-list li { padding: 6px 0; border-bottom: 1px solid #eee; }
.inclusion-list li:last-child { border: none; }
.review-card { background: #fff; border-left: 4px solid var(--color-accent2); padding: 20px; border-radius: 4px; }
.review-stars { color: #FFD700; }
.section-divider { height: 4px; background: var(--color-accent2); width: 60px; margin: 10px 0 20px; }
.about-img { border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.tip-card { border-left: 4px solid var(--color-accent1); padding-left: 15px; margin-bottom: 20px; }

/* --- Responsive --- */
@media (max-width: 991px) {
  .navbar-main .dropdown-menu { min-width: 100%; }
  .hero-section .hero-img { height: 400px; }
  .hero-content h1 { font-size: 1.7rem; }
  section { padding: 40px 0; }
  .parallax-section { background-attachment: scroll; }
}
@media (max-width: 767px) {
  .topbar .contact-info { gap: 10px; }
  .hero-section .hero-img { height: 320px; }
  .hero-content h1 { font-size: 1.4rem; }
  .hero-content p { font-size: 0.95rem; }
  section { padding: 30px 0; }
  .card-img-top { height: 180px; }
  .destination-tile img { height: 160px; }
  .navbar-main .navbar-nav { padding: 10px 0; }
  .navbar-main .dropdown-menu { min-width: unset; }
  .benefit-card { margin-bottom: 20px; }
  .footer-logo { max-width: 150px; }
}
@media (max-width: 480px) {
  .hero-content { padding: 15px; }
  .hero-content h1 { font-size: 1.2rem; }
  .btn { padding: 8px 16px; font-size: 14px; }
}
