/* --------------------------------------------------------
   Sunny Arcadia Viaggi - style.css
   Warm, friendly, modern, accessible, and responsive.
   NO GRID - FLEXBOX ONLY for ALL layout containers.
-----------------------------------------------------------*/

/* --------------------
   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, 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #fdf6ed;
  color: #2d3a3a;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #27668a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #f7ae43;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 12px;
}
ul, ol {
  list-style: none;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* --------------------
   BRAND CUSTOM PROPERTIES
-----------------------*/
:root {
  --primary: #27668a;
  --secondary: #f7ae43;
  --accent: #ffffff;
  --soft-bg: #fdf6ed;
  --body-text: #333a3a;
  --headline: #1b2830;
  --shadow-md: 0 4px 16px rgba(247, 174, 67, 0.10);
  --shadow-card: 0 2px 10px rgba(39, 102, 138, 0.09);
  --border-radius: 18px;
  --border-radius-sm: 10px;
  --spacing-1: 8px;
  --spacing-2: 16px;
  --spacing-3: 24px;
  --spacing-4: 32px;
  --spacing-5: 40px;
}

/* --------------------
   FONTS
-----------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--headline);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: var(--spacing-2);
}
h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-2);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-1);
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--body-text);
  font-size: 1.18rem;
  margin-bottom: var(--spacing-2);
}
p, li, blockquote, cite, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--body-text);
  line-height: 1.68;
}
blockquote {
  font-style: italic;
  color: var(--primary);
  background: #f7e7ce;
  padding: 20px;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 2px 6px rgba(39, 102, 138, 0.02);
  margin-bottom: var(--spacing-1);
}
cite {
  font-size: 0.98rem;
  font-style: normal;
  color: var(--headline);
  margin-left: 10px;
}

/* Typography scale: 14, 16, 18, 24, 32, 48 (with rem equivalents) */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.08rem; }
}

/* --------------------
   CONTAINER & LAYOUT
-----------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: var(--spacing-2);
  padding-right: var(--spacing-2);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: var(--border-radius-sm);
  }
  .container {
    padding-left: var(--spacing-1);
    padding-right: var(--spacing-1);
  }
}

/* --------------------
   HEADER & NAVIGATION
-----------------------*/
header {
  background: var(--accent);
  border-bottom: 1px solid #f7e7ce;
  box-shadow: 0 2px 12px rgba(247, 174, 67, 0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 46px;
  border-radius: 0; /* logos: don't round */
  margin-right: var(--spacing-2);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-3);
}
.main-nav a {
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  border-radius: 32px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
.main-nav .cta-primary {
  background: var(--primary);
  color: var(--accent);
  border-radius: 32px;
  font-weight: 700;
  margin-left: var(--spacing-3);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(39, 102, 138, 0.08);
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(247, 174, 67, 0.25);
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(247, 174, 67, 0.11);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1050;
  margin-left: var(--spacing-2);
  transition: background 0.21s, box-shadow 0.18s;
}
.mobile-menu-toggle:active {
  background: var(--primary);
  color: var(--accent);
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--accent);
  box-shadow: 0 4px 18px rgba(39, 102, 138, 0.13);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.64,.09,.08,1);
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  align-self: flex-end;
  margin: 25px 28px 12px 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(247,174,67,0.13);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 23px;
  padding: 36px var(--spacing-3) 0 var(--spacing-4);
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.14rem;
  padding: 14px;
  border-radius: 32px;
  transition: background 0.22s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}

@media (max-width: 768px) {
  header .container { padding: var(--spacing-1) 0; }
}

/* --------------------
   HERO & CTA SECTIONS
-----------------------*/
.cta-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: var(--spacing-2);
  box-shadow: 0 4px 16px rgba(39,102,138, 0.13);
  transition: background 0.23s, color 0.23s, box-shadow 0.2s, transform 0.16s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(247,174,67,0.21);
}
.cta-section {
  background: #fffbe9;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-5) var(--spacing-2);
  margin-bottom: 0;
}

/* --------------------
   FLEX LAYOUT PATTERNS
-----------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 34px rgba(247,174,67,0.17);
  transform: translateY(-2px) scale(1.015);
}
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff6e2;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(247,174,67,0.11);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.15s, transform 0.13s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 28px rgba(247,174,67,0.19);
}
.testimonial-card blockquote {
  background: none;
  padding: 0;
  margin: 0;
  color: #be8810;
  font-style: italic;
  font-weight: 500;
}
.testimonial-card cite {
  display: block;
  margin-left: 20px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CUSTOM GRID-LIKE LISTS */
