/* ===================================
   Hotel King Palace - Premium Styles
   Color Palette:
   - Primary: #880d1e (Deep Royal Red)
   - Secondary: #FFFFFF (White)
      =================================== */

/* Root Variables */
:root {
  --primary-color: #880d1e;
  --secondary-color: #ffffff;
  --accent-color: #000000;
  --light-gray: #f5f5f5;
  --medium-gray: #d4d4d4;
  --dark-gray: #333333;
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 25px rgba(136, 13, 30, 0.12);
  --shadow-dark: 0 12px 40px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===================================
   Global Styles
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Playfair Display', serif;
  color: var(--dark-gray);
  background-color: var(--secondary-color);
  line-height: 1.6;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Poppins', serif;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 3.5rem;
  color: var(--primary-color);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 1px;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.5px;
}

h3 {
  font-size: 1.8rem;
  color: var(--dark-gray);
}

h4 {
  font-size: 1.4rem;
}

p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.7;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--dark-gray);
}

/* ===================================
   Buttons
   =================================== */

.btn-primary,
.btn-luxury {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  font-family: 'Inter', 'Roboto', sans-serif;
  box-shadow: var(--shadow-light);
}

.btn-primary:hover,
.btn-luxury:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

/* ===================================
   Navbar
   =================================== */

.navbar {
  background-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-brand {
  margin-right: 8rem !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
  .navbar { 
    padding: .5rem 0; 
    background: rgba(0,0,0,0.65); 
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
  }
  .navbar .container-custom { position: relative; }
  .navbar-brand {
    margin-right: 0.5rem !important;
    font-size: 1.25rem;
  }

  .navbar-toggler { z-index: 1100; }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.6)) !important;
    backdrop-filter: blur(8px);
    padding: .75rem 1rem;
    border-radius: 0 0 10px 10px;
    margin-top: .25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  .navbar-nav .nav-link {
    color: #ffffff !important;
    padding: .9rem .25rem !important;
    margin-left: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .navbar-nav .nav-link:last-child { border-bottom: none; }
}

/* Navbar appearance when scrolled */
.navbar.scrolled {
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.35));
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  backdrop-filter: saturate(130%) blur(6px);
}

/* Link colors over hero image */
.navbar .nav-link,
.navbar .navbar-brand {
  color: #ffffff !important;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand {
  color: #ffffff !important;
}

/* Ensure readable links on dark navbar */
.navbar-dark .nav-link,
.navbar-dark .navbar-brand {
  color: #ffffff !important;
}

.nav-link::after {
  background-color: #ffffff;
}

.nav-link:hover {
  color: #ffd700 !important;
}

.nav-link.active {
  color: #ffd700 !important;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -1px;
  margin-right: 4rem;
}

.navbar-brand:hover {
  color: var(--dark-gray);
}

.nav-link {
  color: var(--dark-gray) !important;
  font-weight: 600;
  margin-left: 1.5rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

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

/* ===================================
   Footer
   =================================== */

footer {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

/* Footer responsive enhancements */
@media (max-width: 991px) {
  footer { padding: 3rem 0 1.5rem; }
  footer .row.g-4, footer .row.g-4.mb-4, footer .row.g-4.g-lg-5 { row-gap: 1.5rem; }
}

@media (max-width: 768px) {
  footer { padding: 2.5rem 0 1.25rem; }
  footer .row > [class*="col-"] { width: 100% !important; }
  footer .input-group { width: 100%; }
  footer .input-group input { min-width: 0; }
  /* mini gallery grid */
  footer .col-lg-3 div[style*="grid-template-columns"] { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 576px) {
  footer { padding: 2rem 0 1rem; }
  footer h5, footer h6 { font-size: 1rem; }
  footer p, footer a { font-size: 0.95rem; }
  /* wrap links in bottom bar */
  footer .text-md-end { text-align: left !important; margin-top: .5rem; }
  footer .text-md-end a { display: inline-block; margin: 0 .75rem .5rem 0 !important; }
  /* social icons tighten */
  footer .social-icons a { width: 36px; height: 36px; line-height: 36px; font-size: .95rem; margin-right: .5rem; }
  /* mini gallery thumbs */
  footer img[alt^="Gallery"] { height: 60px !important; }
}

footer h5 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

footer p {
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
}

footer a {
  color: var(--primary-color);
  transition: var(--transition);
}

footer a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.footer-divider {
  border-top: 1px solid var(--primary-color);
  margin: 2rem 0;
  opacity: 0.5;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 1rem;
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* ===================================
   Hero Slider Section
   =================================== */

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #000; /* avoid fixed background on container for mobile */
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

/* overlay for readability */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.45), rgba(0,0,0,.55));
  z-index: 0;
}

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

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--secondary-color);
}

