/* -------------------------------------------------
   Professional Color Palette & Variables
   ------------------------------------------------- */
:root {
  --primary: #2c5f4f;        /* Deep forest green - professional & calming */
  --secondary: #8b7355;      /* Warm taupe/brown */
  --accent: #d4a574;         /* Gold/beige accent */
  --dark: #1a1a1a;           /* Almost black for text */
  --light-bg: #f8f9fa;       /* Light background */
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* -------------------------------------------------
   Global Styles
   ------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  line-height: 1.7;
}

/* -------------------------------------------------
   Navigation Bar - Professional Look
   ------------------------------------------------- */
.navbar {
  background: linear-gradient(135deg, var(--primary) 0%, #234a3d 100%) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 70%;
}

/* -------------------------------------------------
   Hero Section - Premium Background Slideshow
   ------------------------------------------------- */
#hero {
  position: relative;
  overflow: hidden;
}

/* Background slideshow container */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Individual background slides */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  animation-play-state: paused;
}

/* Ken Burns effect - subtle zoom and pan */
@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(-2%, -2%);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  animation: kenBurns 20s ease-in-out infinite;
  animation-play-state: running;
}

/* Elegant overlay for text readability */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 95, 79, 0.7) 0%, rgba(35, 74, 61, 0.75) 50%, rgba(26, 26, 26, 0.6) 100%);
  z-index: 2;
}

#hero > .container {
  position: relative;
  z-index: 3;
}

#hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

#hero p {
  font-size: 1.3rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  font-weight: 300;
  color: #fff;
}

.btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

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

.btn-primary:hover {
  background: #c69963;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 165, 116, 0.4);
}

.btn-outline-light {
  border: 2px solid #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

/* -------------------------------------------------
   Section Styling
   ------------------------------------------------- */
section {
  padding: 5rem 0;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.text-center h2::after {
  left: 50%;
}

.lead {
  font-size: 1.2rem;
  color: #555;
  font-weight: 400;
}

/* -------------------------------------------------
   Professional Card Design for Rooms
   ------------------------------------------------- */
.card {
  border: 1px solid #e8e8e8;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  height: 100%;
  background: #fff;
}

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

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-body {
  padding: 2rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-text {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.card-footer {
  padding: 1.5rem;
  background: transparent;
}

/* Room price / contact info styling */
.contact-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-info p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}

/* -------------------------------------------------
   Amenities Section
   ------------------------------------------------- */
#amenities .fa-2x {
  color: var(--primary);
  transition: all 0.3s ease;
}

#amenities .text-center:hover .fa-2x {
  color: var(--accent);
  transform: scale(1.2);
}

/* -------------------------------------------------
   Awards & Guest Ratings Section
   ------------------------------------------------- */
#awards .award-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

#awards .card {
  transition: all 0.3s ease;
}

#awards .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

#awards .card-title {
  color: var(--primary);
  font-weight: 600;
  margin-top: 1rem;
}

#awards img {
  transition: transform 0.3s ease;
}

#awards .card:hover img {
  transform: scale(1.05);
}

/* -------------------------------------------------
   Gallery Enhancements - Horizontal Scrollable
   ------------------------------------------------- */
.gallery-scroll-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

.gallery-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--light-bg);
}

/* Custom scrollbar for webkit browsers */
.gallery-scroll::-webkit-scrollbar {
  height: 10px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: var(--light-bg);
  border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.gallery-item-scroll {
  flex: 0 0 auto;
  width: 300px;
  height: 250px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .gallery-item-scroll {
    width: 250px;
    height: 200px;
  }
}

@media (max-width: 375px) {
  .gallery-item-scroll {
    width: 220px;
    height: 180px;
  }
}

.gallery-item-scroll:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.gallery-item-scroll img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item-scroll:hover img {
  transform: scale(1.1);
}

.gallery-item-scroll a {
  display: block;
  height: 100%;
}

/* Legacy gallery item styles (kept for backwards compatibility) */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  transition: transform 0.4s ease;
  border-radius: 10px;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* -------------------------------------------------
   Testimonials Section - Horizontal Scrollable
   ------------------------------------------------- */
.testimonial-scroll-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

.testimonial-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding: 1rem 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--light-bg);
}

/* Custom scrollbar for webkit browsers */
.testimonial-scroll::-webkit-scrollbar {
  height: 10px;
}

.testimonial-scroll::-webkit-scrollbar-track {
  background: var(--light-bg);
  border-radius: 10px;
}

.testimonial-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.testimonial-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.testimonial-card {
  flex: 0 0 auto;
  width: 350px;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

@media (max-width: 576px) {
  .testimonial-card {
    width: 300px;
  }
}

@media (max-width: 375px) {
  .testimonial-card {
    width: 280px;
  }
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.testimonial-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-rating {
  font-size: 1rem;
}

.testimonial-text {
  flex: 1;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  border-top: 2px solid var(--light-bg);
  padding-top: 1rem;
}

.testimonial-author strong {
  color: var(--primary);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}

.testimonial-author .text-muted {
  font-size: 0.85rem;
}

/* -------------------------------------------------
   Footer
   ------------------------------------------------- */
footer {
  background: linear-gradient(135deg, var(--primary) 0%, #234a3d 100%) !important;
}

footer a {
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--accent) !important;
  transform: scale(1.1);
}

/* -------------------------------------------------
   Social Media Section
   ------------------------------------------------- */
.social-media {
  background: var(--light-bg);
  padding: 3rem 0;
}

.social-media h2 {
  color: var(--primary);
}

.social-media .btn {
  margin: 0.5rem;
  min-width: 200px;
}

/* -------------------------------------------------
   Contact Form
   ------------------------------------------------- */
.form-control {
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(44, 95, 79, 0.15);
}

/* -------------------------------------------------
   Responsive Design
   ------------------------------------------------- */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.5rem;
  }
  
  #hero p {
    font-size: 1.1rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
}
