/* =========================================================
   Luminex Tours - style.css
   Elegant Classic Theme — Mobile-First, Flexbox Only
   ========================================================= */

/* ==========================
   CSS Reset & Normalize
============================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF;
  color: #222;
  font-family: 'Roboto', Cambria, 'Times New Roman', Times, serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  border: none;
  max-width: 100%;
  display: block;
}
a {
  color: #174D59;
  text-decoration: none;
  background: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #29A7C6;
  outline: none;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}

/* ==========================
   Typography (Elegant Classic)
============================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: #174D59;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

p, .footer-row p,
address-block p,
li {
  font-family: 'Roboto', Cambria, 'Times New Roman', Times, serif;
  color: #2a2a2a;
  font-size: 1rem;
  line-height: 1.7;
}
.subheadline {
  font-size: 1.25rem;
  color: #174D59;
  margin-bottom: 24px;
}

/* Typography scale: 14,16,18,24,32,48 (mobile-first) */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .subheadline { font-size: 1.375rem; }
}

/* ==========================
   Layout Containers
============================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
main {
  padding-top: 32px;
  padding-bottom: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ==========================
   Flexbox Content Patterns
============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(23,77,89,0.06);
  padding: 32px 24px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #FAFCFD;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(23,77,89,0.10);
  padding: 20px 28px;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.125rem;
  color: #222;
}
.testimonial-card .author {
  font-size: 0.95em;
  color: #174D59;
  font-weight: 500;
  margin-top: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(23,77,89,0.07);
  margin-bottom: 20px;
  flex: 1 1 210px;
  min-width: 220px;
  transition: box-shadow 0.3s;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(23,77,89,0.14);
}

/* ==========================
   Hero Section & Calls to Action
============================= */
.hero {
  background: #FFEFD9;
  padding: 44px 0;
  border-radius: 0 0 36px 36px;
  margin-bottom: 60px;
  box-shadow: 0 3px 32px 0 rgba(41,167,198,0.028);
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 650px;
}
.hero h1 {
  color: #174D59;
}
.hero .btn {
  margin-top: 18px;
}

/* ==========================
   Buttons
============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 25px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid transparent;
  outline: none;
  cursor: pointer;
  transition: background 0.26s, color 0.18s, border 0.23s, box-shadow 0.24s;
  box-shadow: 0 2px 12px 0 rgba(23,77,89,0.055);
  margin-right: 12px;
}
.btn:last-child {
  margin-right: 0;
}
.btn.primary {
  background: #174D59;
  color: #fff;
  border-color: #174D59;
}
.btn.primary:hover, .btn.primary:focus {
  background: #29A7C6;
  border-color: #29A7C6;
  color: #fff;
}
.btn.secondary {
  background: #FFEFD9;
  color: #174D59;
  border-color: #FFEFD9;
}
.btn.secondary:hover, .btn.secondary:focus {
  background: #29A7C6;
  border-color: #29A7C6;
  color: #fff;
}

/* Elegant link button alternative */
.btn.link {
  background: transparent;
  color: #274e5a;
  border: none;
  box-shadow: none;
  text-decoration: underline;
  padding: 0 4px;
}
.btn.link:hover {
  color: #29A7C6;
}

/* ==========================
   Navigation (Desktop + Mobile)
============================= */
header {
  background: #fff;
  border-bottom: 1.5px solid #E6E6E1;
  box-shadow: 0 2px 14px 0 rgba(23,77,89,0.035);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  height: 80px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  color: #174D59;
  padding: 8px 6px;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #ffe9cd;
  color: #29A7C6;
}
header img {
  max-height: 42px;
  width: auto;
}

/* Hide main nav and CTA on mobile */
@media (max-width: 900px) {
  .main-nav, header .btn.primary {
    display: none;
  }
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #174D59;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 2.0rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.22s, box-shadow 0.16s;
  z-index: 1102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #29A7C6;
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: rgba(23,77,89,0.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.87,0.1,0.29,1.2), opacity 0.24s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  margin: 22px 22px 10px 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 1201;
  outline: none;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.2rem;
  padding: 16px 0 6px 4px;
  border-radius: 4px;
  width: 100%;
  font-weight: 500;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #29A7C6;
  color: #FFEFD9;
}

