@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');

/* ============================================
   JADRANROUTES - Travel Website CSS
   Unique Adriatic-Inspired Color Palette
   ============================================ */

:root {
  /* Primary Palette - Adriatic Sea & Coast */
  --color-adriatic-deep: #0d4f6c;
  --color-adriatic-mid: #1a7a9e;
  --color-adriatic-light: #4fb3d4;
  --color-adriatic-foam: #a8dce8;
  --color-adriatic-mist: #e8f6fa;

  /* Accent Palette - Mediterranean Warmth */
  --color-terracotta: #c4622d;
  --color-terracotta-light: #e07a4a;
  --color-terracotta-pale: #f5d5c4;
  --color-golden-sand: #e8c47a;
  --color-golden-deep: #c9963a;
  --color-lavender-dusk: #7b5ea7;
  --color-lavender-light: #b09fd4;

  /* Neutral Palette */
  --color-stone-dark: #2c2825;
  --color-stone-mid: #5c5450;
  --color-stone-light: #a09890;
  --color-pebble: #d4cec8;
  --color-ivory: #faf7f2;
  --color-white-pure: #ffffff;

  /* Functional Colors */
  --color-success: #3d8b6e;
  --color-warning: #e8a030;
  --color-error: #c4362a;
  --color-info: var(--color-adriatic-mid);

  /* Gradients */
  --gradient-adriatic: linear-gradient(135deg, var(--color-adriatic-deep) 0%, var(--color-adriatic-mid) 50%, var(--color-adriatic-light) 100%);
  --gradient-sunset: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-golden-sand) 60%, var(--color-adriatic-light) 100%);
  --gradient-hero: linear-gradient(160deg, rgba(13, 79, 108, 0.92) 0%, rgba(26, 122, 158, 0.75) 50%, rgba(79, 179, 212, 0.55) 100%);
  --gradient-card: linear-gradient(180deg, transparent 40%, rgba(13, 79, 108, 0.85) 100%);
  --gradient-warm: linear-gradient(135deg, var(--color-golden-sand) 0%, var(--color-terracotta-light) 100%);

  /* Typography */
  --font-primary: 'Georgia', 'Times New Roman', serif;
  --font-secondary: 'Arial', 'Helvetica', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --border-thin: 1px solid;
  --border-medium: 2px solid;
  --border-thick: 3px solid;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(13, 79, 108, 0.12);
  --shadow-md: 0 4px 20px rgba(13, 79, 108, 0.18);
  --shadow-lg: 0 8px 40px rgba(13, 79, 108, 0.24);
  --shadow-xl: 0 16px 60px rgba(13, 79, 108, 0.32);
  --shadow-warm: 0 8px 30px rgba(196, 98, 45, 0.25);
  --shadow-golden: 0 4px 20px rgba(232, 196, 122, 0.4);
  --shadow-inset: inset 0 2px 8px rgba(13, 79, 108, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index Scale */
  --z-base: 1;
  --z-card: 10;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-overlay: 800;
  --z-modal: 900;
  --z-toast: 1000;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-secondary);
  color: var(--color-stone-dark);
  background-color: var(--color-ivory);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-adriatic-mid);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-adriatic-deep);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-adriatic-mist);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-adriatic-mid), var(--color-adriatic-deep));
  border-radius: var(--radius-full);
  border: 2px solid var(--color-adriatic-mist);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-terracotta-light), var(--color-terracotta));
}

::-webkit-scrollbar-corner {
  background: var(--color-adriatic-mist);
}

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */

.font-primary {
  font-family: var(--font-primary);
}

.font-secondary {
  font-family: var(--font-secondary);
}

.text-adriatic-deep { color: var(--color-adriatic-deep); }
.text-adriatic-mid { color: var(--color-adriatic-mid); }
.text-adriatic-light { color: var(--color-adriatic-light); }
.text-terracotta { color: var(--color-terracotta); }
.text-golden { color: var(--color-golden-deep); }
.text-stone { color: var(--color-stone-mid); }
.text-ivory { color: var(--color-ivory); }