.feature-grid, .service-list, .tour-types-grid, .offer-list, .destination-list, .blog-previews, .team-bios, .expertise-list, .value-list, .personalized-services {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.feature-grid li, .service-list li, .tour-types-grid li, .offer-list li, .destination-list li, .blog-previews li, .team-bios li, .expertise-list li, .value-list li, .personalized-services li {
  background: #fffbe9;
  border-radius: var(--border-radius-sm);
  padding: 20px 22px;
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 348px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(247,174,67,0.10);
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.feature-grid li:hover, .service-list li:hover, .tour-types-grid li:hover, .offer-list li:hover, .destination-list li:hover, .blog-previews li:hover {
  box-shadow: 0 6px 22px rgba(39,102,138, 0.15);
  transform: translateY(-2px) scale(1.013);
}
.feature-grid img, .team-bios img {
  width: 42px;
  margin-bottom: var(--spacing-1);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .feature-grid li, .service-list li, .tour-types-grid li, .offer-list li, .destination-list li, .blog-previews li {
    flex: 1 1 180px;
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .feature-grid,
  .service-list,
  .tour-types-grid,
  .offer-list,
  .destination-list,
  .blog-previews,
  .team-bios,
  .expertise-list,
  .value-list,
  .personalized-services {
    gap: 16px;
    flex-direction: column;
  }
  .feature-grid li, .service-list li, .tour-types-grid li, .offer-list li, .destination-list li, .blog-previews li {
    padding: 18px 13px;
  }
}

/* VERTICAL LISTS */
.value-list, .expertise-list, .personalized-services {
  background: none;
  box-shadow: none;
  gap: 13px;
}
.value-list li, .expertise-list li, .personalized-services li {
  background: #fdf6ed;
  padding: 12px 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
  max-width: 600px;
  font-weight: 500;
}

/* --------------------
   TEXT SECTIONS
-----------------------*/
.text-section {
  margin-bottom: var(--spacing-2);
}
.text-section img {
  width: 34px;
  vertical-align: middle;
  margin-right: 9px;
}

/* Blog & Thank You Custom */
.thank-you-message {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: var(--spacing-3);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* --------------------
   FOOTER
-----------------------*/
footer {
  background: linear-gradient(120deg, #f7e7ce 70%, #f7ae43 150%);
  border-top: 1.5px solid #ffe8b3;
  padding: 0 0 var(--spacing-4) 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-4) var(--spacing-2) 0 var(--spacing-2);
}
footer img {
  height: 40px;
  margin-bottom: 14px;
  border-radius: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-2);
}
.footer-nav a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 6px 14px;
  border-radius: 22px;
  transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
footer address {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--body-text);
  font-style: normal;
  font-size: 0.98rem;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}
footer address div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 150px;
}
footer address img {
  width: 22px;
  margin-bottom: 0;
  border-radius: 0;
}
footer small {
  color: #9a8932;
  font-size: 0.92rem;
  margin-top: var(--spacing-2);
}
@media (max-width: 600px) {
  footer .container {
    padding: var(--spacing-2) var(--spacing-1) 0 var(--spacing-1);
    gap: var(--spacing-1);
  }
  .footer-nav {
    gap: 10px;
  }
}

/* --------------------
   BUTTONS (shared styles)
-----------------------*/
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  padding: 12px 24px;
  border-radius: 32px;
  font-weight: 600;
  font-size: 1rem;
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 2px 10px rgba(247, 174, 67, 0.09);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, transform 0.12s;
}
button.secondary, .button.secondary {
  background: var(--secondary);
  color: var(--primary);
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}
button.secondary:hover, .button.secondary:hover {
  background: var(--primary);
  color: var(--accent);
}

/* ----------------------
   COOKIE CONSENT BANNER
------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff1d4;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 14px rgba(247,174,67,0.18);
  z-index: 1500;
  padding: 22px 10px 18px 10px;
  gap: var(--spacing-3);
  transition: transform 0.32s cubic-bezier(.64,.09,.08,1), opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  font-size: 1.01rem;
  flex: 1 1 110px;
  max-width: 500px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-1);
  align-items: center;
}
.cookie-banner .cookie-btn {
  padding: 10px 24px;
  border-radius: 22px;
  font-weight: 600;
  font-size: 0.94rem;
  margin-left: 5px;
  margin-right: 5px;
  background: var(--primary);
  color: var(--accent);
  border: none;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: var(--primary);
  color: var(--accent);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 6px 13px 6px;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1600;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,102,138,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fffbe9;
  color: var(--primary);
  border-radius: var(--border-radius);
  padding: 36px 28px 32px 28px;
  min-width: 310px;
  max-width: 360px;
  box-shadow: 0 8px 28px rgba(247,174,67,0.23);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookieModalIn 0.36s cubic-bezier(.64,.09,.08,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(60px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px; right: 22px;
  font-size: 1.8rem;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--primary);
  color: var(--accent);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  color: var(--primary);
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
}
.cookie-modal .cookie-category .always {
  color: #777055;
  font-size: 0.91rem;
  margin-left: 4px;
  font-style: italic;
  font-weight: 400;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 13px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-btn {
  min-width: 92px;
}

/* ---------------------
   ANIMATIONS & INTERACTIVE
-----------------------*/
.cta-primary, .button, button, .main-nav a, .mobile-nav a {
  transition: background 0.18s, color 0.18s, transform 0.12s, box-shadow 0.20s;
}
.card, .card-container > *,
.feature-grid li, .testimonial-card
{
  transition: box-shadow 0.17s, transform 0.14s;
}
.cta-section, .section,
.card, .testimonial-card {
  transition: box-shadow 0.16s, background 0.19s;
}

/* -------------------
   SCROLLBAR (for large desktops)
---------------------*/
::-webkit-scrollbar {
  width: 14px;
  background: #fffbe9;
}
::-webkit-scrollbar-thumb {
  background-color: #ffe8b3;
  border-radius: 18px;
}

/* Accessibility: Focus */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ----------------------
   UTILITIES
------------------------*/
.text-center { text-align: center; }
.rounded { border-radius: var(--border-radius) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.bg-secondary { background: var(--secondary) !important; color: var(--accent) !important; }
.color-primary { color: var(--primary) !important; }

/* ----------------------
   MEDIA QUERIES: MOBILE
------------------------*/
@media (max-width: 600px) {
  h1, .thank-you-message { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; margin-bottom: 13px; }
  h3 { font-size: 0.98rem; }
  header img, footer img { height: 32px; }
  .card, .testimonial-card {
    padding: 11px 7px;
    border-radius: var(--border-radius-sm);
  }
}

/* Prevent accidental overlappings in any layout */
.card, .testimonial-card, .feature-grid li, .service-list li, .offer-list li, .destination-list li, .blog-previews li {
  margin-bottom: 20px;
}

/* ------ END OF STYLE.CSS ------ */
