/* Main Styles for Plum Hotels Website */

:root {
  --primary-color: #8E44AD; /* Plum purple */
  --secondary-color: #9B59B6; /* Lighter purple */
  --dark-color: #2C3E50; /* Dark blue/gray */
  --light-color: #ECF0F1; /* Light gray */
  --accent-color: #F1C40F; /* Gold */
  --text-color: #333333;
  --white-color: #FFFFFF;
  --success-color: #2ECC71; /* Green */
  --danger-color: #E74C3C;  /* Red */
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-light-purple {
  background-color: rgba(142, 68, 173, 0.1);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Header and Navigation */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand img {
  height: 40px;
}

.nav-link {
  color: var(--dark-color) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s;
}

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

/* Hero Section */
.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white-color);
  padding: 30px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.3rem;
  max-width: 600px;
  margin-bottom: 30px;
}

/* Features Section */
.feature-box {
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Room Cards */
.room-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 30px;
}

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

.room-card img {
  height: 250px;
  object-fit: cover;
}

.room-card .card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.room-amenities {
  list-style: none;
  padding: 0;
}

.room-amenities li {
  padding: 5px 0;
}

.room-amenities i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* Booking Form */
.booking-form {
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.booking-summary {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 10px;
}

/* Calendar */
.calendar-container {
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.calendar-month {
  font-size: 1.5rem;
  font-weight: 600;
}

.calendar-nav button {
  background-color: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--dark-color);
  cursor: pointer;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 600;
  margin-bottom: 10px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}

.calendar-day:hover:not(.unavailable) {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.calendar-day.unavailable {
  background-color: #f8d7da;
  color: #dc3545;
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-day.selected {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.calendar-day.today {
  outline: 2px solid var(--primary-color);
}

.calendar-day.in-range {
  background-color: rgba(142, 68, 173, 0.2);
}

/* Contact Form */
.contact-form {
  background-color: var(--white-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 40px;
  border-radius: 10px;
  height: 100%;
}

.contact-info a {
  color: var(--white-color);
  text-decoration: none;
}

.contact-info i {
  font-size: 1.5rem;
  margin-right: 15px;
}

.map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 40px;
}

/* Testimonials */
.testimonial-card {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.testimonial-stars {
  color: var(--accent-color);
  margin-bottom: 15px;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 60px 0 30px;
}

footer h5 {
  color: var(--white-color);
  font-weight: 600;
  margin-bottom: 25px;
}

footer a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  margin-bottom: 10px;
}

footer a:hover {
  color: var(--white-color);
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .room-card img {
    height: 200px;
  }
}

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

.fade-in {
  animation: fadeIn 0.8s ease-out;
}
