/*
Theme Name: Hello Elementor Child - Lucia
Template: hello-elementor
Version: 1.0
*/

/* === LUCIA CUSTOM CSS START === */

:root {
  --cream: #FAF6EF;
  --warm-white: #FDF9F4;
  --gold: #C9A96E;
  --gold-light: #E8D5B0;
  --deep-green: #2C3E2D;
  --forest: #3D5A3E;
  --earth: #7C6B52;
  --text: #2A2018;
  --text-muted: #7A6E62;
  --border: rgba(201,169,110,0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,246,239,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--deep-green);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--deep-green); }
.nav-cta {
  background: var(--deep-green); color: var(--cream) !important;
  padding: 10px 24px; border-radius: 2px;
  letter-spacing: 0.1em !important;
}
.nav-cta:hover { background: var(--forest); color: var(--cream) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--deep-green) 0%, #1a2e1b 60%, #2C3E2D 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: 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='%23C9A96E' fill-opacity='0.04'%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");
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px; padding: 0 60px;
  animation: fadeUp 1s ease both;
}
.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  font-weight: 500;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05; color: var(--cream);
  margin-bottom: 28px; font-weight: 700;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; color: rgba(250,246,239,0.75);
  line-height: 1.7; margin-bottom: 44px; font-weight: 300;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--deep-green);
  padding: 16px 36px; text-decoration: none;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #d4b57e; transform: translateY(-2px); }
.btn-outline {
  border: 1px solid rgba(201,169,110,0.5); color: var(--gold);
  padding: 16px 36px; text-decoration: none;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--cream); transform: translateY(-2px); }

.hero-image-block {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  overflow: hidden;
}
.hero-image-block::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 200px;
  background: linear-gradient(to right, #1a2e1b, transparent);
  z-index: 1;
}
.hero-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #3D5A3E 0%, #2C3E2D 40%, #1a2e1b 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-placeholder-inner { text-align: center; color: rgba(201,169,110,0.3); }
.hero-placeholder-inner svg { width: 120px; height: 120px; margin-bottom: 16px; }
.hero-placeholder-inner p { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* ── SECTION COMMONS ── */
section { padding: 100px 60px; }
.section-label {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; font-weight: 500;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--deep-green); line-height: 1.15; margin-bottom: 20px;
}
.section-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; color: var(--text-muted);
  line-height: 1.75; max-width: 560px; font-weight: 400;
}
.divider {
  width: 60px; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 20px 0 32px;
}

/* ── ABOUT ── */
.about {
  background: var(--warm-white);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-image {
  height: 520px; background: linear-gradient(135deg, var(--gold-light), var(--earth));
  border-radius: 4px; position: relative; overflow: hidden;
}
.about-image-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); flex-direction: column; gap: 12px;
}
.about-image-inner svg { width: 80px; height: 80px; }
.about-image-inner p { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.about-image::after {
  content: '';
  position: absolute; bottom: -20px; right: -20px;
  width: 140px; height: 140px;
  border: 2px solid var(--gold-light); border-radius: 4px;
}
.about-features { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.feature-pill {
  background: var(--cream); border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 100px;
  font-size: 0.8rem; color: var(--earth); letter-spacing: 0.05em;
}

/* ── ROOMS ── */
.rooms { background: var(--cream); }
.rooms-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.room-card {
  background: var(--warm-white); border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.room-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(44,62,45,0.12); }
.room-img {
  height: 240px;
  background: linear-gradient(135deg, var(--forest), var(--deep-green));
  display: flex; align-items: center; justify-content: center;
  color: rgba(201,169,110,0.3); flex-direction: column; gap: 8px;
  position: relative; overflow: hidden;
}
.room-img svg { width: 60px; height: 60px; }
.room-img p { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; }
.room-img .room-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--gold); color: var(--deep-green);
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em;
}
.room-body { padding: 28px; }
.room-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--deep-green); margin-bottom: 8px;
}
.room-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px;
}
.room-amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.amenity-tag {
  background: var(--cream); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.72rem; color: var(--earth);
}
.room-footer { display: flex; justify-content: space-between; align-items: center; }
.room-price { font-size: 0.85rem; color: var(--text-muted); }
.room-price strong { font-size: 1.4rem; color: var(--deep-green); font-family: 'Playfair Display', serif; }
.btn-sm {
  background: var(--deep-green); color: var(--cream);
  padding: 10px 20px; text-decoration: none;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; border-radius: 2px;
  transition: background 0.2s;
}
.btn-sm:hover { background: var(--forest); }

/* ── AMENITIES ── */
.amenities { background: var(--deep-green); }
.amenities .section-title { color: var(--cream); }
.amenities .section-body { color: rgba(250,246,239,0.65); }
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 60px; }
.amenity-card {
  background: rgba(255,255,255,0.04);
  padding: 40px 32px; text-align: center;
  border: 1px solid rgba(201,169,110,0.1);
  transition: background 0.3s;
}
.amenity-card:hover { background: rgba(201,169,110,0.08); }
.amenity-icon {
  width: 56px; height: 56px;
  background: rgba(201,169,110,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--gold);
}
.amenity-icon svg { width: 24px; height: 24px; }
.amenity-card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--cream); font-size: 1.05rem; margin-bottom: 10px;
}
.amenity-card p {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(250,246,239,0.55); font-size: 0.95rem; line-height: 1.6;
}

