/* ===============================================
   ROMA SVELATA TOURS - SOFT PASTEL FLEXBOX CSS
   =============================================== */

/* --- RESET & NORMALIZATION --- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body { margin: 0; font-family: 'Lato', Arial, sans-serif; background: #f7f6fb; color: #33344c; line-height: 1.6; min-height: 100vh; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; border: 0; height: auto; }
ul, ol { padding-left: 1.2em; margin: 1em 0 1.5em 1em; }
a { color: #20295B; text-decoration: none; transition: color .2s; }
button, input, select, textarea { font: inherit; border: none; outline: none; background: none; }

/* --- COLORS (SOFT PASTEL INSPIRED BY BRAND) --- */
:root {
  --primary: #20295B;
  --secondary: #D9B88F;
  --accent: #F5F3EE;
  --soft-rose: #F7CED7;
  --blush: #E6D8F4;
  --peach: #FFE4C7;
  --mint: #E3F8F1;
  --butter: #FFF7DE;
  --lavender: #DED9FF;
  --card-bg: #fff;
  --border: #eceaf4;
  --shadow: 0 6px 24px 0 rgba(124, 134, 151, 0.07), 0 1.5px 5px 0 rgba(127, 99, 168, 0.07);
  --radius: 24px;
  --radius-sm: 14px; 
}


