/* =========================================================
   CSS RESET & BASE STYLES for UNIQUE TREK BEAUTY
========================================================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #222;
  background: #F8F8F8;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  letter-spacing: 0.02em;
}
:root {
  --brand-primary: #234675;
  --brand-primary-rgb: 35,70,117;
  --brand-secondary: #ffffff;
  --brand-accent: #AA751F;
  --brand-accent-soft: #D39D5B;
  --background: #F8F8F8;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --card-radius: 16px;
  --shadow: 0 4px 24px rgba(35,70,117,0.10);
  --shadow-hover: 0 8px 32px rgba(35,70,117, 0.15);
  --focus-stroke: 0 0 0 2px #AA751F inset;
  --text-dark: #222;
  --text-light: #fff;
}
@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
}

/* =========================================================
   TYPOGRAPHY & FONT SCALE
========================================================= */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 24px;
  line-height: 1.2;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brand-accent);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 500;
}
p, ul, ol, li, table, th, td {
  font-family: var(--font-body);
  color: #222;
  font-size: 1rem;
}
p, .subheadline {
  margin-bottom: 20px;
}
.subheadline {
  font-family: var(--font-body);
  color: #555;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--brand-accent);
  outline: none;
}
strong {
  color: var(--brand-accent);
  font-weight: 600;
}

/* LIST SPACING */
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* =========================================================
   FLEXBOX CONTAINER UTILITIES
========================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}

/* CARD & FLEX LAYOUTS */
.card-container, .service-list, .team-members, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .service-item, .testimonial-card, .text-section {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid, .card-container, .service-list, .team-members, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--brand-secondary);
  padding: 32px 28px;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  min-width: 0;
  margin-bottom: 20px;
  border-left: 6px solid var(--brand-accent);
  transition: box-shadow 0.3s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.03);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #ece6dd;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.01);
}

/* =========================================================
   HEADER & MAIN NAVIGATION
========================================================= */
header {
  background: var(--brand-secondary);
  box-shadow: 0 2px 8px rgba(35,70,117,0.05);
  padding: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--brand-primary);
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  transition: color 0.16s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--brand-accent);
  transition: width 0.17s cubic-bezier(.61,-0.2,.81,.74);
  position: absolute;
  left: 0; bottom: -4px;
}
.main-nav a:focus, .main-nav a:hover {
  color: var(--brand-accent);
}
.main-nav a:focus:after, .main-nav a:hover:after {
  width: 100%;
}
.main-nav .primary-cta {
  margin-left: 18px;
}
.primary-cta {
  display: inline-block;
  background: var(--brand-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  padding: 11px 30px;
  box-shadow: 0 2px 12px rgba(170,117,31, 0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  cursor: pointer;
  text-align: center;
  outline: none;
}
.primary-cta:hover, .primary-cta:focus {
  background: #c59b43;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 24px rgba(170,117,31,0.13);
}

/* Mobile: Show burger, hide nav */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--brand-primary);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.16s;
  z-index: 2100;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--brand-accent-soft);
  color: #fff;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========================================================
   MOBILE MENU (SLIDE IN FROM RIGHT)
========================================================= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -4px 0 28px rgba(35,70,117,0.11);
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 100%;
  max-width: 350px;
  z-index: 2500;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.33s cubic-bezier(.65,-0.29,.58,.98), opacity 0.18s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--brand-accent);
  font-size: 2rem;
  position: absolute;
  top: 22px;
  right: 22px;
  cursor: pointer;
  z-index: 5;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--brand-accent-soft);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 70px;
  gap: 20px;
  width: 100%;
  padding: 0 30px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding: 13px 0;
  color: var(--brand-primary);
  font-weight: 500;
  border-bottom: 1px solid #eee;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--brand-accent);
  background: #fff6ea;
  border-radius: 8px;
}

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

/* Overlay background (on .mobile-menu open you may fade in a dark overlay in main.js) */
.mobile-menu-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,28,36,0.32);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.mobile-menu-bg.open {
  opacity: 1;
  pointer-events: all;
}

/* =========================================================
   HERO & CTA SECTIONS
========================================================= */
.hero {
  background: linear-gradient(112deg, #fff 77%, #f5ebdc 100%);
  padding: 55px 0 38px 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 680px;
}
.hero h1, .hero .subheadline {
  color: var(--brand-primary);
}
.hero .primary-cta {
  background: var(--brand-accent);
  color: #fff;
  margin-top: 20px;
  font-size: 1.2rem;
  min-width: 200px;
}

/* =========================================================
   SERVICE CARDS & LISTS
========================================================= */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.service-item {
  flex: 1 1 240px;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 26px 20px 22px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1.2px solid #eee;
  position: relative;
  transition: box-shadow 0.22s, transform 0.18s;
}
.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  color: var(--brand-accent);
  font-weight: 600;
  margin-bottom: 7px;
}
.service-item .price, .service-item strong {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 8px;
  letter-spacing: 0.01em;
}
.service-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.02);
}

/* =========================================================
   ABOUT, TEAM, FEATURES, VALUE SECTIONS
========================================================= */
.about ul, .features ul {
  padding-left: 28px;
  margin-bottom: 10px;
}
.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 22px 16px 11px 16px;
  border-left: 4px solid var(--brand-accent-soft);
  margin-bottom: 20px;
}
.values-section {
  margin-top: 34px;
}
.values-section h3 {
  margin-bottom: 8px;
}

