/* ============================================================
   Booking Core - Modern Design System v2.0
   ============================================================ */

/* Custom Properties / CSS Variables */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-bg: #eff6ff;
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #06b6d4;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   MODERN HEADER & NAVIGATION
   ============================================ */
.bravo_wrap .bravo_topbar {
  background: var(--secondary);
  padding: 0;
  font-size: 13px;
}
.bravo_wrap .bravo_topbar .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}
.bravo_wrap .bravo_topbar .content .topbar-left {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}
.bravo_wrap .bravo_topbar .content .topbar-left a {
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
}
.bravo_wrap .bravo_topbar .content .topbar-left a:hover {
  color: #fff;
}
.bravo_wrap .bravo_topbar .content .topbar-items li a {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  transition: var(--transition);
}
.bravo_wrap .bravo_topbar .content .topbar-items li a:hover {
  color: #fff;
}
.bravo_wrap .bravo_topbar .content .socials a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.bravo_wrap .bravo_topbar .content .socials a:hover {
  color: #fff;
}

.bravo_wrap .bravo_header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.bravo_wrap .bravo_header .content .header-left {
  min-height: 72px;
}
.bravo_wrap .bravo_header .content .header-left .bravo-logo img {
  max-height: 42px;
  width: auto;
}
.bravo_wrap .bravo_header .content .header-left .bravo-menu > ul > li > a {
  padding: 26px 18px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: var(--text-primary);
  position: relative;
  letter-spacing: 0.01em;
}
.bravo_wrap .bravo_header .content .header-left .bravo-menu > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.bravo_wrap .bravo_header .content .header-left .bravo-menu > ul > li:hover > a::after,
.bravo_wrap .bravo_header .content .header-left .bravo-menu > ul > li.active > a::after {
  width: 100%;
}
.bravo_wrap .bravo_header .content .header-left .bravo-menu > ul > li:hover > a {
  color: var(--primary);
}
.bravo_wrap .bravo_header .content .header-left .bravo-menu > ul > li > .menu-dropdown {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 220px;
}
.bravo_wrap .bravo_header .content .header-left .bravo-menu > ul > li > .menu-dropdown li a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.bravo_wrap .bravo_header .content .header-left .bravo-menu > ul > li > .menu-dropdown li a:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

/* Header Buttons */
.bravo_wrap .bravo_header .content .header-right .topbar-items li a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13px;
  transition: var(--transition);
}
.bravo_wrap .bravo_header .content .header-right .topbar-items li a:hover {
  color: var(--primary);
}
.bravo_wrap .bravo_header .content .header-right .topbar-items li:last-child a {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  gap: 6px;
}
.bravo_wrap .bravo_header .content .header-right .topbar-items li:last-child a:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   MODERN FOOTER
   ============================================ */
