/* 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, 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,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* Box sizing */
*, *:before, *:after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAF6F2;
  color: #2E2E2E;
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #154073;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #39A7C1;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #154073;
  letter-spacing: .01em;
}
h1 {font-size: 2.25rem; margin-bottom: 18px;}
h2 {font-size: 1.75rem; margin-bottom: 16px;}
h3 {font-size: 1.25rem; margin-bottom: 12px; color: #154073;}
h4, h5, h6 {font-size: 1.1rem;margin-bottom: 10px;}
p {margin-bottom: 16px; color: #413D39;}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(39,50,55,0.06);
  padding: 32px 24px;
  margin-bottom: 0;
}

/* Spacing and Section Patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(39,50,55,0.11);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(39,50,55,0.19);
  transform: translateY(-4px) scale(1.025);
}
.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;
  align-items: center;
  gap: 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(39,50,55,0.08);
  padding: 20px;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 370px;
  flex: 1 1 260px;
  flex-direction: column;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6E9C9;
  border-radius: 13px;
  padding: 22px 18px;
  min-width: 220px;
}

/* BRAND COLORS / BUTTONS / CTAS */
.cta-primary,
button, .button, input[type="submit"] {
  display: inline-block;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: bold;
  padding: 13px 32px;
  border: none;
  border-radius: 32px;
  color: #154073;
  background: #F6E9C9;
  box-shadow: 0 2px 8px rgba(255, 206, 110, 0.13);
  cursor: pointer;
  transition: background 0.17s, color 0.18s, transform 0.12s;
  letter-spacing: 0.02em;
  margin-top: 8px;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus,
.button:hover, button:hover, input[type="submit"]:hover {
  background: #FFD482;
  color: #154073;
  transform: translateY(-2px) scale(1.03);
}
.cta-primary:active { background: #FFE2A6; }
.cta-primary:disabled {
  background: #EAEAEA;
  color: #BDC0C6;
  cursor: not-allowed;
}

/* MAIN NAVIGATION */
header {
  width: 100%;
  background: #154073;
  box-shadow: 0 2px 12px 0 rgba(21,64,115,.04);
  position: relative;
  z-index: 900;
  min-height: 60px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 20px;
  width: 100%;
}
.main-nav a {
  color: #FFF;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: none;
  border-radius: 28px;
  padding: 8px 18px;
  transition: background 0.2s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #39A7C1;
  color: #FFF;
}
.main-nav .cta-primary {
  background: #F6E9C9;
  color: #154073;
  border-radius: 32px;
  margin-left: auto;
  margin-right: 0;
  box-shadow: 0 2px 10px rgba(255, 206, 110, 0.10);
}
header img[alt="Stellar Beam Tours"] {
  height: 38px;
  width: auto;
  margin-right: 20px;
}

/* Desktop: Hide burger */
.mobile-menu-toggle { display: none; }

/* HERO SECTION */
.hero-section {
  background: linear-gradient(110deg, #F6E9C9 65%, #FFFBEA 100%);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  box-shadow: 0 7px 40px 0 rgba(21,64,115,0.11);
  padding: 56px 0 60px 0;
  margin-bottom: 60px;
  min-height: 320px;
}
.hero-section h1 {
  color: #154073;
  font-size: 2.65rem;
  margin-bottom: 18px;
}
.hero-section p {
  font-size: 1.15rem;
  color: #413D39;
  margin-bottom: 28px;
  font-family: 'Roboto', Arial, sans-serif;
}
.hero-section .cta-primary {
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

/* FEATURES GRID, CARDS & TOURS */
.features-grid,
.tour-categories,
.route-highlights,
.highlighted-tours {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.features-grid > div,
.tour-categories > article,
.route-highlights > article {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 14px 0 rgba(39,50,55,0.09);
  padding: 24px 18px 18px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 290px;
  transition: box-shadow 0.18s, transform 0.24s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.features-grid > div img,
.tour-categories > article img,
.route-highlights > article img {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 10px;
}
.features-grid > div:hover,
.tour-categories > article:hover,
.route-highlights > article:hover {
  box-shadow: 0 12px 38px 0 rgba(79, 143, 188, 0.14);
  transform: translateY(-3px) scale(1.017);
}

/* HIGHLIGHTED/RECOMMENDED */
.highlighted-tours {
  background: #F6E9C9;
  border-radius: 15px;
  flex-direction: column;
  padding: 22px 24px 14px 24px;
  margin-top: 18px;
}
.highlighted-tours h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

/* TESTIMONIALS */
.testimonials {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 0;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(39,50,55,0.12);
  padding: 20px 22px;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 270px;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 1.08rem;
  color: #2E2E2E;
}
.testimonial-card p {
  margin-bottom: 6px;
  font-size: 1.08rem;
  color: #2E2E2E;
}
.testimonial-card .stars {
  color: #FFD482;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #6D6043;
  font-style: italic;
}

/* CTA SECTION */
.cta-section {
  background: #154073;
  color: #FFF;
  border-radius: 32px;
  box-shadow: 0 4px 26px 0 rgba(21,64,115,0.13);
  padding: 44px 0 46px 0;
  margin: 64px 0 30px 0;
  text-align: center;
}
.cta-section h2, .cta-section p {
  color: #FFF;
}
.cta-section .cta-primary {
  background: #F6E9C9;
  color: #154073;
  margin-top: 18px;
}

/* TABLE STYLES */
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  background: #FFF;
  box-shadow: 0 2px 14px rgba(39,50,55,0.06);
  margin-bottom: 20px;
  font-size: 1rem;
}
thead th {
  background: #F6E9C9;
  color: #154073;
  padding: 16px 10px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 700;
}
tbody td {
  padding: 14px 9px;
  border-bottom: 1px solid #F3EFE0;
  color: #413D39;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  padding: 34px 15px 20px 15px;
  background: #154073;
  color: #fff;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}
.footer-nav a {
  color: #F6E9C9;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 8px 6px;
  border-radius: 16px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover {
  background: #39A7C1;
  color: #FFF;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  font-size: 0.97rem;
}
.contact-details span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #FFF;
}
.contact-details img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1) sepia(0.7) saturate(0.7) hue-rotate(-10deg);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 13px;
  right: 22px;
  background: #F6E9C9;
  color: #154073;
  font-size: 2rem;
  padding: 6px 14px 7px 14px;
  border: none;
  border-radius: 50%;
  z-index: 1021;
  box-shadow: 0 2px 14px 0 rgba(255,206,110,0.13);
  cursor: pointer;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { background: #FFD482; }
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(21,64,115,0.98);
  z-index: 1020;
  padding: 0 0 0 0;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.24,.9,.5,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F6E9C9;
  color: #154073;
  border: none;
  font-size: 2.28rem;
  padding: 8px 17px;
  border-radius: 50%;
  margin: 14px 22px 0 0;
  align-self: flex-end;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(255,206,110,0.13);
  transition: background 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { background: #FFD482; }
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  margin-top: 10px;
  padding-top: 20px;
}
.mobile-nav a {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.22rem;
  color: #F6E9C9;
  padding: 18px 34px;
  width: 100%;
  border-radius: 0;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #39A7C1;
  color: #FFF;
}

/* MODAL OVERLAY (FOR COOKIES) */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,64,115,0.65);
  z-index: 2001;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #FFF;
  border-radius: 16px;
  padding: 36px 28px 30px 28px;
  box-shadow: 0 6px 44px 0 rgba(21,64,115,0.14);
  min-width: 290px;
  max-width: 98vw;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: #154073;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  width: 17px; height: 17px;
  accent-color: #39A7C1;
  margin-right: 4px;
  vertical-align: middle;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.cookie-modal .cta-primary, .cookie-modal button {
  min-width: 110px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  width: 99vw;
  max-width: 490px;
  background: #FFF;
  color: #413D39;
  border-radius: 18px;
  box-shadow: 0 3px 36px 0 rgba(21,64,115,0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 32px 24px 32px;
  z-index: 2000;
  font-size: 1.07rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, bottom 0.18s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  bottom: 32px;
}
.cookie-banner .cookie-banner-actions {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 2px;
}
.cookie-banner button, .cookie-banner .cta-primary {
  min-width: 102px;
  padding: 11px 22px;
  font-size: 1rem;
  margin-top: 0;
}
.cookie-banner .cta-primary { background: #39A7C1; color: #FFF; }
.cookie-banner .cta-primary:hover { background: #154073; color: #FFF; }
.cookie-banner .btn-reject {
  background: #FFE2A6;
  color: #9E7421;
  border-radius: 28px;
  border: 0;
  font-weight: bold;
}
.cookie-banner .btn-reject:hover {
  background: #FFD482;
  color: #694F0C;
}
.cookie-banner .cookie-banner-settings {
  background: #E3EFF5;
  color: #154073;
  border-radius: 28px;
  border: 0;
  font-weight: bold;
}
.cookie-banner .cookie-banner-settings:hover {
  background: #C1E5F2;
}

/* FORM & INPUTS (if used in future) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1.5px solid #EDF2F6;
  border-radius: 12px;
  background: #FFF;
  color: #2E2E2E;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #39A7C1;
  outline: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
  .features-grid > div, .tour-categories > article, .route-highlights > article {
    min-width: 180px;
    max-width: 49vw;
  }
}
@media (max-width: 900px) {
  .main-nav, .footer-nav { gap: 10px; }
  .hero-section {padding: 38px 0 42px 0;}
  .footer-nav { font-size: 0.99rem; }
  .features-grid, .testimonials { flex-wrap: wrap; gap: 18px; }
}
@media (max-width: 800px) {
  .contact-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .main-nav img[alt="Stellar Beam Tours"] { height: 32px; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
    max-width: 100vw;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
  .hero-section {
    padding-top: 32px;
    padding-bottom: 36px;
    border-radius: 0;
    min-height: unset;
  }
  .section {
    padding: 36px 3px;
    margin-bottom: 32px;
  }
  .cta-section {
    padding: 29px 0 25px 0;
    margin: 36px 0 18px 0;
    border-radius: 17px;
  }
  .testimonials {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    padding: 16px 10px;
    font-size: 1rem;
  }
  .features-grid, .tour-categories, .route-highlights {
    flex-direction: column;
    gap: 14px;
  }
  .features-grid > div, .tour-categories > article, .route-highlights > article {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding-left: 11px;
    padding-right: 11px;
  }
  .highlighted-tours {
    padding: 12px 10px;
  }
  table {
    font-size: 0.93rem;
    box-shadow: 0 0 5px rgba(39,50,55,0.06);
  }
  tfoot td, thead th, tbody td  {
    padding: 9px 3px; font-size: 0.97rem;
  }
}
@media (max-width: 530px) {
  .container {padding-left: 3px; padding-right: 3px;}
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.08rem; }
  .hero-section h1 { font-size: 1.38rem; }
  .hero-section p { font-size: 0.99rem; }
  .content-wrapper, .text-section { padding: 11px 4px; gap: 15px;}
  .cta-primary, .button, button, input[type="submit"] {
    padding: 11px 14px;
    font-size: 0.97rem;
  }
  .testimonials { gap: 6px; }
  .testimonial-card { padding: 10px 4px;}
  .cookie-banner { padding: 18px 8px 15px 10px; font-size: 0.99rem;}
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  :root {
    --warm-popup-anim: cubic-bezier(.26,1.25,.42,1);
  }
  .mobile-menu,
  .mobile-menu.open {
    transition: transform 0.36s var(--warm-popup-anim);
  }
  .cookie-banner,
  .cookie-banner.visible {
    transition: opacity 0.28s var(--warm-popup-anim),
      bottom 0.18s var(--warm-popup-anim);
  }
  .cookie-modal, .cookie-modal-overlay {
    transition: opacity 0.2s var(--warm-popup-anim);
  }
}
/* SCROLLBAR for accessibility */
::-webkit-scrollbar {
  width: 8px;
  background: #FAF6F2;
}
::-webkit-scrollbar-thumb {
  background: #FFE2A6;
  border-radius: 11px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFD482;
}

/* HIGHLIGHT FOCUS */
:focus-visible {
  outline: 2.3px solid #154073;
  outline-offset: 2px;
}

/* Misc tweaks for friendly feel */
.text-section, .card, .testimonial-card, .feature-item, .cookie-modal, .cookie-banner {
  border-radius: 18px;
}
.hero-section, .cta-section, footer {
  border-radius: 32px;
}

/* Utility Margin and Padding */
.mt-14 { margin-top: 14px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-40 { margin-bottom: 40px !important; }
.pt-12 { padding-top: 12px !important; }
.pb-12 { padding-bottom: 12px !important; }

/* END OF CSS */
