/* =============================================
   Casa Rosa House — Main Stylesheet
   Fonts: Roboto + Roboto Slab (matches original)
   Colors: hsl(309, 50%, …) palette from original
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Roboto+Slab:wght@300;400;500;600;700&display=swap');

:root {
  --primary:       hsl(309, 50%, 13%);   /* deep burgundy/plum */
  --primary-mid:   hsl(309, 50%, 46%);   /* muted mauve */
  --primary-light: hsl(309, 50%, 93%);   /* pale rose */
  --bg:            hsl(309, 50%, 98%);   /* #fafafa equivalent */
  --white:         #ffffff;
  --gray-mid:      #7A7A7A;              /* --e-global-color-text */
  --gray-dark:     #54595F;              /* --e-global-color-secondary */
  --gray-light:    hsl(309, 50%, 73%);
  --border:        hsl(309, 50%, 87%);
  --text:          hsl(309, 40%, 20%);
  --link:          hsl(309, 50%, 40%);
  --font-body:     'Roboto', sans-serif;
  --font-heading:  'Roboto Slab', serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

/* ---- Site Header ---- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--primary-light);
  padding: 18px 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.site-title span { color: var(--primary-mid); }

.site-tagline {
  font-size: 0.85rem;
  color: var(--gray-mid);
  font-style: italic;
  margin-left: auto;
}

/* ---- Primary Navigation ---- */
.site-nav {
  background: var(--primary);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.site-nav a {
  color: var(--primary-light);
  display: block;
  padding: 12px 16px;
  font-size: 0.83rem;
  font-family: Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--primary-mid);
  color: var(--white);
  text-decoration: none;
}

/* ---- Hero Header Image ---- */
.hero-image {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--primary);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 24px;
  text-align: center;
}

.hero-image-overlay h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  max-width: 800px;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-image-overlay p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Video Section ---- */
.video-section {
  background: var(--bg);
  padding: 40px 24px;
  display: flex;
  justify-content: center;
}

.video-responsive {
  position: relative;
  width: 560px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }

.btn-primary { background: var(--white); color: var(--primary); }
.btn-outline  { background: transparent; color: var(--white); border: 2px solid var(--white); }

/* ---- Page Wrapper ---- */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* ---- Section Heading ---- */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

.section-subtitle {
  color: var(--gray-mid);
  font-style: italic;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

/* ---- Content Section ---- */
.content-section {
  margin-bottom: 60px;
}

.content-section p {
  margin-bottom: 14px;
  max-width: 780px;
}

/* ---- Cards Grid ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--primary-light);
}

.card-img-placeholder {
  width: 100%;
  height: 190px;
  background: linear-gradient(135deg, var(--primary-light), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

/* ---- Airbnb Listings ---- */
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.listing-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
  transform: translateY(-4px);
}

.listing-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, hsl(309, 50%, 80%), hsl(309, 50%, 60%));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.listing-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.listing-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 6px;
}

.listing-desc {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}

.listing-btn {
  background: var(--primary);
  color: var(--white);
  border-radius: 9999px;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  transition: background 0.2s;
  text-decoration: none;
}
.listing-btn:hover { background: var(--primary-mid); text-decoration: none; }

/* ---- Restaurant List ---- */
.restaurant-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.restaurant-item {
  background: var(--white);
  border-left: 4px solid var(--primary-mid);
  border-radius: 0 6px 6px 0;
  padding: 16px 18px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.restaurant-name {
  font-weight: bold;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 4px;
}

.restaurant-type {
  font-size: 0.82rem;
  color: var(--primary-mid);
  font-style: italic;
  margin-bottom: 6px;
}

.restaurant-detail {
  font-size: 0.85rem;
  color: #555;
}

/* ---- Contact Bar ---- */
.contact-bar {
  background: var(--primary);
  color: var(--white);
  padding: 36px 24px;
  text-align: center;
}

.contact-bar h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--primary-light);
}

.contact-methods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 8px;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.contact-method span.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  font-family: Arial, sans-serif;
}

.contact-method a {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.contact-method a:hover { text-decoration: underline; }

/* ---- Site Footer ---- */
.site-footer {
  background: hsl(309, 50%, 8%);
  color: var(--gray-light);
  text-align: center;
  padding: 24px 16px;
  font-size: 0.82rem;
  font-family: Arial, sans-serif;
}

.site-footer a { color: var(--primary-light); }

/* ---- Highlight Box ---- */
.highlight-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.highlight-box h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* ---- Two-column layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ---- Page-specific hero (for inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(309, 50%, 28%) 100%);
  color: var(--white);
  padding: 40px 24px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--primary-light);
  font-size: 0.95rem;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .hero-image            { height: 320px; }
  .hero-image-overlay h1 { font-size: 1.6rem; }
  .two-col               { grid-template-columns: 1fr; }
  .header-inner     { flex-direction: column; text-align: center; }
  .site-tagline     { margin-left: 0; }
  .nav-inner        { justify-content: center; }
  .site-nav a       { padding: 10px 10px; font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .hero             { padding: 48px 16px; }
  .cards            { grid-template-columns: 1fr; }
  .restaurant-list  { grid-template-columns: 1fr; }
}
