/* 🎯 General Styles */
.container { max-width: 1200px; }
.text-shadow { text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7); }

/* =========================
   ✨ Typography Reset (NEW)
   ========================= */
html, body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji','Segoe UI Emoji';
  color: #111827; /* near-black for better contrast */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.25;
  margin-bottom: .4rem;
}

h1, h2 { font-weight: 700; }
h3 { font-weight: 700; letter-spacing: .1px; }   /* “Top Hotels for You” gets bolder */
h4, h5, h6 { font-weight: 600; }

/* Card titles feel firmer */
.card-title { font-weight: 600; letter-spacing: .2px; }

/* Muted text slightly darker for professionalism */
.text-muted { color: #6b7280 !important; }

/* Links a bit crisper */
a { text-underline-offset: 2px; }

/* 🌐 Header */
.top-header {
    background-color: #003366 !important;
    height: 100px;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
.top-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 🔍 Search Bar */
form.bg-white.shadow {
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
}
form .form-control,
form .form-select {
    border-radius: 0.75rem;
}
.booking-style-search {
    border: 2px solid #b6c64c;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
}
#travelPeriod {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    background-color: white;
    cursor: pointer;
}

/* 🏨 Hotel Card */
.hotel-card {
    border: 1px solid #e0e0e0;
    background-color: white;
    border-radius: 12px;
}
.hotel-img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}
.hotel-details { flex: 1; }

/* 🖋️ Typography for hero */
.booking-heading {
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.booking-subheading {
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* PROFILE DROPDOWN STYLES */
.profile-btn {
    background-color: transparent; /* matches header color exactly */
    border: none;
    color: white;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    padding: 6px 10px;
}
.profile-btn:hover,
.profile-btn:focus {
    background-color: rgba(255, 255, 255, 0.2); /* subtle brightness on hover */
    color: white;
}

/* Initials circle when profile picture is not uploaded */
.initial-circle {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    color: #333;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Dropdown menu animation */
.animated-dropdown { animation: fadeInDropdown 0.2s ease-in-out; }
@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Wider dropdown */
.full-width-dropdown { min-width: 180px; padding: 0.5rem 0; }

/* Prevent background/text color shift inside dropdown */
.dropdown-item { color: #333; transition: background-color 0.3s ease; }
.dropdown-item:hover { background-color: #f2f2f2; color: #333; }

/* ============================
   ⛳ Hotel Slider styles (from earlier)
   ============================ */
.hotel-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #fff, #fafafa);
    border-radius: 12px;
    padding: 8px 6px;
    border: 1px solid #eee;
}
.hotel-slider-track { display: flex; gap: 16px; will-change: transform; }
.hotel-slide-card {
    min-width: calc((100% - 3*16px) / 4);
    max-width: calc((100% - 3*16px) / 4);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
@media (max-width: 991.98px) {
  .hotel-slide-card {
    min-width: calc((100% - 2*16px) / 3);
    max-width: calc((100% - 2*16px) / 3);
  }
}
@media (max-width: 767.98px) {
  .hotel-slide-card {
    min-width: calc((100% - 1*16px) / 2);
    max-width: calc((100% - 1*16px) / 2);
  }
}
@media (max-width: 575.98px) {
  .hotel-slide-card { min-width: 100%; max-width: 100%; }
}
.hotel-slide-card.fade-in { opacity: 0; transition: opacity .45s ease; }
.hotel-slide-card.fade-in.visible { opacity: 1; }

.view-toggle {
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.view-toggle::after { content: '›'; font-size: 16px; line-height: 1; transform: translateY(1px); }
.view-toggle.active::after { content: '‹'; }

/* Shared hover */
.hotel-card:hover,
.hotel-slide-card:hover {
    transform: translateY(-3px);
    transition: 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