.heading-display {
  font-family: var(--font-primary);
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-adriatic-deep);
}

.heading-section {
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-adriatic-deep);
  position: relative;
}

.heading-section::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-warm);
  margin-top: 12px;
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.heading-section:hover::after {
  width: 100px;
}

.heading-card {
  font-family: var(--font-primary);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-white-pure);
  line-height: 1.3;
}

/* ============================================
   STICKY HEADER
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(13, 79, 108, 0.96);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(79, 179, 212, 0.2);
  transition: all var(--transition-base);
  box-shadow: 0 2px 20px rgba(13, 79, 108, 0.3);
}

.site-header.scrolled {
  background: rgba(13, 79, 108, 0.99);
  box-shadow: var(--shadow-lg);
}

.site-header.header-transparent {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-warm);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-white-pure);
  box-shadow: var(--shadow-warm);
  transition: transform var(--transition-spring);
}

.header-logo:hover .header-logo-icon {
  transform: rotate(-8deg) scale(1.1);
}

.header-logo-text {
  font-family: var(--font-primary);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-white-pure);
  letter-spacing: -0.01em;
}

.header-logo-text span {
  color: var(--color-golden-sand);
}

/* ============================================
   NAVIGATION
   ============================================ */

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  position: relative;
  padding: var(--space-sm) var(--space-md);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-golden-sand);
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-white-pure);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover::after {
  width: calc(100% - 24px);
}

.nav-link.active {
  color: var(--color-golden-sand);
  background: rgba(232, 196, 122, 0.12);
}

.nav-link.active::after {
  width: calc(100% - 24px);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-toggle .ri-arrow-down-s-line {
  transition: transform var(--transition-base);
  font-size: 16px;
}

.nav-dropdown:hover .nav-dropdown-toggle .ri-arrow-down-s-line {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: var(--color-white-pure);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(13, 79, 108, 0.1);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--color-white-pure);
  border-left: 1px solid rgba(13, 79, 108, 0.1);
  border-top: 1px solid rgba(13, 79, 108, 0.1);
  transform: translateX(-50%) rotate(45deg);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  color: var(--color-stone-dark);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--color-adriatic-mist);
  color: var(--color-adriatic-deep);
  transform: translateX(4px);
}

.dropdown-item i {
  color: var(--color-adriatic-mid);
  font-size: 16px;
  width: 20px;
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  padding: 0;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-white-pure);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.mobile-menu-toggle.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  background: rgba(13, 79, 108, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(79, 179, 212, 0.2);
  padding: var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.mobile-menu.is-open {
  max-height: 600px;
  padding: var(--space-lg);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-base);
  font-weight: 500;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-base);
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
  color: var(--color-white-pure);
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--color-golden-sand);
  padding-left: calc(var(--space-lg) + 4px);
}

.mobile-nav-link i {
  color: var(--color-adriatic-foam);
  font-size: 18px;
  width: 24px;
}

.mobile-nav-divider {
  height: 1px;
  background: rgba(79, 179, 212, 0.2);
  margin: var(--space-sm) 0;
}

/* ============================================
   HEADER ACTIONS
   ============================================ */

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-action-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
}

.header-btn-ghost {
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-btn-ghost:hover {
  color: var(--color-white-pure);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.header-btn-primary {
  color: var(--color-stone-dark);
  background: var(--gradient-warm);
  box-shadow: var(--shadow-warm);
}

.header-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 98, 45, 0.4);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: var(--font-size-base);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-lg);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

/* Primary Button */
.btn-primary {
  background: var(--gradient-adriatic);
  color: var(--color-white-pure);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--color-white-pure);
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* Secondary Button */
.btn-secondary {
  background: var(--gradient-warm);
  color: var(--color-stone-dark);
  border-color: transparent;
  box-shadow: var(--shadow-warm);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(196, 98, 45, 0.4);
  color: var(--color-stone-dark);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--color-adriatic-mid);
  border-color: var(--color-adriatic-mid);
}

