/* Casa Todo Bueno — Static Site Styles */
:root {
  --teal: #0F4C5C;
  --teal-light: #1B7F8E;
  --aqua: #2AA9B8;
  --sand: #F5E6D3;
  --sand-light: #FDF8F2;
  --white: #FFFFFF;
  --dark: #1A1A2E;
  --text: #2D3436;
  --text-light: #636E72;
  --accent: #E94560;
  --gold: #D4A853;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--sand-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,76,92,0.95);
  backdrop-filter: blur(10px);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-logo { height: 36px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--white); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--aqua); }
.nav-cta {
  background: var(--accent); color: var(--white); border: none;
  padding: 0.5rem 1.5rem; border-radius: 8px; font-weight: 600;
  cursor: pointer; transition: background 0.2s; text-decoration: none;
  font-size: 0.9rem;
}
.nav-cta:hover { background: #D63850; }

/* Hero */
.hero {
  margin-top: 64px;
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
  background: var(--teal);
}
.hero-slides {
  display: flex; height: 100%; animation: slide 25s infinite;
}
.hero-slide {
  min-width: 100%; height: 100%;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,76,92,0.85) 0%, rgba(15,76,92,0.3) 50%, rgba(15,76,92,0.15) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--white); padding: 2rem;
}
.hero-overlay h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; margin-bottom: 0.5rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-overlay .subtitle { font-size: clamp(1rem, 2vw, 1.5rem); opacity: 0.9; margin-bottom: 0.25rem; }
.hero-overlay .price { font-size: 1.25rem; color: var(--gold); font-weight: 600; margin: 1rem 0 1.5rem; }
.hero-overlay .price span { color: var(--white); font-weight: 400; font-size: 0.9rem; opacity: 0.8; }

@keyframes slide {
  0%, 16% { transform: translateX(0); }
  20%, 36% { transform: translateX(-100%); }
  40%, 56% { transform: translateX(-200%); }
  60%, 76% { transform: translateX(-300%); }
  80%, 96% { transform: translateX(-400%); }
  100% { transform: translateX(0); }
}

/* Sections */
section { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--teal); margin-bottom: 0.5rem; }
.section-sub { color: var(--text-light); font-size: 1.1rem; margin-bottom: 3rem; max-width: 600px; }

/* Rooms Grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.room-card-img {
  width: 100%; height: 240px; object-fit: cover;
  background: var(--teal-light);
}
.room-card-body { padding: 1.5rem; }
.room-card-type {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--aqua); font-weight: 700; margin-bottom: 0.25rem;
}
.room-card-body h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 0.5rem; }
.room-card-details {
  display: flex; gap: 1rem; color: var(--text-light); font-size: 0.85rem;
  margin-bottom: 0.75rem; flex-wrap: wrap;
}
.room-card-details span { display: flex; align-items: center; gap: 0.3rem; }
.room-card-desc { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1rem; line-height: 1.5; }
.room-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem; border-top: 1px solid #eee;
}
.room-price { font-size: 1.5rem; font-weight: 700; color: var(--teal); }
.room-price small { font-size: 0.8rem; font-weight: 400; color: var(--text-light); }
.btn {
  display: inline-block; padding: 0.6rem 1.5rem; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: all 0.2s;
  font-size: 0.9rem; cursor: pointer; border: none;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); }
.btn-outline { border: 2px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #D63850; }

/* Amenities */
.amenities { background: var(--white); }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.amenity-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem; background: var(--sand-light); border-radius: var(--radius);
}
.amenity-icon { font-size: 1.5rem; }
.amenity-label { font-weight: 500; font-size: 0.95rem; }

/* About */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-text p { margin-bottom: 1rem; color: var(--text-light); }
.about-img {
  width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Reviews */
.reviews { background: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.review-card {
  background: var(--sand-light); border-radius: var(--radius); padding: 1.5rem;
}
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 0.5rem; }
.review-text { font-size: 0.9rem; color: var(--text); font-style: italic; margin-bottom: 0.75rem; line-height: 1.5; }
.review-author { font-size: 0.85rem; color: var(--text-light); font-weight: 600; }
.review-date { font-size: 0.8rem; color: var(--text-light); opacity: 0.7; }
.ratings-bar {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  margin-bottom: 2rem; padding: 1.5rem; background: var(--teal);
  border-radius: var(--radius); color: var(--white);
}
.rating-item { text-align: center; }
.rating-score { font-size: 2rem; font-weight: 700; }
.rating-label { font-size: 0.8rem; opacity: 0.8; margin-top: 0.25rem; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid #e0e0e0; padding: 1.25rem 0;
}
.faq-q { font-weight: 600; color: var(--teal); margin-bottom: 0.25rem; cursor: pointer; font-size: 1.05rem; }
.faq-a { color: var(--text-light); font-size: 0.95rem; }

/* Location */
.location { background: var(--white); }
.location-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.location-info p { margin-bottom: 0.75rem; color: var(--text-light); }
.location-info strong { color: var(--text); }
.map-placeholder {
  width: 100%; height: 350px; background: var(--sand);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; color: var(--text-light);
}

/* Footer */
footer {
  background: var(--dark); color: var(--white); padding: 4rem 2rem 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: 1200px;
  margin: 0 auto; margin-bottom: 2rem;
}
.footer-brand img { height: 32px; margin-bottom: 1rem; }
.footer-brand p { opacity: 0.7; font-size: 0.9rem; }
footer h4 { font-size: 1rem; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
footer ul a:hover { color: var(--aqua); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; font-size: 0.85rem;
  opacity: 0.6;
}

/* Room page specific */
.room-hero { height: 50vh; min-height: 350px; }
.room-detail { padding: 3rem 2rem; }
.room-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.room-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.room-meta-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; color: var(--text-light); }
.amenities-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.amenities-list li { list-style: none; display: flex; align-items: center; gap: 0.5rem; }
.booking-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 2rem; position: sticky; top: 84px;
}
.booking-card .price-big { font-size: 2rem; font-weight: 700; color: var(--teal); }
.booking-card .price-big small { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.booking-placeholder {
  background: var(--sand-light); border: 2px dashed #ddd;
  border-radius: var(--radius); padding: 2rem; text-align: center;
  margin: 1.5rem 0; color: var(--text-light);
}
.booking-placeholder p { margin-bottom: 0.75rem; }
.booking-card .btn { width: 100%; text-align: center; }

/* AC badge */
.ac-badge {
  display: inline-block; background: var(--aqua); color: var(--white);
  padding: 0.15rem 0.6rem; border-radius: 4px; font-size: 0.75rem;
  font-weight: 600; margin-left: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { height: 60vh; }
  section { padding: 3rem 1rem; }
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .room-detail-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ratings-bar { gap: 1.5rem; }
}