@media (min-width: 900px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* ==========================
   Footer Layout
============================= */
footer {
  background: #FAFCFD;
  border-top: 1.5px solid #E6E6E1;
  color: #2a2a2a;
  padding: 48px 0 30px 0;
  font-size: 1rem;
  margin-top: 40px;
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}
.footer-row > * {
  margin-bottom: 0;
}
footer img {
  max-height: 36px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 0;
}
.footer-menu a {
  color: #174D59;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  opacity: 0.87;
  transition: color 0.16s;
}
.footer-menu a:hover {
  color: #29A7C6;
  text-decoration: underline;
}
.social-media-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.social-media-links a {
  display: flex;
  align-items: center;
  padding: 0;
}
.newsletter-signup {
  background: #FFEFD9;
  padding: 11px 26px;
  border-radius: 22px;
  color: #2a2a2a;
  font-family: 'Roboto', serif;
  font-size: 1rem;
}
.contact-info-snippet p,
.address-block p,
.phone-email p,
.opening-hours p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 1.03em;
  color: #174D59;
}
footer .contact-info-snippet p,
footer .contact-info-snippet span {
  color: #2a2a2a;
}

@media (min-width: 900px) {
  .footer-row {
    flex-direction: row;
    gap: 48px;
    justify-content: space-between;
    align-items: flex-start;
  }
  .footer-row > * {
    margin-bottom: 0;
  }
}