.btn-outline:hover {
  background: var(--color-adriatic-mid);
  color: var(--color-white-pure);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Outline Light Button */
.btn-outline-light {
  background: transparent;
  color: var(--color-white-pure);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white-pure);
  color: var(--color-white-pure);
  transform: translateY(-2px);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--color-stone-dark);
  border-color: var(--color-pebble);
}

.btn-ghost:hover {
  background: var(--color-adriatic-mist);
  border-color: var(--color-adriatic-foam);
  color: var(--color-adriatic-deep);
  transform: translateY(-2px);
}

/* Golden Button */
.btn-golden {
  background: linear-gradient(135deg, var(--color-golden-sand), var(--color-golden-deep));
  color: var(--color-stone-dark);
  border-color: transparent;
  box-shadow: var(--shadow-golden);
}

.btn-golden:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(232, 196, 122, 0.6);
  color: var(--color-stone-dark);
}

/* Button Sizes */
.btn-sm {
  padding: 8px 18px;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 16px 40px;
  font-size: var(--font-size-lg);
  border-radius: var(--radius-xl);
}

.btn-xl {
  padding: 20px 52px;
  font-size: var(--font-size-xl);
  border-radius: var(--radius-xl);
  letter-spacing: 0.03em;
}

/* Button with Icon */
.btn i {
  font-size: 1.1em;
  transition: transform var(--transition-base);
}

.btn:hover i.btn-icon-right {
  transform: translateX(4px);
}

.btn:hover i.btn-icon-up {
  transform: translateY(-3px);
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - var(--space-3xl));
  max-width: 900px;
  background: var(--color-white-pure);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(13, 79, 108, 0.08);
  padding: var(--space-xl);
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  border-left: 4px solid var(--color-adriatic-mid);
  animation: slideUpBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideUpBounce {
  from {
    transform: translateX(-50%) translateY(120%);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.cookie-banner.is-hiding {
  animation: slideDownFade 0.4s ease forwards;
}

@keyframes slideDownFade {
  from {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  to {
    transform: translateX(-50%) translateY(120%);
    opacity: 0;
  }
}

.cookie-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-warm);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-white-pure);
  flex-shrink: 0;
  box-shadow: var(--shadow-warm);
}

.cookie-content {
  flex: 1;
  min-width: 0;
}

.cookie-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-adriatic-deep);
  margin-bottom: 4px;
}

.cookie-text {
  font-size: var(--font-size-sm);
  color: var(--color-stone-mid);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--color-adriatic-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-text a:hover {
  color: var(--color-terracotta);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-btn-accept {
  padding: 10px 22px;
  background: var(--gradient-adriatic);
  color: var(--color-white-pure);
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-spring);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cookie-btn-decline {
  padding: 10px 18px;
  background: transparent;
  color: var(--color-stone-mid);
  border: 1px solid var(--color-pebble);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.cookie-btn-decline:hover {
  background: var(--color-adriatic-mist);
  border-color: var(--color-adriatic-foam);
  color: var(--color-stone-dark);
}

.cookie-btn-settings {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: transparent;
  color: var(--color-stone-light);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.cookie-btn-settings:hover {
  color: var(--color-adriatic-mid);
  background: var(--color-adriatic-mist);
}

/* ============================================
   FORM STYLES
   ============================================ */

.form-group {
  position: relative;
  margin-bottom: var(--space-lg);
}

.form-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-stone-dark);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.01em;
}

.form-label i {
  color: var(--color-adriatic-mid);
  font-size: 16px;
}

.form-label .required-star {
  color: var(--color-terracotta);
  font-size: 10px;
  vertical-align: top;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--font-size-base);
  font-family: var(--font-secondary);
  color: var(--color-stone-dark);
  background: var(--color-white-pure);
  border: 2px solid var(--color-pebble);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-stone-light);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--color-adriatic-foam);
  background: var(--color-adriatic-mist);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-adriatic-mid);
  background: var(--color-white-pure);
  box-shadow: 0 0 0 4px rgba(26, 122, 158, 0.12), var(--shadow-sm);
}