/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,400i,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: var(--primary);
  letter-spacing: .01em;
}
h1 { font-size: 2.75rem; font-weight: 900; margin-bottom: 18px; line-height: 1.15; }
h2 { font-size: 2rem; font-weight: 700; margin: 36px 0 18px 0; }
h3 { font-size: 1.3rem; font-weight: 700; margin: 26px 0 10px 0; }
.body, p, ul, ol, li, em {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.05rem;
  color: #33344c;
}
p { margin-bottom: 20px; max-width: 700px; }
.subheadline { font-size: 1.3rem; font-weight: 400; color: #615e74; margin-bottom: 32px; }
strong { color: var(--primary); font-weight: bold; }

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 95%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 14px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: box-shadow .18s;
  position: relative;
}
.card:hover { box-shadow: 0 8px 24px 0 rgba(124,134,151,0.13); }
.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-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--lavender) 60%, var(--butter) 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 260px;
  max-width: 350px;
  transition: transform .13s, box-shadow .18s;
}
.testimonial-card:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 10px 32px 0 rgba(50,60,110,.14); }
.testimonial-card p {
  font-size: 1.08rem;
  font-family: 'Merriweather', serif;
  font-style: italic;
  color: #20295B;
  text-align: center;
  margin: 0 0 8px 0;
}
.testimonial-details {
  font-size: 0.97rem;
  color: var(--primary);
  text-align: center;
  font-family: 'Lato', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO SECTION --- */
.hero {
  padding: 56px 0 44px 0;
  background: linear-gradient(120deg, var(--butter) 45%, var(--soft-rose) 100%);
  border-bottom: 1.5px solid var(--border);
}
.hero .container { flex-direction: column; }
.hero h1 { color: var(--primary); letter-spacing: -0.5px; }
.hero .btn-primary { margin-top: 10px; }

/* --- HEADER --- */
header {
  width: 100%;
  background: var(--accent);
  box-shadow: 0 2px 16px rgba(200, 180, 245, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 14px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 18px;
  height: 52px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  padding: 0 8px;
  font-size: 1.01rem;
  font-family: 'Lato', Arial, sans-serif;
  color: #525391;
  border-radius: 7px;
  transition: color .19s, background .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--primary);
  background: var(--soft-rose);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  padding: 0.82em 2em;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.13rem;
  border-radius: 25px;
  box-shadow: 0 2px 12px 0 rgba(70,80,110,0.08);
  font-weight: 700;
  margin-left: 34px;
  transition: background .18s, color .18s, box-shadow .14s;
  border: 1.5px solid var(--primary);
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  color: var(--primary);
  background: #F7CED7;
  border: 1.5px solid #D6BCC7;
  box-shadow: 0 4px 18px 1px rgba(120, 110, 210, 0.14);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--secondary);
  color: var(--primary);
  padding: 0.78em 2em;
  font-size: 1.07rem;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 1.5px 8px 0 rgba(120, 110, 120, 0.10);
  border: 1.5px solid var(--secondary);
  margin-top: 14px;
  transition: background .16s, color .17s, box-shadow .13s;
  cursor: pointer;
  font-family: 'Lato', Arial, sans-serif;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--card-bg);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: 0 4px 18px 2px rgba(200, 175, 120, 0.15);
}
/* --- Cards & Highlights --- */
.price {
  font-weight: bold;
  color: var(--primary);
  background: var(--mint);
  padding: 2.5px 8px;
  border-radius: 8px;
  font-size: 1.01em;
  margin-left: 3px;
}
.tour-highlights {
  background: var(--mint);
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: 0 0.5px 1.5px 0 rgba(90,120,160,0.05);
  margin-bottom: 24px;
}
.rating-summary {
  background: var(--butter);
  border-radius: var(--radius-sm);
  padding: 18px 28px;
  margin: 22px 0 22px 0;
  box-shadow: var(--shadow);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rating-summary h2 { margin: 0; color: var(--primary); font-size: 1.4rem; }

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, var(--blush) 60%, var(--peach) 100%);
  margin-top: 60px;
  padding: 30px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #7b71a6;
  font-size: .97rem;
  padding: 0 7px;
  border-radius: 7px;
  transition: color .16s, background .16s;
}
.footer-nav a:hover { color: var(--primary); background: var(--mint); }
footer p { color: #392f4c; font-size: .96rem; margin-bottom: 0; margin-top: 2px; }

/* --- MAP PLACEHOLDER --- */
.map-placeholder {
  background: var(--mint);
  border-radius: var(--radius-sm);
  color: var(--primary);
  padding: 14px 16px;
  margin-top: 22px;
  font-size: 1em;
}
.map-placeholder p { margin: 0; }

/* --- MISC --- */
ul {
  list-style: disc inside;
  padding-left: 1.5em;
  margin: 8px 0 20px 0;
}
li { margin-bottom: 9px; }
ul ul { margin-bottom: 0; } /* Nested clear */
.text-section { margin-bottom: 18px; }
em { color: #776a9d; font-style: italic; font-size: 1.02em; }

/* --- RESPONSIVE FORMATTING (MOBILE-FIRST) --- */
@media (max-width: 990px) {
  .main-nav { gap: 14px; }
  .container { max-width: 96vw; padding: 0 7px; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.18rem; }
  .container { width: 99%; min-width: 0; }
  .section { padding: 34px 7px; }
  .testimonial-list { flex-direction: column; gap: 20px; }
  .testimonial-card { max-width: 100%; }
  .footer-nav { gap: 14px; }
  .main-nav { display: none; }
  .btn-primary { margin-left: 16px; font-size: 1rem; padding: 0.8em 1.3em; }
  .btn-secondary { font-size: .99rem; padding: 0.79em 1.25em; }
  .content-wrapper { gap: 18px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.08rem; }
  .footer-nav { flex-direction: column; align-items: center; }
  .container { padding: 0 3px; }
  .section { padding: 22px 0; }
  .testimonial-card {
    padding: 15px 12px;
    font-size: 0.93rem;
    min-width: 0;
  }
}
@media (max-width: 900px) {
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 17px; }
}

/* --- CRITICAL FLEXBOX MANDATES: ONLY FLEX FOR LAYOUTS --- */
/* already done: all main container classes use flex/flex-wrap/gap patterns */

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-rose);
  border-radius: 7px;
  font-size: 2rem;
  width: 40px; height: 40px;
  color: var(--primary);
  margin-left: 20px;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px 0 rgba(100, 66, 200, .06);
  z-index: 1200;
  transition: background .16s, color .15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--butter);
  color: #a76496;
  box-shadow: 0 3px 14px 2px rgba(160,126,206,0.06);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.99);
  box-shadow: 0 10px 60px rgba(70,60,111,0.18);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform .32s cubic-bezier(.44,.09,.19,1.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 45px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 20px;
  font-size: 2.1rem;
  background: var(--lavender);
  color: var(--primary);
  border-radius: 50%;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(140,110,200,0.09);
  z-index: 2050;
  transition: background .16s, color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--peach);
  color: #ca4266;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: center;
  margin-top: 54px;
  padding-bottom: 70px;
}
.mobile-nav a {
  font-size: 1.29rem;
  font-weight: 600;
  color: var(--primary);
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-radius: 18px;
  transition: background .13s, color .13s;
  letter-spacing: .01em;
  margin: 0 0 2px 0;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--soft-rose);
  color: #bd295e;
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; }
  .main-nav, .footer-nav { display: none !important; }
  .footer-nav { display: none !important; }
  .mobile-menu { display: flex; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2100;
  background: var(--lavender);
  box-shadow: 0 -2px 26px 0 rgba(110,110,120,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 18px 24px 18px 26px;
  border-top: 1.5px solid var(--border);
  font-size: 1.01rem;
  font-family: 'Lato', Arial, sans-serif;
  transition: opacity .28s, bottom .24s;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; bottom: -100px; }
.cookie-banner p {
  margin: 0; color: var(--primary); font-size: 1.09rem;
}
.cookie-banner .cookie-btn {
  margin-left: 12px; margin-right: 0;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary{
  font-size: .97rem;
  padding: 0.64em 1.7em;
  min-width: 112px;
}
.cookie-banner .btn-link {
  color: #815da0;
  font-size: .98rem;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 9px;
  padding: .39em .7em;
  border-radius: 7px;
  transition: background .13s, color .12s;
}
.cookie-banner .btn-link:hover, .cookie-banner .btn-link:focus {
  background: var(--mint);
  color: #5a3480;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2200;
  transform: translate(-50%, 100vh) scale(.95);
  min-width: 300px;
  max-width: 98vw;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 18px 80px 0 rgba(53,24,100,0.15);
  padding: 36px 24px 24px 24px;
  transition: transform .28s cubic-bezier(.48,.02,.22,1.1); 
  opacity: 0;
}
.cookie-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.cookie-modal h2 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.22rem;
}
.cookie-modal ul {
  list-style-type: none;
  margin: 0 0 16px 0;
  padding: 0;
}
.cookie-modal li { margin: 10px 0; font-size: .99em; }
.cookie-modal label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px; height: 18px;
  margin-right: 6px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary {
  font-size: .95rem;
  padding: 0.61em 1.7em;
}
.cookie-modal .btn-link {
  font-size: .92rem;
  padding: .3em 1em
}
.cookie-modal .close-modal {
  position: absolute; right: 18px; top: 18px;
  background: var(--soft-rose);
  color: var(--primary);
  border-radius: 8px;
  font-size: 1.49rem;
  width: 34px; height: 34px;
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus { background: var(--mint); }

/* --- ANIMATIONS --- */
.btn-primary, .btn-secondary, a, .mobile-menu-toggle, .mobile-menu, .mobile-menu-close, .testimonial-card, .card {
  transition: background .18s, color .18s, box-shadow .22s, transform .18s;
}

/* --- FOCUS STATES (ACCESSIBILITY) --- */
a:focus, .btn-primary:focus, .btn-secondary:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .btn-link:focus, .cookie-modal .close-modal:focus {
  outline: 2px solid #948cef;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #dfdafe;
}

/* --- UTILITY CLASSES --- */
.hide { display: none !important; }

/* --- ENSURE ADEQUATE CARD SPACING --- */
.card-container > *,
.content-grid > *,
.testimonial-list > *,
.feature-item > * {
  margin-right: 0;
  margin-bottom: 0;
}
.card:not(:last-child), .testimonial-card:not(:last-child) { margin-right: 0; }

/* --- OTHER STYLE ENHANCEMENTS --- */
::-webkit-scrollbar { width: 8px; background: var(--mint); }
::-webkit-scrollbar-thumb { background: #e6dcfc; border-radius: 8px; }

/********************************
*  END ROMA SVELATA TOURS CSS!  *
********************************/
