/* ===============================================
   Amber Sunset Berlin – Warm Friendly Style CSS
   (Mobile-first, Flexbox only, Brand colors)
   ================================================*/

/* === RESET & BASE TYPOGRAPHY === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #351b09;
  background: #FFF7F0;
  line-height: 1.7;
  min-height: 100vh;
}
a {
  color: #E29A48;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #D2810C;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.1em;
}

/* === TYPOGRAPHY SCALE === */
h1 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 2.35rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #1A2236;
}
h2 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #E29A48;
}
h3 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 11px;
  color: #1A2236;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  color: #1A2236;
}
p, li {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* === LAYOUT HELPERS === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* === FLEX SPACING/ALIGNMENTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff7f0;
  border-radius: 20px;
  box-shadow: 0 3px 20px rgba(226,154,72, 0.08);
  padding: 28px;
}
.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: center;
  gap: 20px;
  background: #fff7f0;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(226,154,72, 0.12);
  padding: 20px;
  margin-bottom: 24px;
  color: #2D1402;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* === HEADER === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(26,34,54,0.06);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
header > a img {
  height: 45px;
  border-radius: 12px;
  margin-right: 18px;
}
header nav {
  display: none;
}
header .cta-button.primary {
  display: none;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #E29A48;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 12px;
  transition: background 0.18s;
  margin-left: auto;
  z-index: 300;
}
.mobile-menu-toggle:hover {
  background: #fde2c3;
}
@media (min-width: 900px) {
  header {
    justify-content: flex-start;
    position: sticky;
  }
  header nav {
    display: flex;
    gap: 18px;
    align-items: center;
    flex: 1 1 auto;
  }
  header nav a {
    color: #1A2236;
    font-weight: 500;
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    font-size: 1.02rem;
    border-radius: 10px;
    padding: 8px 12px;
    transition: background 0.15s, color 0.18s;
  }
  header nav a:hover,
  header nav a:focus {
    background: #FFF0E3;
    color: #E29A48;
  }
  header .cta-button.primary {
    display: inline-flex;
    margin-left: 26px;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* === HAMBURGER MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff7f0;
  z-index: 900;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.6,.04,.98,.34);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 32px 28px 0 0;
  box-shadow: -2px 0 16px rgba(30,22,18,0.10);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.0rem;
  color: #E29A48;
  margin-bottom: 32px;
  cursor: pointer;
  transition: color 0.18s;
  padding: 9px 18px;
  border-radius: 12px;
}
.mobile-menu-close:hover {
  color: #BC7300;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.13rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #1A2236;
  font-weight: 500;
  border-radius: 10px;
  padding: 10px 0 10px 18px;
  width: 100%;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover {
  background: #e29a4825;
  color: #E29A48;
}

/* Hide mobile menu by default on desktop */
@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}