.form-input.is-valid,
.form-select.is-valid,
.form-textarea.is-valid {
  border-color: var(--color-success);
  background: rgba(61, 139, 110, 0.04);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--color-error);
  background: rgba(196, 54, 42, 0.04);
  box-shadow: 0 0 0 4px rgba(196, 54, 42, 0.08);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a7a9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}

/* Input with Icon */
.input-with-icon {
  position: relative;
}

.input-icon-left {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-stone-light);
  font-size: 18px;
  pointer-events: none;
  transition: color var(--transition-base);
  z-index: 2;
}

.input-icon-right {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-stone-light);
  font-size: 18px;
  cursor: pointer;
  transition: color var(--transition-base);
  z-index: 2;
}

.input-with-icon .form-input {
  padding-left: 44px;
}

.input-with-icon .form-input.has-right-icon {
  padding-right: 44px;
}

.input-with-icon .form-input:focus ~ .input-icon-left {
  color: var(--color-adriatic-mid);
}

.form-helper {
  font-size: var(--font-size-xs);
  color: var(--color-stone-light);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-error {
  font-size: var(--font-size-xs);
  color: var(--color-error);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-success {
  font-size: var(--font-size-xs);
  color: var(--color-success);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-check-input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--color-pebble);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--color-white-pure);
  accent-color: var(--color-adriatic-mid);
  margin-top: 2px;
}

.form-check-input:checked {
  background: var(--color-adriatic-mid);
  border-color: var(--color-adriatic-mid);
}

.form-check-label {
  font-size: var(--font-size-sm);
  color: var(--color-stone-mid);
  line-height: 1.5;
  cursor: pointer;
}

.form-check-label a {
  color: var(--color-adriatic-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Date Range Picker */
.date-range-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* Search Form */
.search-form {
  background: var(--color-white-pure);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(13, 79, 108, 0.08);
}

.search-form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: var(--space-md);
  align-items: end;
}

.search-form-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-adriatic-deep);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.search-form-title i {
  color: var(--color-terracotta);
}

/* Contact Form */
.contact-form {
  background: var(--color-white-pure);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(13, 79, 108, 0.06);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-adriatic);
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--color-white-pure);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 79, 108, 0.06);
  transition: all var(--transition-base);
}

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

/* Destination Card */
.destination-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}

.destination-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.destination-card:hover .destination-card-image {
  transform: scale(1.08);
}

.destination-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  transition: opacity var(--transition-base);
}

.destination-card:hover .destination-card-overlay {
  opacity: 1.2;
}

.destination-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
}

.destination-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(232, 196, 122, 0.9);
  color: var(--color-stone-dark);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.destination-card-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-white-pure);
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.destination-card-subtitle {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 4px;
}

.destination-card-action {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white-pure);
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-spring);
  cursor: pointer;
}

.destination-card-action:hover {
  background: var(--gradient-warm);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: var(--shadow-warm);
}

/* Tour Card */
.tour-card {
  background: var(--color-white-pure);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 79, 108, 0.06);
  transition: all var(--transition-base);
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.tour-card-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.tour-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.tour-card:hover .tour-card-image-wrap img {
  transform: scale(1.06);
}

.tour-card-tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-terracotta);
  color: var(--color-white-pure);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tour-card-tag.featured {
  background: var(--gradient-warm);
  color: var(--color-stone-dark);
}

.tour-card-wishlist {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  background: var(--color-white-pure);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-stone-light);
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-spring);
  border: none;
}

.tour-card-wishlist:hover {
  color: var(--color-terracotta);
  transform: scale(1.15);
}

.tour-card-wishlist.is-active {
  color: var(--color-terracotta);
  background: var(--color-terracotta-pale);
}

.tour-card-body {
  padding: var(--space-lg);
}

.tour-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.tour-card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-xs);
  color: var(--color-stone-mid);
}

.tour-card-meta-item i {
  color: var(--color-adriatic-mid);
  font-size: 14px;
}