/* ── EVENTS ── */
.events { background: var(--warm-white); }
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
.event-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  transition: transform 0.3s, box-shadow 0.3s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(44,62,45,0.1); }
.event-img {
  background: linear-gradient(135deg, var(--gold-light), var(--earth));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35); flex-direction: column; gap: 8px;
  min-height: 220px;
}
.event-img svg { width: 50px; height: 50px; }
.event-img p { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; }
.event-body { padding: 32px; }
.event-type {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; font-weight: 500;
}
.event-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: var(--deep-green); margin-bottom: 12px;
}
.event-body p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.98rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px;
}
.event-capacity {
  font-size: 0.75rem; color: var(--earth); letter-spacing: 0.05em;
  border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px;
}

/* ── TESTIMONIALS ── */
.testimonials { background: var(--cream); text-align: center; }
.testimonials .section-label, .testimonials .section-title { text-align: center; }
.testimonials .divider { margin: 20px auto 32px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.testimonial-card {
  background: var(--warm-white); border: 1px solid var(--border);
  padding: 40px 32px; border-radius: 4px; text-align: left;
  position: relative;
}
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem; line-height: 0.5;
  color: var(--gold-light); position: absolute; top: 24px; left: 28px;
}
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; color: var(--text); line-height: 1.75;
  margin-bottom: 24px; padding-top: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--deep-green));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1rem;
}
.author-name { font-size: 0.85rem; font-weight: 600; color: var(--deep-green); }
.author-detail { font-size: 0.75rem; color: var(--text-muted); }
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 4px; }

/* ── CONTACT ── */
.contact {
  background: var(--deep-green);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.contact .section-title { color: var(--cream); }
.contact .section-body { color: rgba(250,246,239,0.65); }
.contact .divider { background: linear-gradient(to right, var(--gold), transparent); }
.contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(201,169,110,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-item-text { font-size: 0.9rem; color: rgba(250,246,239,0.8); line-height: 1.5; }
.contact-item-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-form { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,169,110,0.15); padding: 48px; border-radius: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,169,110,0.2); border-radius: 2px;
  padding: 12px 16px; color: var(--cream); font-family: 'Jost', sans-serif;
  font-size: 0.9rem; outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(250,246,239,0.35); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--deep-green); }
.form-group textarea { height: 100px; resize: none; }
.btn-form {
  width: 100%; background: var(--gold); color: var(--deep-green);
  padding: 16px; border: none; cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  border-radius: 2px; transition: background 0.2s;
}
.btn-form:hover { background: #d4b57e; }

/* ── FOOTER ── */
footer {
  background: #1a2e1b; padding: 60px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  border-top: 1px solid rgba(201,169,110,0.1);
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--cream); margin-bottom: 16px;
}
.footer-brand h3 span { color: var(--gold); font-style: italic; }
.footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; color: rgba(250,246,239,0.5); line-height: 1.7; margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(201,169,110,0.1); border: 1px solid rgba(201,169,110,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); text-decoration: none;
  transition: background 0.2s;
}
.social-btn:hover { background: rgba(201,169,110,0.2); }
.social-btn svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.88rem; color: rgba(250,246,239,0.5); text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--cream); }
.footer-bottom {
  background: #161f17; padding: 20px 60px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(201,169,110,0.08);
}
.footer-bottom p { font-size: 0.78rem; color: rgba(250,246,239,0.35); }
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 18px 32px; }
  section { padding: 80px 32px; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  footer { grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 32px; }
  .hero-image-block { display: none; }
  .hero-content { padding: 0 32px; }
}
@media (max-width: 640px) {
  nav { padding: 16px 20px; }
  nav .nav-links { display: none; }
  section { padding: 60px 20px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; padding: 32px 20px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .rooms-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
/* Remove theme default content spacing on the custom homepage */
.page-template-page-lucia-home .site-main,
.page-template-page-lucia-home .content-area,
.page-template-page-lucia-home .entry-content,
.page-template-page-lucia-home .elementor {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}
/* Ensure image blocks behave like photos when using inline background */
.hero-image-block, .about-image, .room-img, .event-img {
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
/* =========================
   Expandable Room Galleries
   ========================= */

.gallery-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(201,169,110,0.35);
  background: transparent;
  color: var(--deep-green);
  padding: 10px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s, background 0.2s;
}

.gallery-toggle:hover {
  border-color: var(--gold);
  background: rgba(201,169,110,0.08);
  transform: translateY(-1px);
}

.gallery-toggle .chev {
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.8;
  transition: transform 0.2s;
}

.gallery-toggle[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

/* Collapsible container (smooth open/close) */
.gallery-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  border-top: 1px solid var(--border);
  margin-top: 18px;
  padding-top: 0;
}

.gallery-panel.is-open {
  opacity: 1;
  padding-top: 18px;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(201,169,110,0.18);
  background: rgba(44,62,45,0.05);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Caption (optional) */
.gallery-caption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
/* === LUCIA CUSTOM CSS END === */