/* Eleven Guest House - Homepage Styles */

:root {
  --primary-color: #8b4513;
  --secondary-color: #d2691e;
  --accent-color: #ffd700;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --border-color: #e9ecef;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.eleven-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eleven-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: var(--transition);
  position: relative;
}

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

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

.navbar-contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-item i {
  color: var(--primary-color);
}

.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Hero Section */
.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 2;
  position: relative;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 1rem;
}

/* Section Styles */
.section-badge {
  background: var(--accent-color);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1rem 0;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: var(--light-bg);
}

.about-images {
  position: relative;
}

.image-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 400px;
}

.main-image {
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.side-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.about-content {
  padding: 2rem;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
  color: var(--text-dark);
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Rooms Section */
.rooms-section {
  padding: 6rem 0;
  background: var(--white);
}

.rooms-overview {
  margin-top: 3rem;
}

.room-preview {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  margin-bottom: 2rem;
}

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

.room-preview-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.room-preview-content {
  padding: 2rem;
}

.room-preview-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.room-preview-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.room-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
  background: var(--light-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.room-features span i {
  color: var(--primary-color);
  width: 16px;
}

/* Amenities Section */
.amenities-section {
  padding: 6rem 0;
  background: var(--light-bg);
}

.amenity-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  margin-bottom: 2rem;
}

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

.amenity-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.amenity-icon i {
  font-size: 2rem;
  color: var(--text-dark);
}

.amenity-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.amenity-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: var(--white);
}

.testimonials-carousel {
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--light-bg);
  border-radius: 15px;
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.stars {
  margin-bottom: 1.5rem;
}

.stars i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin: 0 0.1rem;
}

.testimonial-content p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.guest-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.guest-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.guest-info h5 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.guest-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 500;
  transition: var(--transition);
}

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

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

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.footer-brand h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-contact {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #bdc3c7;
}

.contact-item i {
  color: var(--accent-color);
  margin-top: 0.25rem;
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: var(--transition);
}

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

.map-container {
  border-radius: 10px;
  overflow: hidden;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .image-grid {
    height: 300px;
  }

  .navbar-contact-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .room-features {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .guest-info {
    flex-direction: column;
    text-align: center;
  }
}

/* Swiper Customization */
.swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-color);
  color: var(--white);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading.hidden {
  display: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Navigation Styles */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-brand {
    flex: 1;
  }

  .eleven-logo {
    gap: 0.75rem;
  }

  .eleven-logo img {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .navbar-contact-info {
    display: none;
  }

  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    margin-left: auto;
  }

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

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav {
    text-align: center;
    margin-bottom: 1rem;
  }

  .navbar-nav .nav-link {
    margin: 0.5rem 0;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
  }

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

  .dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 0.5rem;
  }

  .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 5px;
    margin: 0.25rem 0;
  }

  .dropdown-item:hover {
    background: var(--primary-color);
    color: var(--white);
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .eleven-logo img {
    width: 35px;
    height: 35px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .navbar-toggler {
    padding: 0.2rem 0.4rem;
    font-size: 0.9rem;
  }

  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.75rem;
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
  }

  .dropdown-item {
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.4rem 0;
  }

  .eleven-logo {
    gap: 0.5rem;
  }

  .eleven-logo img {
    width: 30px;
    height: 30px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .navbar-toggler {
    padding: 0.15rem 0.3rem;
    font-size: 0.8rem;
  }

  .navbar-collapse {
    margin-top: 0.5rem;
    padding: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }

  .dropdown-item {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }
}
