/* ===================
   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-size: 100%; font: inherit; vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5; 
  background: #F7F8FA;
  color: #2B3650;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button { border: none; background: none; cursor: pointer; font: inherit; }
ul, ol { list-style: none; }
strong { font-weight: 600; }

/* ================
   BRAND VARIABLES
  ================ */
:root {
  --color-primary: #253047;
  --color-secondary: #DAA520;
  --color-accent: #F7F8FA;
  --color-dark: #2B3650;
  --color-light: #fff;
  --color-mid: #566084;
  --color-border: #dde3eb;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  --shadow-base: 0 4px 14px 0 rgba(37,48,71,0.10);
  --shadow-card: 0 2px 8px 0 rgba(37,48,71,0.06);
  --shadow-deep: 0 6px 28px 0 rgba(37,48,71,0.16);

  --radius-base: 10px;
  --radius-btn: 6px;
  --radius-card: 12px;

  --transition-fast: 0.15s cubic-bezier(.53,.01,.52,1.01);
  --transition-med: 0.25s cubic-bezier(.53,.01,.52,1.01);
  --transition-slow: 0.4s cubic-bezier(.53,.01,.52,1.01);
}

/* ===================
   BASE LAYOUT
   =================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
}

main {
  flex: 1 1 0%;
  width: 100%;
  margin-top: 74px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-accent);
}

/* Header */
header {
  background: var(--color-light);
  box-shadow: var(--shadow-base);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 16px;
}
.main-nav {
  display: flex; gap: 24px;
  align-items: center; flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary);
  font-size: 16px;
  padding: 8px 6px;
  border-radius: 3px;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.cta-btn {
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 28px;
  font-size: 18px;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-card);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  margin-left: 20px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #b88610;
  box-shadow: var(--shadow-deep);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* Burger Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  font-size: 32px;
  color: var(--color-primary);
  background: none;
  border: none;
  margin-left: 10px;
  line-height: 1;
  padding: 4px;
  z-index: 105;
  transition: background var(--transition-fast);
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
  background: var(--color-accent);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 100vw;
  width: 85vw; max-width: 330px;
  height: 100vh;
  background: var(--color-light);
  box-shadow: -4px 0 20px 0 rgba(37,48,71,0.10);
  z-index: 1101;
  transition: transform var(--transition-slow), left var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: 26px 18px 32px 22px;
  gap: 30px;
  overflow-y: auto;
}
.mobile-menu.open {
  left: calc(100vw - 85vw);
  transform: translateX(-100%);
}
.mobile-menu-close {
  align-self: flex-end; font-size: 36px; line-height: 1; color: var(--color-primary);
  background: none; border: none;
  padding: 3px 10px 3px 3px;
  border-radius: 50%;
  transition: background var(--transition-fast);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex; flex-direction: column; gap: 22px;
  margin-top: 10px;
}
.mobile-nav a {
  font-size: 20px;
  font-family: var(--font-display);
  color: var(--color-dark);
  padding: 10px 0 10px 3px;
  border-radius: 4px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  .cta-btn {
    margin-left: 8px;
    font-size: 16px;
    padding: 9px 20px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 6px;
  }
  header .container {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding: 0 10px;
  }
  .container {
    padding: 0 10px;
  }
}