/* =========================================================
   PRICING TABLE
========================================================= */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 16px 14px;
  font-size: 1rem;
  border-bottom: 1px solid #ece6dd;
}
.pricing-table th {
  background: var(--brand-accent-soft);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table td {
  color: #313131;
}

/* =========================================================
   TESTIMONIALS SECTION
========================================================= */
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.star-rating {
  color: var(--brand-accent);
  font-size: 1.4em;
  font-family: var(--font-display);
  margin-bottom: 2px;
  letter-spacing: 1px;
}
.customer-info {
  font-size: 0.98em;
  color: #666;
  margin-top: 4px;
  font-family: var(--font-body);
}

/* Ensures testimonials' text is dark on light bkg for accessibility */
.testimonial-card p {
  color: #232323;
  font-size: 1.03rem;
}

/* =========================================================
   FOOTER
========================================================= */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 26px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-display);
  margin-bottom: 0;
  transition: color 0.15s;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: var(--brand-accent);
}
.footer-info {
  color: #fff4d8;
  font-family: var(--font-body);
  font-size: 0.98rem;
  margin-bottom: 14px;
}

/* =========================================================
   CONTACT, LEGAL, ETC.
========================================================= */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.map-placeholder {
  background: #e9e9e9;
  color: #555;
  border-radius: 14px;
  padding: 38px 18px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 18px;
  text-align: center;
  min-width: 90px;
}

.legal {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 36px 24px;
  margin-bottom: 38px;
}
.legal h1, .legal h2, .legal h3 {
  margin-bottom: 16px;
}
.legal ul {
  margin-bottom: 16px;
}

/* =========================================================
   THANK YOU PAGES
========================================================= */
.thank-you-message {
  font-size: 1.15rem;
  color: var(--brand-primary);
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  margin-bottom: 24px;
  font-family: var(--font-body);
}

/* =========================================================
   COOKIE CONSENT BANNER
========================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 14px rgba(0,0,0,0.12);
  z-index: 4000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 26px 18px 20px 18px;
  gap: 22px;
  border-top: 5px solid var(--brand-accent);
  font-size: 0.99rem;
  opacity: 1;
  transition: opacity 0.19s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 220px;
  color: #20212a;
  font-family: var(--font-body);
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn, .cookie-banner .primary-cta {
  padding: 8px 18px;
  border: none;
  border-radius: 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.18s, color 0.17s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: 0 1px 6px rgba(170,117,31,0.11);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #c59b43;
  color: #fff;
}
.cookie-btn.reject {
  background: #ece6dd;
  color: var(--brand-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d7cea9;
  color: #8d6b31;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--brand-primary);
  text-decoration: underline;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: var(--brand-accent);
}

/* =========================================================
   COOKIE MODAL
========================================================= */
.cookie-modal-bg {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(35,70,117,0.28);
  z-index: 4100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-bg.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,60%) scale(0.85);
  background: #fff;
  box-shadow: 0 4px 36px rgba(35,70,117,0.17);
  border-radius: 18px;
  min-width: 320px; max-width: 98vw;
  min-height: 280px;
  z-index: 4200;
  padding: 36px 28px 27px 28px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s, transform 0.23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1.00);
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.21em;
  color: var(--brand-primary);
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--brand-accent);
  font-size: 1.5em;
  cursor: pointer;
  border-radius: 5px;
  padding: 4px 12px;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-accent-soft);
  color: #fff;
}
.cookie-preference-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #f6f0e5;
  border-radius: 10px;
  padding: 16px 12px;
}
.cookie-category-label {
  flex: 1 1 auto;
  font-family: var(--font-body);
  font-size: 1rem;
}
.cookie-category-toggle input[type='checkbox'] {
  accent-color: var(--brand-accent);
  width: 20px; height: 20px;
  margin-top: 2px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

/* Essential cookies always enabled */
.cookie-category.essential {
  opacity: 0.7;
}

/* =========================================================
   RESPONSIVE QUERIES
========================================================= */
@media (max-width: 900px) {
  .hero {
    padding: 40px 0 30px 0;
  }
  .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding-right: 2px;
    min-height: 58px;
  }
  .features, .about, .team-members, .service-list, .content-grid, .card-container {
    flex-direction: column !important;
    gap: 20px;
  }
  .hero .content-wrapper {
    padding: 0 0;
  }
  .section {
    padding: 24px 4px;
    margin-bottom: 28px;
  }
  .testimonial-card, .card, .text-section {
    padding: 18px 13px;
  }
  .service-item {
    padding: 17px 10px;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
}
@media (max-width: 520px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.32rem;
  }
  .testimonial-card, .card, .text-section, .map-placeholder {
    padding: 12px 6px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    min-width: 98vw;
    padding: 20px 4vw 16px 4vw;
  }
}

/* =========================================================
   ANIMATIONS & MICRO-INTERACTIONS
========================================================= */
.primary-cta, .service-item, .testimonial-card, .card, .footer-nav a, .main-nav a {
  transition: box-shadow 0.18s, background 0.17s, color 0.17s, transform 0.13s;
}
.primary-cta:focus-visible {
  box-shadow: var(--focus-stroke);
}
a:focus-visible {
  box-shadow: var(--focus-stroke);
}
.testimonial-card, .service-item, .card {
  will-change: box-shadow, transform;
}

/* Autofocus and transitions for cookie banner/modal */
.cookie-banner, .cookie-modal {
  will-change: opacity, transform;
}

/* Button focus ring for accessibility */
button:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

/* =========================================================
   GENERAL INTERACTIVE STATES
========================================================= */
input, select, textarea {
  border: 1px solid #c2b5a6;
  border-radius: 6px;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border 0.17s;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
  border: 1.6px solid var(--brand-accent);
  outline: none;
}

/* =========================================================
   UTILITIES & HELPERS
========================================================= */
.hidden {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   END OF CSS
========================================================= */