.hero-title {
  color: var(--secondary-color);
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  font-weight: 300;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background-color: rgba(136, 13, 30, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.slider-control:hover {
  background-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

/* Slider Indicators */
.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  background-color: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  width: 30px;
  border-radius: 6px;
}

.indicator:hover {
  border-color: var(--primary-color);
}

/* Slider Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpDelay1 {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpDelay2 {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.animate-fade-in-up-delay-1 {
  animation: fadeInUpDelay1 0.8s ease-out 0.5s both;
}

.animate-fade-in-up-delay-2 {
  animation: fadeInUpDelay2 0.8s ease-out 0.7s both;
}

/* ===================================
   Booking Section
   =================================== */

.booking-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.booking-form-wrapper,
.map-wrapper {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  padding: 2.5rem;
  height: 100%;
}

.booking-form-wrapper {
  display: flex;
  flex-direction: column;
}

.booking-form-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.booking-form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.booking-form-header p {
  color: var(--dark-color);
  font-size: 0.95rem;
}

.booking-form {
  flex: 1;
}

.booking-form .form-group {
  margin-bottom: 1.5rem;
}

.booking-form .form-label {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.booking-form .form-control,
.booking-form .form-select {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: #f9f9f9;
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(136, 13, 30, 0.25);
  background-color: var(--secondary-color);
}

.booking-form .form-control::placeholder {
  color: #999;
  font-size: 0.9rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.booking-form .btn-primary {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  margin-top: 1rem;
  transition: var(--transition);
}

.booking-form .btn-primary:hover {
  background-color: #6d0a15;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.map-wrapper {
  display: flex;
  flex-direction: column;
}

.map-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.map-header h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.map-header p {
  color: var(--dark-color);
  font-size: 0.95rem;
}

.map-wrapper iframe {
  border-radius: 6px;
  margin-bottom: 2rem;
  width: 100%;
}

.booking-contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
  min-width: 25px;
  text-align: center;
}

.info-item-content h5 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.info-item-content p {
  color: var(--dark-color);
  font-size: 0.9rem;
  margin: 0;
}

.info-item-content a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.info-item-content a:hover {
  text-decoration: underline;
}

/* ===================================
   Features Section
   =================================== */

.features-section {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  background-color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
}

/* ===================================
   About Section
   =================================== */

.about-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.about-text {
  padding: 2rem;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.about-img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  height: 100%;
  object-fit: cover;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.mv-card {
  background-color: var(--secondary-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.mv-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateX(5px);
}

.mv-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.mv-card p {
  color: var(--dark-gray);
  line-height: 1.8;
}

/* ===================================
   Rooms Section
   =================================== */

.rooms-section {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.room-card {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  border: 1px solid var(--medium-gray);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-color);
}

.room-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

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

.room-info {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.room-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.room-type {
  color: var(--primary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.room-description {
  color: var(--dark-gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.room-amenities {
  list-style: none;
  margin-bottom: 1.5rem;
}

.room-amenities li {
  color: var(--dark-gray);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
}

.room-amenities li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.room-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--medium-gray);
  margin-bottom: 1rem;
}

.price-tag {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 800;
}

.price-period {
  color: var(--dark-gray);
  font-size: 0.85rem;
}

.room-card .btn-primary {
  width: 100%;
  text-align: center;
}

/* ===================================
   Gallery Section
   =================================== */

.gallery-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(136, 13, 30, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  font-size: 3rem;
  color: var(--secondary-color);
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.contact-form {
  background-color: var(--light-gray);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius);
  font-family: 'Inter', 'Roboto', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(136, 13, 30, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  background-color: var(--secondary-color);
  border: 1px solid var(--primary-color);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.map-container {
  margin-top: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--dark-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Offset for fixed header when using anchor links */
section[id] { scroll-margin-top: 80px; }

/* About Section - Responsive overrides */
#about .about-img { width: 100%; height: auto; max-height: 500px; object-fit: cover; }

@media (max-width: 991px) {
  #about { padding: 3.5rem 0 !important; }
}

@media (max-width: 768px) {
  #about { padding: 3rem 0 !important; }
  #about .col-lg-6:last-child { padding-left: 0 !important; }
  #about .col-lg-6:first-child > div { margin-right: 0 !important; }
  #about .about-img { max-height: 360px; }
  #about .col-lg-6:first-child > div > div:last-child { bottom: 10px !important; right: 10px !important; width: 140px !important; padding: 1rem !important; }
  #about .col-lg-6:first-child > div > div:last-child h3 { font-size: 2rem !important; }
}

@media (max-width: 576px) {
  #about { padding: 2.5rem 0 !important; }
  #about .about-img { max-height: 300px; }
  #about p { font-size: 1rem; }
}

.divider {
  height: 3px;
  width: 60px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  margin: 1rem auto;
}

.text-center {
  text-align: center;
}

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

.text-dark {
  color: var(--dark-gray);
}

/* ===================================
   WhatsApp Floating Button
   =================================== */

.whatsapp-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  z-index: 999;
  animation: slideInUp 0.5s ease-out;
}

.whatsapp-floating-btn:hover {
  background-color: #1ebd56;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating-btn:active {
  transform: scale(0.95);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .container-custom {
    padding: 0 1.5rem;
  }

  .slider-prev {
    left: 15px;
  }

  .slider-next {
    right: 15px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }

  .hero-slider-container {
    height: 75vh;
    min-height: 460px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn.btn-outline { padding: 10px 16px; }

  .slider-control { width: 42px; height: 42px; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
  .slider-indicators { bottom: 16px; }

  .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
  }

  .features-section,
  .about-section,
  .rooms-section,
  .gallery-section,
  .contact-section {
    padding: 3rem 0;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 10px 24px;
    font-size: 0.95rem;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .room-info {
    padding: 1.5rem;
  }

  .social-icons a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 0.9rem;
    margin-right: 0.7rem;
  }

  footer {
    padding: 2rem 0 1rem;
  }

  footer h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  /* Booking Section Responsive */
  .booking-form-wrapper,
  .map-wrapper {
    padding: 1.5rem;
  }

  .booking-form-header h3 {
    font-size: 1.5rem;
  }

  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .booking-form .form-control,
  .booking-form .form-select {
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
  }

  .map-wrapper iframe {
    height: 350px;
    margin-bottom: 1.5rem;
  }

  .booking-contact-info {
    gap: 1rem;
  }

  .info-item {
    gap: 0.75rem;
  }

  .info-item i {
    font-size: 1.25rem;
  }

  .info-item-content h5 {
    font-size: 0.95rem;
  }

  .info-item-content p {
    font-size: 0.85rem;
  }

  /* WhatsApp Button Mobile */
  .whatsapp-floating-btn {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }

  .hero-slider-container { height: 70vh; min-height: 420px; }

  .hero-title { font-size: 1.7rem; }
  .hero-subtitle { font-size: 0.95rem; letter-spacing: 0.5px; }

  .slider-control { width: 38px; height: 38px; }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .room-image {
    height: 200px;
  }

  .room-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .navbar-brand {
    font-size: 1.3rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .map-container iframe {
    height: 300px;
  }

  .divider {
    width: 40px;
  }
}

/* ===================================
   Loading Animation
   =================================== */

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ===================================
   Scroll Animations
   =================================== */

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.1s;
}

.fade-in-delay-2 {
  animation-delay: 0.2s;
}

.fade-in-delay-3 {
  animation-delay: 0.3s;
}

.fade-in-delay-4 {
  animation-delay: 0.4s;
}

.fade-in-delay-5 {
  animation-delay: 0.5s;
}
