:root {
  /* Travel palette */
  --primary: #0F7EE6;     /* ocean blue */
  --secondary: #0FBA81;   /* teal accent */
  --background: #F6FAFF;  /* soft sky */
  --surface: #ffffff;
  --text: #0A1F33;
  --muted: #5B7288;
  --ring: rgba(15, 126, 230, 0.25);
  --shadow: rgba(10, 31, 51, 0.08);
  --overlay: rgba(10, 31, 51, 0.55);

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-secondary);
  color: var(--text);
  background: radial-gradient(circle at 10% -20%, #EAF4FF, transparent 50%) no-repeat, var(--background);
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-primary); letter-spacing: -0.02em; }
h1 { font-weight: 700; }
h2 { font-weight: 650; }
h3 { font-weight: 600; }
p { color: var(--muted); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--surface); box-shadow: 0 2px 8px var(--shadow); }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-img { height: 28px; }
.logo-text { font-weight: 700; font-family: var(--font-primary); padding: 4px 10px; border-radius: 999px; background: #E9F6FF; color: var(--primary); }

.nav-menu { display: flex; gap: 18px; }
.nav-link { color: var(--muted); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.nav-link:hover { color: var(--text); background: #F1F6FB; }
.nav-link.active { color: var(--primary); background: #E9F6FF; }

.mobile-menu-btn { display: none; background: transparent; border: 0; padding: 8px; }
.hamburger { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

.header-actions { display: flex; align-items: center; gap: 8px; }

/* Buttons */
.btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center; gap: 8px;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  background: #EEF5FB; color: var(--text);
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 6px 18px rgba(15,126,230,.25); }
.btn-primary:hover { filter: brightness(.98); }
.btn-secondary { background: #E7FBF5; color: #0E7A59; }
.btn-block { width: 100%; justify-content: center; }

/* Hero */
.hero { position: relative; padding: 72px 0; background: linear-gradient(180deg, #F6FAFF 0%, #FFFFFF 100%); }
.hero-content { max-width: 780px; }
.hero-title { font-size: clamp(32px, 5vw, 48px); margin: 0 0 10px; }
.hero-subtitle { font-size: 18px; margin: 0 0 18px; }
.hero-cta { display: flex; gap: 10px; margin-top: 10px; }
.search-bar { display: flex; gap: 8px; margin-top: 18px; }
.search-bar input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid #D6E6F6; font-size: 16px; }
.search-bar input:focus { outline: 2px solid var(--ring); box-shadow: 0 0 0 4px var(--ring); }

/* Sections */
.section-header { display: grid; gap: 6px; margin-bottom: 16px; }

/* Cards grid */
.cards-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.cards-grid > .card { grid-column: span 12; }
@media (min-width: 640px) { .cards-grid > .card { grid-column: span 6; } }
@media (min-width: 960px) { .cards-grid > .card { grid-column: span 4; } }

.card { background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px var(--shadow); display: flex; flex-direction: column; }
/* Ensure square thumbnails and avoid cropping */
.card-media { aspect-ratio: 1 / 1; background: #EAF4FF; display: grid; place-items: center; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 14px; display: grid; gap: 6px; }
.card-title { font-size: 18px; }
.card-desc { font-size: 14px; color: var(--muted); min-height: 42px; }
.card-actions { padding: 0 14px 14px; display: flex; gap: 8px; }

/* Modal */
.modal { position: fixed; inset: 0; background: var(--overlay); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal.open { display: flex; animation: fadeIn .2s ease; }
.modal-content { background: var(--surface); border-radius: 14px; width: min(820px, 100%); box-shadow: 0 10px 30px rgba(0,0,0,0.25); position: relative; overflow: hidden; }
.modal-close { position: absolute; right: 8px; top: 8px; border: none; background: transparent; font-size: 28px; color: #678; cursor: pointer; }
.modal-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .modal-body { grid-template-columns: 1.2fr 1fr; } }
.modal-media { background: #EAF4FF; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-details { padding: 18px; }
.modal-details h3 { margin: 0 0 6px; }
.modal-details p { margin: 0 0 14px; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }

/* Services */
.page-header { padding: 48px 0 8px; background: linear-gradient(180deg, #F6FAFF 0%, #FFFFFF 100%); }
.services { padding: 8px 0 36px; }
.services-grid > .service-card { grid-column: span 12; }
@media (min-width: 900px) { .services-grid > .service-card { grid-column: span 6; } }

/* Footer */
.footer { background: #071724; color: white; margin-top: 36px; }
.footer-content { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); padding: 28px 0; }
.footer-section { grid-column: span 12; }
@media (min-width: 960px) { .footer-section { grid-column: span 4; } }
.footer-section h3 { color: #B9E2FF; margin: 0 0 8px; }
.footer-section p, .footer-section li { color: #D7E9F7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 12px 0; text-align: center; color: #91BFE2; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* Mobile menu */
@media (max-width: 860px) {
  .mobile-menu-btn { display: inline-block; }
  .nav-menu { position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); padding: 12px 20px; box-shadow: 0 6px 24px var(--shadow); display: none; }
  .nav-menu.open { display: grid; gap: 10px; }
}
