/* ==========================================================================
   BR Tour & Travels — site-wide styles
   Loaded on top of the Bootstrap 5 CDN bundle (see layouts/app.blade.php).
   No build step: this file is served as-is from /public/css/site.css.
   ========================================================================== */

:root {
  --navy: #0d2c4b;
  --navy-dark: #082033;
  --gold: #f5a623;
  --gold-dark: #d98c0f;
  --cream: #fbf7ef;
  --text-muted: #5a6b7a;
  --radius-lg: 1rem;
  --radius-md: 0.6rem;
  --shadow-card: 0 10px 30px rgba(13, 44, 75, 0.12);
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: #1f2f3d;
  background-color: #fff;
}

.font-script {
  font-family: "Dancing Script", cursive;
}

a {
  text-decoration: none;
}

.text-gold {
  color: var(--gold);
}

.bg-navy {
  background-color: var(--navy);
}

.btn-gold {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
}

.btn-gold:hover,
.btn-gold:focus {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.btn-navy {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
}

.btn-navy:hover,
.btn-navy:focus {
  background-color: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff;
}

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
  font-weight: 600;
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: #fff;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 2px 12px rgba(13, 44, 75, 0.08);
}

.site-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--navy);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.site-header .nav-link {
  font-weight: 500;
  color: #2b3d4d;
  position: relative;
}

.site-header .nav-link.active {
  color: var(--gold-dark);
}

.site-header .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: var(--navy-dark);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  padding-bottom: 5.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 32, 51, 0.75) 0%, rgba(8, 32, 51, 0.35) 55%, rgba(8, 32, 51, 0.15) 100%);
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero .badge-goa {
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-card);
}

/* ---------- Booking widget bar ---------- */
.booking-bar {
  position: relative;
  z-index: 3;
  margin-top: -4.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}

.booking-bar label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}

.booking-bar .form-control,
.booking-bar .form-select {
  border: none;
  padding-left: 0;
  font-weight: 600;
  color: var(--navy);
}

.booking-bar .field-icon {
  color: var(--gold-dark);
}

@media (max-width: 767.98px) {
  .booking-bar {
    margin-top: 1.5rem;
  }
}

/* ---------- Section heading ---------- */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-heading p.subtitle {
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Card carousels (services / packages) ---------- */
.card-row {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.card-row::-webkit-scrollbar {
  height: 8px;
}

.card-row::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.card-row > * {
  scroll-snap-align: start;
  flex: 0 0 260px;
}

.carousel-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #dfe6ec;
  background: #fff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav-btn:hover {
  background: var(--navy);
  color: #fff;
}

.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  height: 100%;
}

.info-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.info-card .card-body {
  padding: 1.1rem;
}

.info-card h3,
.info-card h5 {
  color: var(--navy);
  font-weight: 700;
}

.info-card .meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Why choose us ---------- */
.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--navy);
  color: #cfd9e3;
  padding-top: 4rem;
}

.site-footer .wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  transform: translateY(-99%);
}

.site-footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.site-footer a {
  color: #cfd9e3;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer .social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.site-footer .social-icon:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  font-size: 0.85rem;
}

/* ---------- Inquiry form ---------- */
.inquiry-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}

/* ---------- Auth pages ---------- */
.auth-shell {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--cream) 0%, #fff 60%);
  padding: 2.5rem 1rem;
}

.auth-card {
  max-width: 460px;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2.25rem;
}

.auth-card h1 {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.6rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* ---------- Admin panel ---------- */
.admin-shell {
  min-height: 100vh;
  display: flex;
}

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  min-height: 100vh;
}

.admin-sidebar .brand {
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar a {
  display: block;
  color: #cfd9e3;
  padding: 0.75rem 1.5rem;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-content {
  flex: 1;
  background: #f5f7fa;
  padding: 2rem;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.badge-status-new {
  background: #e8f1ff;
  color: #1d5fbf;
}

.badge-status-contacted {
  background: #fff4e0;
  color: #b5750a;
}

.badge-status-closed {
  background: #e7f6ec;
  color: #1e7a3d;
}

@media (max-width: 767.98px) {
  .admin-shell {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    min-height: auto;
  }
}
