/* ===========================================
   HORIZON ESCAPES – PREMIUM DESIGN SYSTEM
   Inspired by Bluecrest Estates (layout & motion)
   Brand color: Teal (#0D9488)
   Font: Outfit
=========================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-light: #CCFBF1;
  --bg-white: #ffffff;
  --bg-light: #F8FAFC;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --radius-card: 28px;
  --radius-btn: 999px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-subtitle {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-ghost-btn {
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-ghost-btn:hover {
  background: var(--bg-light);
}

.nav-primary-btn {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.nav-primary-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .nav-links, .nav-ghost-btn, .nav-primary-btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-dark);
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========== CARDS ========== */
.card {
  background: white;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ========== FOOTER (matching Bluecrest style) ========== */
.footer {
  background: #0F172A;
  color: white;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-description {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links, .footer-contact {
  list-style: none;
}

.footer-links li, .footer-contact li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-contact i {
  width: 24px;
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ========== UTILITIES ========== */
.section-label {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 16px;
}

.section-text {
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
/* Testimonial slider fixes */
.testimonial-slider {
  will-change: transform;
  transition: transform 0.05s linear;
}
.testimonial-slider .testimonial-card {
  pointer-events: auto;
}
.relative.overflow-hidden .absolute {
  pointer-events: none;
}

/* Navbar logo image */
.logo-img {
  height: 48px;
  width: auto;
  border-radius: 12px;
}

/* Footer logo wrapper */
.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  border-radius: 12px;
}

.footer-logo {
  margin-bottom: 0;
}