/* === HERO SECTIONS === */
.hero {
  background: linear-gradient(180deg, #FFF7F0 80%, #E29A48 120%);
  border-radius: 0 0 38px 38px;
  box-shadow: 0 6px 28px rgba(226,154,72, 0.07);
  padding: 45px 0 55px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #1A2236;
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
.hero p {
  color: #684516;
}
@media (min-width: 600px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  .hero {
    padding: 70px 0 90px 0;
  }
}

/* === BUTTONS & CTAS === */
.cta-button {
  display: inline-flex;
  align-items: center;
  background: #E29A48;
  color: #fff;
  border: none;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 13px 35px;
  border-radius: 32px;
  margin-top: 13px;
  cursor: pointer;
  transition: background 0.21s, box-shadow 0.18s;
  box-shadow: 0 3px 16px rgba(226,154,72, 0.14);
  outline: none;
  text-align: center;
  letter-spacing: .01em;
}
.cta-button.primary {
  background: #E29A48;
  color: #fff;
}
.cta-button.primary:hover,
.cta-button.primary:focus {
  background: #D2810C;
  box-shadow: 0 7px 18px rgba(226,150,70,0.19);
}
.cta-link {
  color: #E29A48;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 2px solid #fde2c3;
  padding-bottom: 2px;
  transition: color 0.14s, border-bottom-color 0.14s;
}
.cta-link:hover,
.cta-link:focus {
  color: #D2810C;
  border-bottom-color: #E29A48;
}

/* === FEATURES === */
.features, .services {
  background: #fff7f0;
  border-radius: 30px;
}
.feature-grid, .service-list, .route-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  justify-content: space-between;
}
.feature, .service-item, .route {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(226,154,72, 0.13);
  padding: 25px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature img, .service-item img {
  height: 52px;
  width: 52px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: #FFF0E3;
  object-fit: contain;
}
.feature:hover,
.service-item:hover,
.route:hover {
  box-shadow: 0 8px 32px rgba(226,154,72,0.20);
  transform: translateY(-4px) scale(1.03);
}
.price {
  margin-top: 6px;
  color: #E29A48;
  font-weight: 600;
  font-size: 1.09rem;
  background: #fff7f0;
  border-radius: 8px;
  padding: 2px 10px;
}

/* === ROUTE SHORT/LIST === */
.route-short {
  background: #FFF0E3;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(222,154,70,0.10);
  padding: 21px 19px;
  margin-bottom: 20px;
  color: #1A2236;
}

/* === TESTIMONIALS === */
.testimonials, .testimonial-family, .testimonial-short {
  background: #FFF7F0;
  border-radius: 30px;
}
.testimonial-card {
  color: #1A2236;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(226,154,72, 0.09);
  margin-bottom: 24px;
  padding: 22px;
  font-size: 1.04rem;
  min-width: 0;
  width: 100%;
  max-width: 760px;
}
.testimonial-meta {
  font-size: .98rem;
  color: #684516;
  margin-top: 10px;
  font-style: italic;
}
.stars {
  color: #E29A48;
  font-size: 1.12rem;
  letter-spacing: .08em;
  font-style: normal;
  margin-left: 5px;
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #fff7f0;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(226,154,72, 0.12);
  padding: 19px 18px;
  color: #1A2236;
  position: relative;
}
.faq-item h3 {
  color: #E29A48;
  font-size: 1.08rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  margin-bottom: 8px;
}

/* === INFOBOX / HIGHLIGHT SECTIONS === */
.infobox {
  background: #FAF3EA;
  border-left: 7px solid #E29A48;
  border-radius: 18px;
  padding: 23px 22px;
  margin-top: 26px;
  font-size: 1rem;
  color: #1A2236;
}
.service-highlight {
  background: #fff7f0;
  border-radius: 14px;
  padding: 18px 19px;
  box-shadow: 0 2px 10px rgba(226,154,72,.10);
}

/* === TIPS & GUIDES === */
.tip-categories {
  margin-top: 18px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.02rem;
  color: #E29A48;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tip-categories span {
  background: #FFF0E3;
  padding: 5px 16px;
  border-radius: 20px;
  font-weight: 500;
}

/* === MAP PLACEHOLDER (on contact page) === */
.map-placeholder {
  background: #FFF0E3;
  display: flex;
  gap: 18px;
  align-items: center;
  border-radius: 12px;
  padding: 15px;
  margin-top: 17px;
  color: #1A2236;
}
.map-placeholder img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #FFE5BE;
  object-fit: contain;
}

/* === FOOTER === */
footer {
  background: #1A2236;
  color: #fff;
  padding: 32px 0 18px 0;
  border-radius: 36px 36px 0 0;
  margin-top: 50px;
}
footer a {
  color: #E29A48;
  font-weight: 500;
  font-size: 1.0rem;
  margin-right: 18px;
  transition: color 0.15s;
}
footer a:hover,
footer a:focus {
  color: #fff;
}
.footer-contact {
  margin-bottom: 18px;
  color: #FFF0E3;
  font-size: 1.01rem;
}
footer .footer-main-menu,
footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
footer .footer-links {
  font-size: .98rem;
  color: #ffe5be;
}
footer .social-media-links {
  display: flex;
  gap: 20px;
  margin-top: 18px;
}
footer .social-media-links img {
  height: 30px;
  filter: grayscale(0.1) brightness(1.04);
  border-radius: 4px;
  transition: filter 0.18s;
}
footer .social-media-links a:hover img {
  filter: brightness(1.19) saturate(1.5);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  align-items: center;
  gap: 18px;
}
footer > .container > .content-wrapper > a img {
  margin-bottom: 7px;
}
@media (min-width: 900px) {
  footer .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px;
    justify-content: space-between;
  }
  .footer-contact, .footer-main-menu, .footer-links, .social-media-links {
    margin-bottom: 0;
  }
}