/* ==========================
   Flexible Feature + Card Grids
============================= */
.feature-grid, .perk-grid, .benefits-grid, .topics-grid, .destination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.feature-grid, .perk-grid, .benefits-grid, .topics-grid {
  align-items: stretch;
  justify-content: flex-start;
}
.perk-item, .benefit-item, .topic-item, .destination-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(23,77,89,0.06);
  padding: 22px 18px;
  flex: 1 1 210px;
  min-width: 230px;
  transition: box-shadow 0.3s;
}
.perk-item:hover, .benefit-item:hover, .topic-item:hover, .destination-item:hover {
  box-shadow: 0 7px 28px 0 rgba(23,77,89,0.12);
}
@media (max-width: 800px) {
  .feature-grid, .perk-grid, .benefits-grid, .topics-grid, .destination-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* ==========================
   Lists and Details
============================= */
.short-list,
.core-values-list {
  list-style: disc;
  margin-bottom: 16px;
  margin-left: 1.2em;
  color: #174D59;
}
.short-list li, .core-values-list li {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.process-steps {
  list-style: decimal inside;
  margin: 14px 0 24px 22px;
  color: #174D59;
}
.process-steps li {
  margin-bottom: 8px;
}
.next-steps-list {
  list-style: circle inside;
  margin: 14px 0 24px 22px;
  color: #174D59;
}
.next-steps-list li {
  margin-bottom: 8px;
}
.adventure-types ul, .interest-categories ul, .travel-tips ul,
.inclusions-icons ul, .icon-list ul {
  list-style: disc;
  margin-bottom: 10px;
  color: #174D59;
}
.adventure-types li, .interest-categories li, .travel-tips li,
.inclusions-icons li, .icon-list li {
  font-size: 1rem;
  margin-bottom: 7px;
  padding-left: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trip-categories-links, .category-filters, .top-destinations-links {
  color: #174D59;
  margin: 16px 0 24px 0;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
.trip-categories-links a, .category-filters a, .top-destinations-links a {
  color: #29A7C6;
  transition: color 0.17s;
}
.trip-categories-links a:hover, .category-filters a:hover, .top-destinations-links a:hover {
  color: #174D59;
}

/* ==========================
   Ratings, Summaries, Icon groups
============================= */
.ratings-summary, .customer-ratings {
  background: #FFF;
  border-radius: 8px;
  padding: 18px 14px 11px 14px;
  box-shadow: 0 2px 9px 0 rgba(23,77,89,0.056);
  color: #174D59;
  font-size: 1.07rem;
  margin-bottom: 16px;
}
.benefit-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin: 14px 0 4px 0;
}
.benefit-icons img {
  width: 32px; height: 32px;
  filter: grayscale(20%) contrast(1.1);
}
.team-highlight {
  background: #FAFCFD;
  padding: 18px 20px;
  border-radius: 14px;
  margin-top: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(23,77,89,0.035);
}

/* ==========================
   FAQ Accordion
============================= */
.faq-accordion h3 {
  cursor: pointer;
  background: #FFEFD9;
  padding: 16px 16px 13px 16px;
  margin-bottom: 0;
  border-radius: 10px 10px 0 0;
  transition: background 0.18s;
  border-bottom: 1px solid #E6E6E1;
  user-select: none;
}
.faq-accordion h3:hover {
  background: #FAFCFD;
}
.faq-accordion div {
  background: #FAFCFD;
  padding: 12px 18px 18px 18px;
  border-radius: 0 0 10px 10px;
  margin-bottom: 20px;
  font-size: 1.04rem;
  color: #2a2a2a;
  display: none;
  animation: fadeIn 0.33s;
}
.faq-accordion .active + div {
  display: block;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ==========================
   Cookies & Privacy Policy / Modal
============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF;
  border-top: 2px solid #E6E6E1;
  box-shadow: 0 -2px 14px 0 rgba(23,77,89,0.07);
  z-index: 3002;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px 18px 18px;
  gap: 18px;
  font-family: 'Roboto', serif;
  font-size: 1.07rem;
  color: #174D59;
  animation: slideInUp 0.55s cubic-bezier(0.86,0.1,0.28,1.0);
}
@keyframes slideInUp {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner .btn {
  min-width: 125px;
  padding: 9px 19px;
  font-size: 1rem;
  box-shadow: none;
  border-radius: 7px;
  border-width: 2px;
}
.cookie-banner .btn.primary {
  background: #174D59;
  color: #fff;
  border-color: #174D59;
}
.cookie-banner .btn.primary:hover {
  background: #29A7C6;
  border-color: #29A7C6;
}
.cookie-banner .btn.secondary {
  background: #fff;
  color: #174D59;
  border-color: #174D59;
}
.cookie-banner .btn.secondary:hover {
  background: #FFEFD9;
  color: #174D59;
}
.cookie-banner .btn.settings {
  background: #FFEFD9;
  color: #174D59;
  border: 2px solid #E6E6E1;
}
.cookie-banner .btn.settings:hover {
  background: #29A7C6;
  color: #fff;
  border-color: #29A7C6;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23, 77, 89, 0.65);
  z-index: 3050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 4px 38px 0 rgba(23,77,89,0.14);
  padding: 38px 28px 28px 28px;
  min-width: 320px;
  max-width: 96vw;
  color: #174D59;
  font-size: 1.07rem;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #174D59;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 13px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #174D59;
}
.cookie-modal .cookie-modal-btns {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  min-width: 110px;
}

/* ==========================
   Responsive Layout
============================= */
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .footer-row, .feature-grid,
  .perk-grid, .benefits-grid, .topics-grid, .destination-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 16px;
  }
  .hero {
    border-radius: 0 0 22px 22px;
    min-height: 220px;
    padding: 34px 0;
  }
  .section {
    margin-bottom: 38px;
    padding: 27px 8px;
  }
  .feature-item, .perk-item, .benefit-item, .topic-item, .destination-item {
    padding: 15px 10px;
    min-width: 0;
  }
  .newsletter-signup {
    padding: 7px 10px;
    font-size: 0.97em;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* Card hover shadow on desktop only */
@media (max-width: 600px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.45rem; }
}

/* ==========================
   Utility Classes
============================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* Spacing between all cards/sections */
.section, .card, .perk-item, .benefit-item, .feature-item,
.topic-item, .destination-item, .testimonial-card {
  margin-bottom: 20px;
}

/* Remove last margin-bottom for proper polish */
.section:last-child, .card:last-child,
.perk-item:last-child, .benefit-item:last-child, .feature-item:last-child,
.topic-item:last-child, .destination-item:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}

/* ==========================
   Microinteractions
============================= */
.card, .perk-item, .feature-item, .topic-item, .destination-item {
  transition: box-shadow 0.22s, transform 0.17s;
}
.card:hover, .perk-item:hover, .feature-item:hover,
.topic-item:hover, .destination-item:hover {
  transform: translateY(-3px) scale(1.014);
  box-shadow: 0 14px 32px 0 rgba(23,77,89,0.13);
  z-index: 3;
}
.btn, .main-nav a, .mobile-nav a {
  transition: background 0.18s, color 0.16s, box-shadow 0.15s, border-color 0.18s;
}

/* ==========================
   Misc. / Details
============================= */
hr {
  border: 0;
  border-top: 1.5px solid #E6E6E1;
  margin: 32px 0;
}
::-webkit-input-placeholder { color: #9BA5AD; opacity: 1; }
::-moz-placeholder { color: #9BA5AD; opacity: 1; }
:-ms-input-placeholder { color: #9BA5AD; opacity: 1; }
::placeholder { color: #9BA5AD; opacity: 1; }

/* Ensure select, textarea fit theme */
select, textarea {
  font-family: 'Roboto', Cambria, Times, serif;
  background: #FAFCFD;
  border-radius: 6px;
  border: 1.5px solid #E6E6E1;
  padding: 9px 11px;
  font-size: 1rem;
  color: #174D59;
  outline: none;
  margin-bottom: 20px;
  transition: border-color 0.18s;
}
select:focus, textarea:focus {
  border-color: #29A7C6;
}

/* ==========================
   Accessibility
============================= */
:focus-visible {
  outline: 2px solid #29A7C6;
  outline-offset: 1px;
}

/* Ensure proper color contrast for testimonials and review sections */
.testimonial-card, .customer-ratings,
.ratings-summary {
  background: #FAFCFD !important;
  color: #174D59 !important;
}
.testimonial-card p, .testimonial-card .author {
  color: #174D59 !important;
}

/* ==========================
   Hide outline for non-keyboard*/
@media (pointer: coarse) {
  :focus { outline: none; }
}
