
/* Base Styles */
:root {
  --blue-dark: #1A3A5F;
  --blue-medium: #2B6CAD;
  --blue-light: #6CA6D9;
  --blue-pale: #A9CBE9;
  --blue-bg: #EDF4FB;
  --charcoal: #333740;
  --ivory: #FFFCF2;
  --white: #FFFFFF;
  --gray-light: #F2F2F2;
  --gray-medium: #DDDDDD;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--blue-bg);
  color: var(--charcoal);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--blue-medium);
  color: var(--white);
  border: 1px solid var(--blue-medium);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--blue-medium);
  border: 1px solid var(--blue-medium);
}

.btn-secondary:hover {
  background-color: var(--blue-pale);
  border-color: var(--blue-medium);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-tiny:hover {
  display: inline-block;
  padding: 0.2rem 1.5rem;  
  border-radius: 0.5rem;
  background-color: var(--blue-pale);
  font-weight: 200;
  text-align: left;
  align-content: center;
  transition: all 0.3s ease;
  cursor: pointer;    
  border: 1px solid var(--blue-light);
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.decorative-line {
  height: 3px;
  width: 80px;
  background-color: var(--blue-light);
  margin: 0 auto;
}

.section-subtitle {
  max-width: 700px;
  margin: 1.5rem auto 0;
  color: var(--charcoal);
  opacity: 0.8;
}

/* Layout */
.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

.religious-pattern {
  background-color: var(--blue-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236CA6D9' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Header */
.header {
  background-color: var(--blue-dark);
  padding: 1rem 0;
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}

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

.logo h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-pale);
  margin: 0;
}

.logo h3 {  
  margin: 0;
  align-items: left;
  
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin-left: 1.5rem;
}

.main-nav a {
  color: var(--blue-bg);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--blue-pale);
  border-bottom-color: var(--blue-pale);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--blue-pale);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  background-image: linear-gradient(rgba(26, 58, 95, 0.2), rgba(26, 58, 95, 0)), url('images/elevation.jpeg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content {
  max-width: 900px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Rooms Section */
.rooms-section {
  padding: 5rem 0;
}

.rooms-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.room-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 350px;
}

.room-card:hover {
  transform: translateY(-5px);
}

.room-image {
  height: 200px;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-details {
  padding: 1.5rem;
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.room-features span {
  background-color: var(--blue-bg);
  color: var(--blue-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--blue-bg);
}

.overall-rating {
  text-align: center;
  margin-bottom: 3rem;
}

.rating-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.rating-stars {
  color: var(--blue-medium);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.rating-count {
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.reviewer-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.reviewer-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.review-rating {
  color: var(--blue-medium);
  font-size: 0.875rem;
}

.review-date {
  color: var(--charcoal);
  opacity: 0.7;
  font-size: 0.75rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--charcoal);
}

/* Footer */
.footer {
  background-color: var(--blue-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

.footer h3 {
  color: var(--blue-pale);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-info p {
  color: var(--blue-bg);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--blue-bg);
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--blue-pale);
}

.footer-links ul, .footer-contact ul {
  list-style: none;
}

.footer-links li, .footer-contact li {
  margin-bottom: 0.75rem;
  color: var(--blue-bg);
  opacity: 0.9;
}

.footer-links a {
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--blue-pale);
}

.footer-bottom {
  border-top: 1px solid var(--blue-pale);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--blue-bg);
  opacity: 0.8;
}

/* Room Detail Pages Styles */
.room-detail-section {
  padding: 5rem 0;
}

.room-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.room-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Image Carousel Styling */
.image-carousel {
  position: relative;
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  height: 400px;
  transition: transform 0.5s ease;
}

.carousel-slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background-color: var(--blue-medium);
  color: var(--white);
}

.carousel-btn-prev {
  left: 10px;
}

.carousel-btn-next {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background-color: var(--blue-medium);
  transform: scale(1.2);
}

.room-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.room-description h2, .amenities h2, .booking-widget h2 {
  color: var(--blue-dark);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.amenity-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.amenity-list li {
  position: relative;
  padding-left: 1.5rem;
}

.amenity-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-medium);
}

.booking-widget {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.room-price {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-dark);
}

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

.booking-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.booking-form input, .booking-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-medium);
  border-radius: 0.25rem;
  background-color: var(--white);
}

.booking-form button {
  width: 100%;
  margin-top: 1rem;
}

/* Gallery Page Styles */
.gallery-section {
  padding: 5rem 0;
}

.gallery-carousel {
  position: relative;
  margin-bottom: 3rem;
}

.carousel-container.full-width {
  width: 100%;
  height: 500px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-track {
  height: 500px;
}

.gallery-slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 58, 95, 0.8);
  color: var(--white);
  padding: 1rem;
  font-size: 1.1rem;
  text-align: center;
}

.gallery-btn-prev, .gallery-btn-next {
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
}

.gallery-nav {
  margin-top: 20px;
  overflow-x: auto;
  padding: 10px 0;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  padding: 0 10px;
  margin-top: 15px;
}

.thumbnail-item {
  flex: 0 0 auto;
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail-item:hover {
  opacity: 1;
}

.thumbnail-item.active {
  opacity: 1;
  border-color: var(--blue-medium);
}

.gallery-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-counter {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(26, 58, 95, 0.8);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-section {
  padding: 5rem 0;
}

.section-subtitle {
  text-align: center;
  max-width:600px;
  margin: 0 auto 3rem;
  color: var(--charcoal);
}

.contact-content {
  display: grid;  
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 4rem;
  
}

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

.contact-card {
  background-color: var(--white);
  padding: 1.5rem;
  
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
  color: var(--blue-dark);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.contact-form-container {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-medium);
  border-radius: 0.25rem;
  background-color: var(--white);
  font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
  resize: vertical;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--blue-dark);
}

.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
  width: 100%;
  height: auto;
}

/* Additional Responsive Styles */
@media (max-width: 992px) {
  .room-detail-content, .contact-content {
    grid-template-columns: 1fr;
  }
  
  .amenity-list {
    grid-template-columns: 1fr;
  }
  
  .carousel-track, .carousel-container.full-width, .gallery-track {
    height: 400px;
  }
  
  .room-image-gallery {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--blue-dark);
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  .main-nav li {
    margin: 0.5rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .carousel-track, .carousel-container.full-width, .gallery-track {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  .carousel-track, .carousel-container.full-width, .gallery-track {
    height: 250px;
  }
  
  .gallery-btn-prev, .gallery-btn-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .image-caption {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}