.tour-card-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-adriatic-deep);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
  transition: color var(--transition-base);
}

.tour-card:hover .tour-card-title {
  color: var(--color-adriatic-mid);
}

.tour-card-desc {
  font-size: var(--font-size-sm);
  color: var(--color-stone-mid);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.tour-card-stars {
  display: flex;
  gap: 2px;
}

.tour-card-stars i {
  color: var(--color-golden-sand);
  font-size: 14px;
}

.tour-card-rating-score {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-stone-dark);
}

.tour-card-rating-count {
  font-size: var(--font-size-xs);
  color: var(--color-stone-light);
}

.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-pebble);
}

.tour-card-price {
  display: flex;
  flex-direction: column;
}

.tour-card-price-label {
  font-size: var(--font-size-xs);
  color: var(--color-stone-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tour-card-price-value {
  font-family: var(--font-primary);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-adriatic-deep);
}

.tour-card-price-value span {
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--color-stone-light);
}

/* Feature Card */
.feature-card {
  background: var(--color-white-pure);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 79, 108, 0.06);
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--gradient-adriatic);
  transition: height var(--transition-base);
  z-index: 0;
}

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

.feature-card:hover::after {
  height: 4px;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: all var(--transition-spring);
}

.feature-card:hover .feature-card-icon {
  transform: rotate(-8deg) scale(1.1);
}

.feature-card-icon.adriatic {
  background: rgba(79, 179, 212, 0.15);
  color: var(--color-adriatic-mid);
}

.feature-card-icon.terracotta {
  background: rgba(196, 98, 45, 0.12);
  color: var(--color-terracotta);
}

.feature-card-icon.golden {
  background: rgba(232, 196, 122, 0.25);
  color: var(--color-golden-deep);
}

.feature-card-icon.lavender {
  background: rgba(123, 94, 167, 0.12);
  color: var(--color-lavender-dusk);
}

.feature-card-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-adriatic-deep);
  margin-bottom: var(--space-sm);
}

.feature-card-text {
  font-size: var(--font-size-sm);
  color: var(--color-stone-mid);
  line-height: 1.6;
}

/* Testimonial Card */
.testimonial-card {
  background: var(--color-white-pure);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 79, 108, 0.06);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-family: var(--font-primary);
  font-size: 80px;
  line-height: 1;
  color: var(--color-adriatic-foam);
  font-weight: 700;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-md);
}

.testimonial-stars i {
  color: var(--color-golden-sand);
  font-size: 16px;
}

.testimonial-text {
  font-size: var(--font-size-sm);
  color: var(--color-stone-mid);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--color-adriatic-foam);
}

.testimonial-author-name {
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--color-adriatic-deep);
}

.testimonial-author-location {
  font-size: var(--font-size-xs);
  color: var(--color-stone-light);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Blog Card */
.blog-card {
  background: var(--color-white-pure);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 79, 108, 0.06);
  transition: all var(--transition-base);
}

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

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: var(--space-lg);
}

.blog-card-category {
  display: inline-block;
  background: var(--color-adriatic-mist);
  color: var(--color-adriatic-mid);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  transition: all var(--transition-base);
}

.blog-card:hover .blog-card-category {
  background: var(--color-adriatic-mid);
  color: var(--color-white-pure);
}

.blog-card-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-adriatic-deep);
  margin-bottom: var(--space-sm);
  line-height: 1.35;
  transition: color var(--transition-base);
}

.blog-card:hover .blog-card-title {
  color: var(--color-adriatic-mid);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.blog-card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-xs);
  color: var(--color-stone-light);
}

/* ============================================
   ACCORDION / COLLAPSE
   ============================================ */

.accordion {
  border: 1px solid rgba(13, 79, 108, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-item {
  border-bottom: 1px solid rgba(13, 79, 108, 0.08);
  background: var(--color-white-pure);
  transition: background var(--transition-base);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-item.is-open {
  background: var(--color-adriatic-mist);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  cursor: pointer;
  user-select: none;