/**
 * OtelOx Enterprise Design Tokens & Theme CSS
 * Pure PHP Version - 100% Shared Hosting Compatible
 */

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

:root {
  --otelox-blue: #0258A3;
  --otelox-blue-hover: #014780;
  --otelox-cyan: #1CAAE2;
  --otelox-white: #FFFFFF;
  --otelox-primary: #0258A3;
  --otelox-primary-hover: #014780;
  --otelox-accent: #1CAAE2;
  --otelox-navy: #07365F;
  --otelox-dark: #142D46;
  --otelox-text: #142D46;
  --otelox-muted: #536779;
  --otelox-background: #F4F8FC;
  --otelox-surface: #FFFFFF;
  --otelox-border: #DCE7F0;
  --otelox-section-bg: #EAF4FB;
  --otelox-footer-bg: #07365F;
  --otelox-success: #10B981;
  --otelox-warning: #F59E0B;
  --otelox-danger: #EF4444;
  --otelox-radius-btn: 8px;
  --otelox-radius-card: 14px;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1280px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--otelox-background);
  color: var(--otelox-text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--otelox-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--otelox-primary-hover);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.otx-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--otelox-border);
  font-size: 13px;
  color: var(--otelox-muted);
  padding: 6px 0;
}
.otx-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.otx-topbar a {
  color: var(--otelox-muted);
  margin-right: 15px;
}
.otx-topbar a:hover {
  color: var(--otelox-primary);
}

.otx-header {
  background: #ffffff;
  border-bottom: 1px solid var(--otelox-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.otx-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}
.otx-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.otx-logo-img {
  width: 175px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.otx-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.otx-nav a {
  color: var(--otelox-text);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 4px;
  position: relative;
}
.otx-nav a:hover, .otx-nav a.active {
  color: var(--otelox-primary);
}
.otx-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--otelox-cyan);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--otelox-radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background-color: var(--otelox-primary);
  color: #ffffff !important;
}
.btn-primary:hover {
  background-color: var(--otelox-primary-hover);
  box-shadow: 0 4px 12px rgba(2, 88, 163, 0.25);
  transform: translateY(-1px);
}
.btn-secondary {
  background-color: var(--otelox-section-bg);
  color: var(--otelox-primary) !important;
  border-color: var(--otelox-border);
}
.btn-secondary:hover {
  background-color: #dceefc;
}
.btn-outline {
  background: transparent;
  border-color: var(--otelox-border);
  color: var(--otelox-text);
}
.btn-outline:hover {
  border-color: var(--otelox-primary);
  color: var(--otelox-primary);
}
.btn-success {
  background-color: #16A34A;
  color: #ffffff !important;
}
.btn-success:hover {
  background-color: #15803D;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* Hero Section */
.otx-hero {
  position: relative;
  min-height: 540px;
  background: linear-gradient(rgba(7, 54, 95, 0.55), rgba(7, 54, 95, 0.7)), url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 4rem 0 6rem 0;
  color: #ffffff;
}
.otx-hero-content {
  max-width: 720px;
  margin-bottom: 2rem;
}
.otx-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.otx-hero-subtitle {
  font-size: 1.15rem;
  color: #EAF4FB;
  font-weight: 500;
  line-height: 1.6;
}

/* Search Bar */
.otx-search-box {
  background: #ffffff;
  border-radius: var(--otelox-radius-card);
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(7, 54, 95, 0.12);
  border: 1px solid var(--otelox-border);
  margin-top: -3.5rem;
  position: relative;
  z-index: 20;
}
.otx-search-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1.2fr;
  gap: 12px;
  align-items: flex-end;
}
.otx-search-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--otelox-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.otx-search-field input, .otx-search-field select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--otelox-border);
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--otelox-text);
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}
.otx-search-field input:focus, .otx-search-field select:focus {
  border-color: var(--otelox-primary);
  box-shadow: 0 0 0 3px rgba(2, 88, 163, 0.12);
}