/* ===================
   SECTIONS & LAYOUTS
   =================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div {
  flex: 1 1 200px;
  background: var(--color-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 24px;
  min-width: 220px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-med), transform var(--transition-fast);
}
.features-grid > div:hover {
  box-shadow: var(--shadow-deep);
  transform: translateY(-4px) scale(1.03);
}
.features-grid img {
  height: 36px; width: 36px; margin-bottom: 0.3em;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.card {
  flex: 1 1 260px;
  background: var(--color-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 18px 18px 18px;
  position: relative;
  margin-bottom: 20px;
  display: flex; flex-direction: column; align-items: flex-start;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-med), transform var(--transition-fast);
}
.card:hover {
  box-shadow: var(--shadow-deep);
  transform: translateY(-3px) scale(1.03);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .section { padding: 28px 10px; }
  .content-wrapper { gap: 18px; }
}

@media (max-width: 650px) {
  .features-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border-left: 5px solid var(--color-secondary);
  margin-bottom: 20px;
  transition: box-shadow var(--transition-med), background var(--transition-fast);
}
.testimonial-card p {
  color: var(--color-primary);
  font-style: italic;
  font-size: 18px;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: var(--color-mid);
  font-size: 15px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: var(--shadow-deep);
  background: #fff;
}

/* Cards and Lists for Hotels, Offers, Destinations */
.hotel-cards, .special-offers-list > div > div, .destination-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.hotel-cards > div, .special-offers-list > div > div > div {
  background: var(--color-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  padding: 22px 16px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.hotel-cards > div:hover, .special-offers-list > div > div > div:hover {
  box-shadow: var(--shadow-deep);
  transform: translateY(-3px) scale(1.03);
}

ul li {
  margin-bottom: 12px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img {
  height: 24px; width: 24px;
  margin-top: 1px;
}
ul li strong {
  font-weight: 600; color: var(--color-primary);
}

/* ===========
   TYPOGRAPHY
   =========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  font-weight: 700;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.18;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem; line-height: 1.22; margin-bottom: 8px;
}
h3 {
  font-size: 1.25rem; font-weight: 600;
}
h4 { font-size: 1.1rem; font-weight: 500; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.08rem; }
}
p, li, ul, ol {
  font-family: var(--font-body);
  color: var(--color-dark);
  font-size: 16px;
  line-height: 1.7;
}
p { margin-bottom: 12px; }

ol li, ul li {
  font-size: 15px;
}

/* ===================
   HERO SECTIONS
   =================== */
.hero, .offers-hero, .hotels-hero, .destinations-hero, .booking-hero, .contact-hero, .thank-you-message {
  background: linear-gradient(113deg, var(--color-primary) 87%, var(--color-secondary) 100%);
  background-color: var(--color-primary);
  color: #fff;
  min-height: 340px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: stretch;
  margin-bottom: 36px;
  box-shadow: var(--shadow-base);
}
.hero h1, .offers-hero h1, .hotels-hero h1, .destinations-hero h1, .booking-hero h1, .contact-hero h1, .thank-you-message h1 {
  color: #fff;
}
.hero p, .offers-hero p, .hotels-hero p, .destinations-hero p, .booking-hero p, .contact-hero p, .thank-you-message p {
  color: #f6f3eb;
}
.hero .cta-btn, .offers-hero .cta-btn, .hotels-hero .cta-btn, .booking-hero .cta-btn {
  background: #fff; color: var(--color-primary);
  box-shadow: var(--shadow-base);
}
.hero .cta-btn:hover, .offers-hero .cta-btn:hover, .hotels-hero .cta-btn:hover, .booking-hero .cta-btn:hover {
  background: #dde3eb;
  color: var(--color-secondary);
}

/* Overviews and Previews */
.destinations-overview, .hotels-preview, .offers-preview, .cta-banner, .discount-cta,
.destination-grid, .destination-highlight, .hotels-listing, .hotel-filter-search, .contact-details, .contact-form, .service-info {
  background: var(--color-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  padding: 38px 24px 34px 24px;
}
@media (max-width: 768px) {
  .destinations-overview, .hotels-preview, .offers-preview, .cta-banner, .discount-cta,
  .destination-grid, .destination-highlight, .hotels-listing, .hotel-filter-search, .contact-details, .contact-form, .service-info {
    padding: 22px 6px 16px 6px;
    border-radius: 7px;
  }
}

/* CTA banner */
.cta-banner, .discount-cta {
  background: var(--color-secondary);
  color: #fff;
  text-align: center;
}
.cta-banner h2, .discount-cta h2 { color: #fff; }
.cta-banner p, .discount-cta p { color: #faf4e1; }
.cta-banner .cta-btn, .discount-cta .cta-btn {
  background: #fff; color: var(--color-secondary);
}
.cta-banner .cta-btn:hover, .discount-cta .cta-btn:hover {
  background: #ffe297;
  color: var(--color-primary);
}

/* ===================
   FOOTER
   =================== */
footer {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 -3px 18px 0 rgba(37,48,71,.06);
  padding: 42px 0 28px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px 54px;
  justify-content: flex-start;
}
footer img {
  height: 54px;
  margin-right: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-nav a {
  color: #fff;
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 15px;
  opacity: 0.85;
  padding: 2px 0;
  transition: color var(--transition-fast);
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--color-secondary); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  opacity: 0.88;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 6px;
  vertical-align: -4px;
}
@media (max-width: 980px) {
  footer .container {
    flex-direction: column;
    gap: 30px 0;
    align-items: flex-start;
  }
}
@media (max-width: 650px) {
  footer {
    padding: 28px 0 18px 0;
  }
  .footer-nav {
    flex-direction: row;
    gap: 7px 14px;
    flex-wrap: wrap;
  }
}

/* =======================
   FORMS & SUPPORT SECTIONS
   ======================= */
.booking-form, .contact-form, .service-info, .booking-support {
  background: var(--color-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  padding: 38px 24px 34px 24px;
}
.booking-form p, .contact-form p, .service-info li, .booking-support p {
  color: var(--color-dark);
  font-size: 15px;
}

/* ===================
   BUTTONS & INTERACTIONS
   =================== */
button, .cta-btn, .mobile-menu-close {
  outline: none;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

button:active, .cta-btn:active {
  transform: scale(0.96);
}

/* ====== Cookie Consent Banner ====== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--color-dark);
  padding: 22px 16px 20px 16px;
  box-shadow: 0 -2px 24px 0 rgba(37,48,71,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2000;
  font-size: 15px;
  gap: 18px;
  animation: cookie-banner-in var(--transition-slow) cubic-bezier(.4,.8,.52,1.01);
}
@keyframes cookie-banner-in {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex; gap: 14px; margin-top: 6px;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  margin: 0 3px;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-card);
}
.cookie-btn.accept {
  background: var(--color-secondary); color: #fff;
}
.cookie-btn.reject {
  background: #eef1f5; color: var(--color-dark);
}
.cookie-btn.settings {
  background: var(--color-primary); color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.88;
  background: var(--color-mid);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #b88610;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f7f8fa;
  color: var(--color-primary);
}
/* Cookie Consent Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,48,71,0.18);
  animation: cookie-modal-fade-in 0.23s cubic-bezier(.17,.67,.83,.67);
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-deep);
  padding: 34px 28px 27px 28px;
  min-width: 320px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-content-in 0.22s cubic-bezier(.3,.86,.74,.94);
}
@keyframes cookie-modal-content-in {
  0% { transform: scale(0.93); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 5px;
}
.cookie-switch-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-switch {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-size: 15px;
}
.cookie-switch label {
  font-size: 15px;
  font-family: var(--font-body);
}
.cookie-switch input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px; height: 18px;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex; gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .cookie-btn {
  min-width: 90px;
}

/* Make modals responsive */
@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 20px 8px;
    min-width: 0;
  }
}

/* ===================
   ANIMATIONS & MICROINTERACTIONS
   =================== */
.cta-btn, .card, .features-grid > div, .hotel-cards > div, .special-offers-list > div > div > div, .testimonial-card {
  transition: box-shadow var(--transition-med), transform var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.cta-btn:active { box-shadow: 0 1px 4px rgba(37,48,71,0.08); }

/* ==============
   GENERAL HELPERS
  ============== */
.bg-accent { background: var(--color-accent); }
.text-secondary { color: var(--color-secondary); }
.text-primary { color: var(--color-primary); }
.text-dark { color: var(--color-dark); }
.text-light { color: #fff; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-col { flex-direction: column; }
.gap-20 { gap: 20px; }
.mb-24 { margin-bottom: 24px; }

/* =============
   MEDIA QUERIES (COMPACT)
  ============= */
@media (max-width: 1080px) {
  .content-wrapper, .section, .hero, .cta-banner, .discount-cta, .container {
    max-width: 96vw;
  }
}
@media (max-width: 650px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  .features-grid > div, .card, .testimonial-card {
    padding: 16px 8px;
  }
  .destinations-overview, .hotels-preview, .offers-preview, .cta-banner, .discount-cta,
  .destination-grid, .destination-highlight, .hotels-listing, .hotel-filter-search, .contact-details, .contact-form, .service-info {
    padding: 10px 4px 9px 4px;
  }
  main { margin-top: 68px; }
}

/* ===================
   Z-INDEX LAYERS
  =================== */
header { z-index: 50; }
.mobile-menu, .mobile-menu.open { z-index: 1101; }
.cookie-modal { z-index: 2500; }
.cookie-banner { z-index: 2000; }

/* ===============
   ACCESSIBILITY
  =============== */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ===============
   PRINT (OPTIONAL)
  =============== */
@media print {
  header, .mobile-menu, .cta-btn, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
  main, .container {
    margin: 0; max-width: 100vw; padding: 0;
  }
  body {
    background: #fff; color: #222;
  }
}