/* === TEXT SECTIONS, THANK YOU === */
.text-section, .thank-you {
  background: #FFF7F0;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 38px 18px;
}
.text-section ul, .text-section ol {
  margin-bottom: 1.2em;
}
.text-section ul li {
  list-style: disc;
  margin-left: 18px;
}
.text-section ol li {
  list-style: decimal;
  margin-left: 20px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid, .service-list, .route-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .hero {
    padding: 34px 0 46px 0;
    border-radius: 0 0 20px 20px;
  }
  .footer-main-menu,
  .footer-links {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}
@media (min-width: 900px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 18px 0 16px 0;
  }
  header > a img {
    margin-right: 38px;
  }
  header nav {
    flex: 1 1 auto;
  }
  main .container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* === COOKIE BANNER === */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF7F0;
  color: #1A2236;
  z-index: 998;
  box-shadow: 0 -2px 16px rgba(226,154,72,.14);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: banner-slideup 0.45s cubic-bezier(.75,0,.4,1);
  font-size: 1rem;
}
@keyframes banner-slideup {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  padding: 8px 24px;
  font-size: 1.04rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.16s, color 0.18s;
  box-shadow: 0 1px 4px rgba(226,154,72,.09);
}
.cookie-btn.accept {
  background: #E29A48;
  color: #fff;
}
.cookie-btn.accept:hover { background: #D2810C; }
.cookie-btn.reject {
  background: #fff;
  border: 1px solid #E29A48;
  color: #E29A48;
}
.cookie-btn.reject:hover { background: #fae5cd; }
.cookie-btn.settings {
  background: #fff7f0;
  color: #1A2236;
  border: 1px solid #E29A48;
}
.cookie-btn.settings:hover { background: #fff0e3; }

/* === COOKIE MODAL === */
#cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,34,54, 0.50);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-slide .33s cubic-bezier(.66,0,.47,1);
}
@keyframes modal-slide {
  0% { opacity:0; }
  100% { opacity:1; }
}
#cookie-modal .modal-dialog {
  background: #FFF7F0;
  color: #1A2236;
  border-radius: 24px;
  box-shadow: 0 10px 35px rgba(226,154,72,.17);
  padding: 38px 26px 30px 26px;
  max-width: 380px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: dialog-fadein .35s cubic-bezier(.75,0,.4,1);
}
@keyframes dialog-fadein {
  0% { transform: scale(.93); opacity: 0; }
  100% { transform:scale(1); opacity:1; }
}
#cookie-modal .modal-dialog h3 {
  color: #E29A48;
  margin-bottom: 10px;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 11px 16px;
  border-radius: 14px;
  margin-bottom: 13px;
  box-shadow: 0 1px 10px rgba(226,154,72,.10);
  font-size: 1.05rem;
}
.cookie-toggle {
  width: 38px;
  height: 20px;
  border-radius: 20px;
  background: #fae5cd;
  position: relative;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.16s;
}
.cookie-toggle[aria-checked="true"] {
  background: #E29A48;
}
.cookie-toggle .cookie-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #FFF7F0;
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-toggle[aria-checked="true"] .cookie-thumb {
  left: 20px;
  background: #fff0e3;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-btn-close {
  position: absolute;
  right: 19px; top: 11px;
  background: transparent;
  border: none;
  color: #E29A48;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-btn-close:hover { color: #BC7300; }

/* Hide modal and banner by default (should be shown via JS) */
#cookie-banner, #cookie-modal { display: none; }

/* === ACCESSIBILITY: FOCUS STATES === */
a:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #E29A48;
  outline-offset: 2px;
}

/* === TRANSITION EFFECTS === */
.card, .feature, .service-item, .route, .testimonials, .testimonial-card, .infobox, .faq-item {
  transition: box-shadow 0.16s cubic-bezier(.4,0,.3,1), transform 0.11s;
}

/* === MISCELLANEOUS === */
::-webkit-scrollbar {
  width: 11px;
  background: #FFF0E3;
}
::-webkit-scrollbar-thumb {
  background: #E29A48;
  border-radius: 6px;
}

/************************************************************
 NOTE: All containers are laid out with flexbox (see classes above)
       No grid or columns, no absolute positioning for content blocks
*************************************************************/
