/* ==========================================================================
   Hotel D Priyatam - Premium Theme Stylesheet
   Color Palette:
   - Primary Gold: #B8860B / #D4AF37 / #C59B27
   - Navy Dark: #061A2C
   - Navy Accent: #0F2A4A
   - Background Light: #F4F6F9 / #F8F9FA
   - Accent Text: #8B6508
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-gold: #c59b27;
  --gold-dark: #9b7719;
  --gold-light: #f7eed7;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  --navy-dark: #061a2c;
  --navy-medium: #0f2a4a;
  --navy-light: #183c66;
  --text-main: #2b303a;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(6, 26, 44, 0.06);
  --shadow-md: 0 4px 20px rgba(6, 26, 44, 0.1);
  --shadow-lg: 0 10px 30px rgba(6, 26, 44, 0.15);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-hand: 'Caveat', cursive;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #f4f6f9;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-serif {
  font-family: var(--font-heading);
}

.handwriting-text {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--gold-dark);
  line-height: 1.2;
}

/* Header & Top Bar */
.top-header {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.brand-header {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.brand-logo-img {
  max-height: 55px;
}

.brand-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1;
  letter-spacing: 1px;
}

.brand-tagline {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--gold-dark);
  font-weight: 600;
  text-transform: uppercase;
}

/* Custom Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #b8860b 0%, #8b6508 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(197, 155, 39, 0.4);
}

.btn-outline-gold {
  border: 1.5px solid var(--primary-gold);
  color: var(--gold-dark);
  font-weight: 600;
  background: transparent;
  border-radius: 6px;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--primary-gold);
  color: #ffffff;
}

.btn-navy {
  background-color: var(--navy-dark);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btn-navy:hover {
  background-color: var(--navy-medium);
  transform: translateY(-2px);
}

/* Navigation Links */
.nav-link-custom {
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: color 0.3s ease;
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--primary-gold);
}

/* Hero Section */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(6, 26, 44, 0.85) 0%, rgba(6, 26, 44, 0.4) 100%);
}

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

/* Floating Booking Card */
.booking-search-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  margin-top: -40px;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(197, 155, 39, 0.2);
}

/* Section Styling */
.section-header-title {
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 2rem;
}

.section-subtitle {
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Room Card */
.room-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  height: 100%;
}

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

.room-card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.room-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover .room-card-img {
  transform: scale(1.05);
}

.room-card-body {
  padding: 20px;
}

.room-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-dark);
}

/* Amenity Badges */
.amenity-section {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 50px 0;
}

.amenity-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin: 0 auto 12px auto;
  transition: all 0.3s ease;
}

.amenity-item:hover .amenity-circle {
  background: var(--primary-gold);
  color: #ffffff;
  transform: scale(1.1);
}

/* Stepper Progress Bar */
.stepper-wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 30px;
}

.stepper-wrapper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  background: transparent;
  flex: 1;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 8px auto;
  transition: all 0.3s ease;
}

.step-item.active .step-number {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(6, 26, 44, 0.15);
}

.step-item.completed .step-number {
  background: var(--navy-medium);
  border-color: var(--navy-medium);
  color: #ffffff;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-item.active .step-label {
  color: var(--navy-dark);
  font-weight: 700;
}

/* Sidebar Box */
.registration-sidebar {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sidebar-menu-item {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-menu-item.active {
  background-color: var(--navy-dark);
  color: #ffffff;
}

.sidebar-menu-item.completed {
  color: #15803d;
}

/* Member Card */
.member-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  transition: border-color 0.3s ease;
}

.member-card:hover {
  border-color: var(--primary-gold);
}

.member-badge-adult {
  background-color: var(--gold-dark);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.member-badge-child {
  background-color: #d97706;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* File Upload Box */
.upload-box {
  border: 1.5px dashed #cbd5e1;
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  background: #f8fafc;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.upload-box:hover {
  border-color: var(--primary-gold);
  background: #fdfbf7;
}

.upload-preview-img {
  max-height: 80px;
  max-width: 100%;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.upload-status-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

/* Form Section Card */
.form-step-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 24px;
}

.form-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.step-circle-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Form Controls */
.form-control, .form-select {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 0.92rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.2);
}

.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 6px;
}

/* Counter Button Controls */
.counter-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.counter-btn:hover {
  background: var(--navy-dark);
  color: #ffffff;
  border-color: var(--navy-dark);
}

/* Footer Styling */
.footer-section {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 60px 0 20px 0;
  border-top: 3px solid var(--primary-gold);
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary-gold);
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-gold);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Responsive Rules */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 380px;
  }
  .stepper-wrapper::before {
    display: none;
  }
  .stepper-wrapper {
    flex-wrap: wrap;
    gap: 12px;
  }
  .step-item {
    flex: none;
    width: 48%;
  }
}

@media (max-width: 575.98px) {
  .section-header-title {
    font-size: 1.5rem;
  }
  .step-item {
    width: 100%;
  }
  .booking-search-card {
    margin-top: 0;
  }
}
