/**
 * Dream Coach Lines - Utility Styles
 * Contains responsive design improvements and styling utilities
 */

/* Responsive fixes */
@media (max-width: 768px) {
  .desktop-quote-btn {
    display: none !important;
  }
  
  .mobile-quote-btn {
    display: block !important;
    margin-top: 1rem;
  }
  
  .couch-wave-heading {
    font-size: 1.8rem !important;
  }
  
  .couch-btn-glass, 
  .couch-btn-gradient {
    min-width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .footer .col-md-4 {
    text-align: center !important;
    margin-bottom: 2rem;
  }
  
  .footer .justify-content-md-end,
  .footer .justify-content-md-start {
    justify-content: center !important;
  }
  
  .footer .text-md-end,
  .footer .text-md-start {
    text-align: center !important;
  }
  
  .booking-card {
    margin-bottom: 2rem;
  }
}

/* Improved Form Styles */
.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
  border-color: #3498db;
}

.btn-primary {
  background-color: #3498db;
  border-color: #3498db;
}

.btn-primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
}

/* Status Badges */
.status-badge {
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  border-radius: 0.25rem;
  text-transform: capitalize;
}

.status-pending {
  background-color: #f39c12;
  color: white;
}

.status-confirmed {
  background-color: #2ecc71;
  color: white;
}

.status-cancelled {
  background-color: #e74c3c;
  color: white;
}
.status-checkedIn {
  background-color: #3498db;
  color: white;
}
.status-checkedOut {
  background-color: #95a5a6;
  color: white;
}

/* Card Enhancements */
.card {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 0.5rem;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Booking Cards */
.booking-card {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.booking-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Animation utilities */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading Spinner */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Placeholder for empty states */
.placeholder-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: #6c757d;
}

/* Destination Cards */
.destination-fe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem 0 0 0.5rem;
}

/* User Dashboard */
.dashboard-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.dashboard-card-header {
  padding: 1.25rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.dashboard-card-body {
  padding: 1.25rem;
}

/* Star rating */
.star {
  font-size: 1.25rem;
  color: #ddd;
}

.star.selected {
  color: #ffc107;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Dream Coach Lines - Refactored Utilities CSS
 * This file contains utility classes for consistent styling across the website
 */

/* ===== Core Utilities ===== */

/* Spacing utilities */
.section-padding {
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
}

.mb-resp-5 {
  margin-bottom: 3rem !important;
}

@media (max-width: 768px) {
  .mb-resp-5 {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 576px) {
  .mb-resp-5 {
    margin-bottom: 1.5rem !important;
  }
}

/* ===== Typography Utilities ===== */

/* Title styles */
.title-large {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.title-medium {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.title-small {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .title-large {
    font-size: 2.5rem;
  }
  
  .title-medium {
    font-size: 2rem;
  }
  
  .title-small {
    font-size: 1.5rem;
  }
}

/* ===== Color Utilities ===== */

/* Text colors */
.text-primary-dcl {
  color: #1a73e8 !important;
}

.text-secondary-dcl {
  color: #6c757d !important;
}

.text-success-dcl {
  color: #28a745 !important;
}

.text-warning-dcl {
  color: #ffc107 !important;
}

.text-info-dcl {
  color: #17a2b8 !important;
}

.text-danger-dcl {
  color: #dc3545 !important;
}

/* Background colors */
.bg-dcl-primary {
  background-color: #1a73e8 !important;
}

.bg-dcl-secondary {
  background-color: #6c757d !important;
}

.bg-dcl-light {
  background-color: #f8f9fa !important;
}

.bg-dcl-dark {
  background-color: #343a40 !important;
}

.bg-dcl-success {
  background-color: #28a745 !important;
}

.bg-dcl-warning {
  background-color: #ffc107 !important;
}

.bg-dcl-danger {
  background-color: #dc3545 !important;
}

.bg-dcl-info {
  background-color: #17a2b8 !important;
}

/* Background overlay */
.bg-overlay {
  position: relative;
}

.bg-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.bg-overlay > * {
  position: relative;
  z-index: 1;
}

/* ===== Component Utilities ===== */

/* Cards */
.card-hover {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Images */
.img-container {
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 1;
}

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

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

/* Star rating */
.rating-stars i {
  color: #ffc107;
  margin-right: 0.1rem;
}

.rating-stars i.bi-star {
  color: #e0e0e0;
}

/* ===== Shadow Utilities ===== */
.shadow-sm-dcl {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.shadow-md-dcl {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg-dcl {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

/* ===== Flex Utilities ===== */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-stretch {
  display: flex;
  align-items: stretch;
}

/* ===== Button Utilities ===== */
.btn-primary-dcl {
  background-color: #1a73e8;
  border-color: #1a73e8;
  color: white;
}

.btn-primary-dcl:hover {
  background-color: #1765cc;
  border-color: #1765cc;
  color: white;
}

.btn-outline-primary-dcl {
  border-color: #1a73e8;
  color: #1a73e8;
  background-color: transparent;
}

.btn-outline-primary-dcl:hover {
  background-color: #1a73e8;
  color: white;
}

/* ===== Destination Card Utilities ===== */
.destination-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

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

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

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

.destination-card .card-body {
  padding: 1.25rem;
}

/* ===== Responsive Utilities ===== */
@media (max-width: 1200px) {
  /* XL breakpoint utilities */
}

@media (max-width: 992px) {
  /* LG breakpoint utilities */
}

@media (max-width: 768px) {
  /* MD breakpoint utilities */
}

@media (max-width: 576px) {
  /* SM breakpoint utilities */
}

/* ===== Smooth Scrolling ===== */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}