/* Cards & Grid */
.card {
  background: var(--otelox-surface);
  border: 1px solid var(--otelox-border);
  border-radius: var(--otelox-radius-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(2, 88, 163, 0.08);
}
.card-body {
  padding: 1.5rem;
}

.otx-hotel-card {
  display: flex;
  flex-direction: column;
}
.otx-hotel-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #e2e8f0;
}
.otx-hotel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.otx-hotel-card:hover .otx-hotel-img {
  transform: scale(1.05);
}
.otx-badge-dest {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 54, 95, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.otx-stars {
  color: #F59E0B;
  font-size: 13px;
}

.otx-price-tag {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--otelox-primary);
}

/* Section Styling */
.section {
  padding: 4.5rem 0;
}
.section-alt {
  background-color: var(--otelox-section-bg);
}
.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--otelox-dark);
  line-height: 1.25;
}
.section-subtitle {
  color: var(--otelox-muted);
  font-size: 1rem;
  margin-top: 6px;
}

/* Footer */
.otx-footer {
  background-color: var(--otelox-footer-bg);
  color: #94A3B8;
  padding: 4.5rem 0 2rem 0;
  font-size: 14px;
}
.otx-footer a {
  color: #CBD5E1;
}
.otx-footer a:hover {
  color: #FFFFFF;
}
.otx-footer-title {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.otx-footer-list {
  list-style: none;
}
.otx-footer-list li {
  margin-bottom: 10px;
}
.otx-footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Floating AI Concierge Chatbot */
.otx-ai-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--otelox-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(2, 88, 163, 0.4);
  cursor: pointer;
  z-index: 999;
  border: 2px solid #ffffff;
  transition: transform 0.2s ease;
}
.otx-ai-launcher:hover {
  transform: scale(1.08);
}
.otx-ai-modal {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 530px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(7, 54, 95, 0.2);
  border: 1px solid var(--otelox-border);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
}
.otx-ai-header {
  background: var(--otelox-primary);
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.otx-ai-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  background: #F8FAFC;
}
.otx-ai-msg {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 85%;
}
.otx-ai-msg-bot {
  background: #ffffff;
  border: 1px solid var(--otelox-border);
  color: var(--otelox-text);
  border-bottom-left-radius: 2px;
}
.otx-ai-msg-user {
  background: var(--otelox-primary);
  color: #ffffff;
  margin-left: auto;
  border-bottom-right-radius: 2px;
}
.otx-ai-footer {
  padding: 10px 14px;
  background: #ffffff;
  border-top: 1px solid var(--otelox-border);
  display: flex;
  gap: 8px;
}
.otx-ai-input {
  flex: 1;
  border: 1px solid var(--otelox-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
}

/* Mobile Menu Drawer */
.otx-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--otelox-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 18px;
  color: var(--otelox-primary);
  cursor: pointer;
}
.otx-mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}
.otx-mobile-drawer.open {
  display: flex;
}
.otx-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 54, 95, 0.4);
  backdrop-filter: blur(2px);
  z-index: 999;
}
.otx-drawer-overlay.open {
  display: block;
}
.otx-drawer-nav a {
  display: block;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--otelox-text);
  border-bottom: 1px solid var(--otelox-border);
}
.otx-drawer-nav a:hover, .otx-drawer-nav a.active {
  color: var(--otelox-primary);
  background: var(--otelox-card-bg);
}

/* Responsive */
@media (max-width: 992px) {
  .otx-search-grid {
    grid-template-columns: 1fr 1fr;
  }
  .otx-search-grid button {
    grid-column: span 2;
  }
  .otx-nav {
    display: none;
  }
  .otx-mobile-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .otx-search-grid {
    grid-template-columns: 1fr;
  }
  .otx-search-grid button {
    grid-column: span 1;
  }
  .otx-hero-title {
    font-size: 2rem;
  }
}
