/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 3rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #a868b7, #8b4a9c);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c85ee2, #6d3577);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(168, 104, 183, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #333;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 176px;
  height: 80px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-brand h1 {
  font-size: 1.5rem;
  color: #333;
  margin: 0;
}

.nav-desktop {
  display: flex;
  gap: 32px;
}

.nav-desktop a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-desktop a:hover {
  color: #a868b7;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #a868b7;
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.nav-mobile a {
  text-align: center;
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-mobile a:hover {
  color: #a868b7;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/hostal4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.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: 10;
  color: white;
  max-width: 600px;
}

.location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #c6ff35;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 24px;
  line-height: 1.1;
}

.highlight {
  color: #a868b7;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: #ddd;
  line-height: 1.6;
}

.rating {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.stars {
  display: flex;
  gap: 4px;
  color: #46a4eb;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid white;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 12px;
  background: white;
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  color: #333;
  margin-bottom: 24px;
}

.section-header p {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.6;
}

/* About Section */
.about {
  background: linear-gradient(to bottom, #f3e8f5, white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.about-text h3 {
  color: #333;
  margin-bottom: 24px;
}

.about-text p {
  color: #666;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.value-card {
  background: white;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}

.value-icon.respect {
  background: #f3e8f5;
  color: #a868b7;
}
.value-icon.tranquility {
  background: #f0f7e8;
  color: #9ebf48;
}
.value-icon.community {
  background: #e8f4ff;
  color: #46a4eb;
}
.value-icon.security {
  background: #f5e8e8;
  color: #d2775e;
}

.value-card h4 {
  color: #333;
  margin-bottom: 16px;
}

.value-card p {
  color: #666;
  line-height: 1.6;
}

/* Rooms Section */
.rooms {
  background: white;
}

.room-category {
  margin-bottom: 80px;
}

.room-category:last-child {
  margin-bottom: 0;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 16px;
  text-align: center;
  justify-content: center;
}

.category-title i {
  color: #a868b7;
}

.category-description {
  text-align: center;
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.room-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.room-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.room-rating {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.9rem;
}

.room-rating i {
  color: #46a4eb;
}

.room-content {
  padding: 24px;
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.room-header h3 {
  color: #333;
  margin: 0;
}

.room-price {
  text-align: right;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #a868b7;
}

.period {
  font-size: 0.9rem;
  color: #666;
  display: block;
}

.room-capacity {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  margin-bottom: 16px;
}

.room-features {
  list-style: none;
  margin-bottom: 24px;
}

.room-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  margin-bottom: 8px;
}

.room-features li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #9ebf48;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Amenities Section */
.amenities {
  background: linear-gradient(to bottom, #e8f4ff, white);
}

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

.amenity-card {
  background: white;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.amenity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.amenity-icon {
  width: 64px;
  height: 64px;
  background: #f8f9ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}

.amenity-icon.wifi {
  color: #46a4eb;
}
.amenity-icon.coffee {
  color: #d2775e;
}
.amenity-icon.kitchen {
  color: #9ebf48;
}
.amenity-icon.laundry {
  color: #a868b7;
}
.amenity-icon.parking {
  color: #696969;
}
.amenity-icon.security {
  color: #d2775e;
}
.amenity-icon.common {
  color: #a868b7;
}
.amenity-icon.tours {
  color: #46a4eb;
}

.amenity-card h3 {
  color: #333;
  margin-bottom: 16px;
}

.amenity-card p {
  color: #666;
  line-height: 1.6;
}

.experiences-section {
  background: linear-gradient(135deg, #aed44c, #7a9b36);
  border-radius: 12px;
  padding: 48px;
  color: white;
}

.experiences-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.experiences-text h3 {
  color: white;
  margin-bottom: 32px;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.experience-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.experience-dot {
  width: 24px;
  height: 24px;
  background: #9ebf48;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.experience-item h4 {
  color: white;
  margin-bottom: 8px;
}

.experience-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.experiences-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Location Section */
.location {
  background: transparent;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.location-text h3 {
  color: #333;
  margin-bottom: 24px;
}

.location-text p {
  color: #666;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.location-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #666;
}

.location-feature i {
  color: #a868b7;
  width: 24px;
}

.location-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map {
  text-align: center;
  padding: 40px 16px;
}

.map-container {
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.distances {
  background: linear-gradient(135deg, #38a9ff, #2e7bc6);
  border-radius: 12px;
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
  color: white;
}

.distance-item h4 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.distance-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(to bottom, #f0f7e8, white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  color: #46a4eb;
}

.testimonial-quote {
  position: relative;
  margin-bottom: 24px;
}

.testimonial-quote i {
  position: absolute;
  top: -8px;
  left: -8px;
  color: #f3e8f5;
  font-size: 1.5rem;
}

.testimonial-quote p {
  color: #666;
  font-style: italic;
  line-height: 1.6;
  padding-left: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: #333;
  margin: 0;
  font-size: 1rem;
}

.testimonial-author p {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background: linear-gradient(to bottom, #f5e8e8, white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h3 {
  color: #333;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: #f3e8f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a868b7;
  flex-shrink: 0;
}

.contact-item h4 {
  color: #333;
  margin-bottom: 8px;
}

.contact-item p {
  color: #666;
  line-height: 1.6;
}

.checkin-info {
  background: linear-gradient(135deg, #d2775e, #b85a42);
  padding: 24px;
  border-radius: 12px;
  margin-top: 32px;
  color: white;
}

.checkin-info h4 {
  color: white;
  margin-bottom: 16px;
}

.checkin-times {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkin-time {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.9);
}

.checkin-time span:last-child {
  font-weight: 600;
}

.contact-form h3 {
  color: #333;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #a868b7;
}

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

/* Footer */
.footer {
  background: #2c2c2c;
  color: white;
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand {
  max-width: 400px;
  margin: auto;
}

.footer-logo {
  display: flex;
  gap: 12px;
  margin: auto;
  margin-bottom: 24px;
}

.logo-img {
  display: inline-block;
  height: 100%;
  width: 100%;
  object-fit: fill;
  border-radius: 100%;
}

.footer-logo h3 {
  color: white;
  margin: 0;
}

.footer-brand p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: justify;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #404040;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #a868b7;
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  margin-bottom: 24px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #a868b7;
}

.footer-contact-item {
  width: 90%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  margin: auto;
  color: #ccc;
}

.footer-contact-item i {
  color: #a868b7;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid #404040;
  padding-top: 24px;
  text-align: center;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-mobile.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .about-content,
  .location-content,
  .experiences-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .experiences-section {
    padding: 32px 24px;
  }

  .distances {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .category-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 8px;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    margin: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .rooms-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .value-card,
  .amenity-card {
    padding: 24px 16px;
  }

  .experiences-section {
    padding: 24px 16px;
  }

  .distances {
    padding: 24px 16px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .category-title {
    font-size: 1.75rem;
  }

  .category-description {
    font-size: 1.125rem;
  }

  .logo {
    margin: auto;
  }
}

/* Active navigation state */
.nav-desktop a.active,
.nav-mobile a.active {
  color: #a868b7 !important;
}

.nav-desktop a.active::after {
  width: 100% !important;
}