.bravo_wrap .bravo_footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.9);
  padding-top: 60px;
}
.bravo_wrap .bravo_footer .main-footer .nav-footer .title {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 0 20px;
  margin-bottom: 20px;
  position: relative;
}
.bravo_wrap .bravo_footer .main-footer .nav-footer .title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}
.bravo_wrap .bravo_footer .main-footer .nav-footer .context ul li a {
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 400;
  transition: var(--transition);
}
.bravo_wrap .bravo_footer .main-footer .nav-footer .context ul li a:hover {
  color: #fff;
  padding-left: 4px;
}
.bravo_wrap .bravo_footer .main-footer .nav-footer .context .contact .c-title {
  color: rgba(255,255,255,0.6);
}
.bravo_wrap .bravo_footer .main-footer .nav-footer .context .contact .sub a i {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.bravo_wrap .bravo_footer .main-footer .nav-footer .context .contact .sub a:hover i {
  color: var(--primary);
}
.bravo_wrap .bravo_footer .mailchimp {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-top: 0;
  padding-bottom: 40px;
  margin-bottom: 40px;
}
.bravo_wrap .bravo_footer .mailchimp .media-body .media-heading {
  color: #fff !important;
}
.bravo_wrap .bravo_footer .mailchimp .media-body p {
  color: rgba(255,255,255,0.6) !important;
}
.bravo_wrap .bravo_footer .mailchimp .subcribe-form .form-control {
  height: 50px;
  line-height: 48px;
  border-radius: var(--radius) 0 0 var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.bravo_wrap .bravo_footer .mailchimp .subcribe-form .form-control::placeholder {
  color: rgba(255,255,255,0.5);
}
.bravo_wrap .bravo_footer .mailchimp .subcribe-form .btn-submit {
  background: var(--primary);
  height: 50px;
  line-height: 50px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.bravo_wrap .bravo_footer .mailchimp .subcribe-form .btn-submit:hover {
  background: var(--primary-dark);
}
.bravo_wrap .bravo_footer .copy-right {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.bravo_wrap .bravo_footer .copy-right .context {
  padding: 30px 15px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* ============================================
   MODERN PAGE CONTENT
   ============================================ */
.page-template-content {
  min-height: 60vh;
}

/* Modern Hero Section Overrides */
.bravo_wrap .page-template-content .bravo-form-search-all,
.bravo_wrap .page-template-content .bravo-form-search-tour,
.bravo_wrap .page-template-content .bravo-form-search-space,
.bravo_wrap .page-template-content .bravo-form-search-hotel,
.bravo_wrap .page-template-content .bravo-form-search-car,
.bravo_wrap .page-template-content .bravo-form-search-boat,
.bravo_wrap .page-template-content .bravo-form-search-event {
  position: relative;
  overflow: hidden;
}
.bravo_wrap .page-template-content .bravo-form-search-all::before,
.bravo_wrap .page-template-content .bravo-form-search-tour::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.3) 100%);
  z-index: 1;
}
.bravo_wrap .page-template-content .bravo-form-search-all > *,
.bravo_wrap .page-template-content .bravo-form-search-tour > * {
  position: relative;
  z-index: 2;
}
.bravo_wrap .page-template-content .bravo-form-search-all .text-heading,
.bravo_wrap .page-template-content .bravo-form-search-tour .text-heading {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
  .bravo_wrap .page-template-content .bravo-form-search-all .text-heading,
  .bravo_wrap .page-template-content .bravo-form-search-tour .text-heading {
    font-size: 32px;
  }
}

/* Modern Search Form */
.bravo_wrap .bravo_form {
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.bravo_wrap .bravo_form .form-content label {
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.bravo_wrap .bravo_form .form-content .render {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.bravo_wrap .bravo_form .g-button-submit button {
  background: var(--primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.bravo_wrap .bravo_form .g-button-submit button:hover {
  background: var(--primary-dark);
}

/* Modern Section Titles */
.bravo_wrap .page-template-content .bravo-list-tour .title,
.bravo_wrap .page-template-content .bravo-list-space .title,
.bravo_wrap .page-template-content .bravo-list-hotel .title,
.bravo_wrap .page-template-content .bravo-list-car .title,
.bravo_wrap .page-template-content .bravo-list-boat .title,
.bravo_wrap .page-template-content .bravo-list-event .title,
.bravo_wrap .page-template-content .bravo-list-news .title,
.bravo_wrap .page-template-content .bravo-list-locations .title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 16px;
}
.bravo_wrap .page-template-content .bravo-list-tour .title::after,
.bravo_wrap .page-template-content .bravo-list-space .title::after,
.bravo_wrap .page-template-content .bravo-list-hotel .title::after,
.bravo_wrap .page-template-content .bravo-list-car .title::after,
.bravo_wrap .page-template-content .bravo-list-boat .title::after,
.bravo_wrap .page-template-content .bravo-list-event .title::after,
.bravo_wrap .page-template-content .bravo-list-news .title::after,
.bravo_wrap .page-template-content .bravo-list-locations .title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

/* RTL Support for section title underlines */
.is-rtl .bravo_wrap .page-template-content .bravo-list-tour .title::after,
.is-rtl .bravo_wrap .page-template-content .bravo-list-space .title::after,
.is-rtl .bravo_wrap .page-template-content .bravo-list-hotel .title::after,
.is-rtl .bravo_wrap .page-template-content .bravo-list-car .title::after,
.is-rtl .bravo_wrap .page-template-content .bravo-list-boat .title::after,
.is-rtl .bravo_wrap .page-template-content .bravo-list-event .title::after,
.is-rtl .bravo_wrap .page-template-content .bravo-list-news .title::after,
.is-rtl .bravo_wrap .page-template-content .bravo-list-locations .title::after {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}
.bravo_wrap .page-template-content .bravo-list-tour .title .sub-title,
.bravo_wrap .page-template-content .bravo-list-space .title .sub-title,
.bravo_wrap .page-template-content .bravo-list-hotel .title .sub-title,
.bravo_wrap .page-template-content .bravo-list-car .title .sub-title,
.bravo_wrap .page-template-content .bravo-list-boat .title .sub-title,
.bravo_wrap .page-template-content .bravo-list-event .title .sub-title,
.bravo_wrap .page-template-content .bravo-list-news .title .sub-title,
.bravo_wrap .page-template-content .bravo-list-locations .title .sub-title {
  color: var(--text-muted);
  font-size: 15px;
  display: block;
  font-weight: 400;
  margin-top: 8px;
}

/* Modern Cards */
.bravo_wrap .page-template-content .bravo-list-tour .item-tour,
.bravo_wrap .page-template-content .bravo-list-tour.box_shadow .list-item .item,
.bravo_wrap .page-template-content .bravo-list-space .item-loop,
.bravo_wrap .page-template-content .bravo-list-hotel .item-loop,
.bravo_wrap .page-template-content .bravo-list-car .item-loop,
.bravo_wrap .page-template-content .bravo-list-boat .item-loop,
.bravo_wrap .page-template-content .bravo-list-event .item-loop {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.bravo_wrap .page-template-content .bravo-list-tour .item-tour:hover,
.bravo_wrap .page-template-content .bravo-list-tour.box_shadow .list-item .item:hover,
.bravo_wrap .page-template-content .bravo-list-space .item-loop:hover,
.bravo_wrap .page-template-content .bravo-list-hotel .item-loop:hover,
.bravo_wrap .page-template-content .bravo-list-car .item-loop:hover,
.bravo_wrap .page-template-content .bravo-list-boat .item-loop:hover,
.bravo_wrap .page-template-content .bravo-list-event .item-loop:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

/* Modern Location Cards */
.bravo_wrap .page-template-content .bravo-list-locations .list-item .destination-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.bravo_wrap .page-template-content .bravo-list-locations .list-item .destination-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}
.bravo_wrap .page-template-content .bravo-list-locations .list-item .destination-item .image .content .title {
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.bravo_wrap .page-template-content .bravo-list-locations .list-item .destination-item .image .content .desc {
  background: var(--primary);
  font-weight: 500;
  padding: 6px 24px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Modern Testimonial */
.bravo_wrap .page-template-content .bravo-testimonial .item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  background: #fff;
}
.bravo_wrap .page-template-content .bravo-testimonial .item:hover {
  box-shadow: var(--shadow-md);
}

/* Modern Offer Cards */
.bravo_wrap .page-template-content .bravo-offer .item {
  border-radius: var(--radius-lg);
}
.bravo_wrap .page-template-content .bravo-offer .item .item-title {
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Modern Call to Action */
.bravo_wrap .page-template-content .bravo-call-to-action .context {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.bravo_wrap .page-template-content .bravo-call-to-action .context .title {
  color: #fff;
}
.bravo_wrap .page-template-content .bravo-call-to-action .context .sub_title {
  color: rgba(255,255,255,0.8);
}
.bravo_wrap .page-template-content .bravo-call-to-action .context .btn-more {
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}
.bravo_wrap .page-template-content .bravo-call-to-action .context .btn-more:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Modern Featured Items */
.bravo_wrap .page-template-content .bravo-featured-item.style3 .featured-item {
  border-radius: var(--radius-lg);
  border-color: var(--border-color);
  transition: var(--transition);
}
.bravo_wrap .page-template-content .bravo-featured-item.style3 .featured-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Modern Featured Box */
.bravo_wrap .page-template-content .bravo-featured-box {
  background: var(--bg-light);
}
.bravo_wrap .page-template-content .bravo-featured-box .featured-item {
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.bravo_wrap .page-template-content .bravo-featured-box .featured-item:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

/* Modern Navigation Tabs */
.bravo_wrap .page-template-content .bravo-form-search-all .g-form-control .nav-tabs li a {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 28px;
  font-weight: 500;
  transition: var(--transition);
}
.bravo_wrap .page-template-content .bravo-form-search-all .g-form-control .nav-tabs li a:hover {
  background: rgba(255,255,255,0.25);
}
.bravo_wrap .page-template-content .bravo-form-search-all .g-form-control .nav-tabs li a.active {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* ============================================
   BUTTONS & UTILITIES
   ============================================ */
.btn {
  border-radius: var(--radius);
  font-weight: 500;
  padding: 10px 24px;
  transition: var(--transition);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary {
  background: var(--primary);
  border: none;
}
.btn-primary:hover {
  background: var(--primary-dark);
}
.btn-danger {
  background: var(--danger);
  border: none;
}

/* Form Controls */
.form-control {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ============================================
   RESPONSIVE ENHANCEMENTS
   ============================================ */
@media (max-width: 1023px) {
  .bravo_wrap .bravo_header .content .header-left .bravo-menu {
    display: none;
  }
  .bravo_wrap .bravo_header .content .header-right .bravo-more-menu {
    display: block;
  }
  .bravo_wrap .bravo_header .content .header-left .bravo-logo img {
    max-height: 34px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.page-template-content > div {
  animation: fadeIn 0.6s ease-out;
}

/* ============================================
   MODAL ENHANCEMENTS
   ============================================ */
.frontend-page .modal.login .modal-content {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-xl);
}
.frontend-page .modal.login .modal-content .modal-header .modal-title {
  color: var(--text-primary);
  font-weight: 700;
}
.frontend-page .modal.login .modal-content .modal-body .form-submit {
  background: var(--primary);
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}
.frontend-page .modal.login .modal-content .modal-body .form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   LOADING & TRANSITIONS
   ============================================ */
body {
  animation: fadeIn 0.3s ease-out;
}

/* Mobile menu improvements */
.bravo_wrap .bravo_header .bravo-menu-mobile {
  box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}
.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile {
  background: var(--secondary);
  color: #fff;
}
.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile .avatar {
  background: transparent;
}
.bravo_wrap .bravo_header .bravo-menu-mobile .g-menu > ul > li > a {
  font-weight: 500;
  color: var(--text-primary);
}