/* ============================================================
   GELBHAUS PANZIÓ – Design System
   Palette: Cream bg · Forest Green · Warm Yellow
   ============================================================ */

:root {
  --bg:          #F7F4ED;
  --bg-card:     #FFFFFF;
  --green-dark:  #3D6B4F;
  --green-mid:   #5A8A6A;
  --green-light: #C8DDD0;
  --yellow:      #E8C03A;
  --yellow-pale: #FBF0C0;
  --text:        #252520;
  --text-mid:    #5A584F;
  --text-light:  #8A8878;
  --border:      #DDD9CE;
  --shadow:      0 4px 24px rgba(61,107,79,.10);
  --radius:      12px;
  --radius-sm:   6px;
  --nav-h:       72px;
  --transition:  .25s ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
img { display: block; width: 100%; object-fit: cover; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: .5rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--green-dark); color: #fff;
}
.btn-primary:hover { background: var(--green-mid); }
.btn-outline {
  background: transparent;
  border-color: var(--green-dark);
  color: var(--green-dark);
}
.btn-outline:hover { background: var(--green-dark); color: #fff; }
.btn-yellow {
  background: var(--yellow); color: var(--text);
}
.btn-yellow:hover { background: #d4ac2e; }

/* ── Layout helpers ───────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--text-mid); max-width: 560px; margin: .75rem auto 0; }

/* ── NAV ──────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  background: rgba(247,244,237,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.35rem; font-weight: 800; color: var(--green-dark);
}
.nav-logo span { color: var(--yellow); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-weight: 500; color: var(--text-mid);
  position: relative; padding-bottom: 2px;
  transition: color var(--transition);
}
.nav-links a::after {
  content:''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--green-dark);
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--green-dark); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links .btn { margin-left: .5rem; padding: .55rem 1.2rem; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--green-dark); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  flex-direction: column; gap: 1.2rem;
  z-index: 999; box-shadow: var(--shadow);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.1rem; font-weight: 600; color: var(--text); padding: .3rem 0; }
.mobile-menu a:hover { color: var(--green-dark); }


/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2e5236 0%, #4a7c59 50%, #6da87a 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?w=1600&q=80') center/cover no-repeat;
  opacity: .25;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px; color: #fff;
}
.hero-content .section-label { color: var(--yellow); }
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-content p  { font-size: 1.15rem; opacity: .88; margin-bottom: 2rem; max-width: 520px; }
.hero-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.hero-badge  { display: flex; align-items: center; gap: .5rem; font-size: .9rem; opacity: .85; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.6); font-size: .8rem;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── FEATURES strip ───────────────────────────────────────── */
.features { background: var(--green-dark); color: #fff; padding: 2.5rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.feature-item  { display: flex; align-items: center; gap: 1rem; }
.feature-icon  { width: 48px; height: 48px; flex-shrink: 0; background: rgba(255,255,255,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.feature-item h4 { font-size: .95rem; margin-bottom: .1rem; }
.feature-item p  { font-size: .82rem; opacity: .75; }

/* ── WELCOME ──────────────────────────────────────────────── */
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.welcome-img-wrap { position: relative; }
.welcome-img-wrap img { border-radius: var(--radius); height: 480px; box-shadow: var(--shadow); }
.welcome-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--yellow); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; text-align: center; box-shadow: var(--shadow);
}
.welcome-badge .num { font-size: 2rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.welcome-badge .lbl { font-size: .8rem; font-weight: 600; color: var(--text); }
.welcome-checks { margin: 1.5rem 0; display: flex; flex-direction: column; gap: .6rem; }
.welcome-checks li { display: flex; align-items: center; gap: .75rem; font-weight: 500; }
.check-icon { width: 22px; height: 22px; flex-shrink: 0; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--green-dark); font-size: .75rem; font-weight: 700; }

/* ── ROOM CARD ────────────────────────────────────────────── */
.rooms-preview { background: var(--bg-card); }
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; }
.room-card { background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.room-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(61,107,79,.18); }
.room-card-img { height: 220px; overflow: hidden; position: relative; }
.room-card-img img { height: 100%; transition: transform .4s ease; }
.room-card:hover .room-card-img img { transform: scale(1.05); }
.room-card-tag { position: absolute; top: 1rem; left: 1rem; background: var(--yellow); color: var(--text); font-size: .75rem; font-weight: 700; padding: .25rem .75rem; border-radius: 20px; }
.room-card-body { padding: 1.5rem; }
.room-card-body h3 { margin-bottom: .5rem; }
.room-card-body p  { color: var(--text-mid); font-size: .9rem; margin-bottom: 1rem; }
.room-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: .5rem; }
.room-price { font-size: 1.2rem; font-weight: 800; color: var(--green-dark); }
.room-price span { font-size: .8rem; font-weight: 400; color: var(--text-light); }
.room-amenities { display: flex; gap: .5rem; font-size: 1.1rem; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials { background: var(--yellow-pale); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card { background: var(--bg-card); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.quote-icon { font-size: 3rem; color: var(--green-light); line-height: 1; margin-bottom: .5rem; }
.testimonial-card p { color: var(--text-mid); font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--green-dark); font-size: 1rem; flex-shrink: 0; }
.author-name  { font-weight: 700; font-size: .95rem; }
.author-stars { color: var(--yellow); font-size: .9rem; }

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner { background: linear-gradient(135deg, var(--green-dark), var(--green-mid)); color: #fff; text-align: center; padding: 5rem 0; }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p  { opacity: .85; max-width: 500px; margin: 0 auto 2rem; }
.cta-buttons   { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }


/* ── PAGE HEADER (inner pages) ────────────────────────────── */
.page-header {
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
  background: linear-gradient(135deg, #2e5236 0%, #4a7c59 100%);
  color: #fff; text-align: center;
}
.page-header .section-label { color: var(--yellow); }
.page-header h1 { margin-bottom: .75rem; }
.page-header p  { opacity: .8; max-width: 560px; margin: 0 auto; }

/* ── ABOUT ────────────────────────────────────────────────── */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-story img { border-radius: var(--radius); height: 420px; box-shadow: var(--shadow); }
.about-story-text h2 { margin-bottom: 1rem; }
.about-story-text p  { color: var(--text-mid); margin-bottom: 1rem; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.value-card { background: var(--bg-card); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border-top: 4px solid var(--green-dark); }
.value-icon { font-size: 2rem; margin-bottom: .75rem; }
.value-card h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.value-card p  { color: var(--text-mid); font-size: .9rem; }
.team-section  { background: var(--yellow-pale); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.team-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; }
.team-card-img { height: 240px; overflow: hidden; }
.team-card-img img { height: 100%; }
.team-card-body { padding: 1.25rem; }
.team-card-body h3 { margin-bottom: .2rem; }
.team-card-body p  { color: var(--text-mid); font-size: .88rem; }
.team-role { color: var(--green-mid); font-weight: 600; font-size: .85rem; margin-bottom: .4rem; }

/* ── ROOMS page ───────────────────────────────────────────── */
.rooms-filter {
  display: flex; gap: .75rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .5rem 1.25rem; border-radius: 20px;
  border: 2px solid var(--border);
  background: transparent; cursor: pointer;
  font-weight: 600; font-size: .88rem;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green-dark); border-color: var(--green-dark); color: #fff;
}
.room-detail {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 3rem; align-items: start;
  background: var(--bg-card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.room-detail:nth-child(even) { direction: rtl; }
.room-detail:nth-child(even) > * { direction: ltr; }
.room-detail-gallery { position: relative; }
.room-detail-gallery .main-img { height: 360px; }
.room-detail-thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.room-detail-thumbs img { height: 100px; cursor: pointer; transition: opacity .2s; }
.room-detail-thumbs img:hover { opacity: .8; }
.room-detail-info { padding: 2.5rem 2.5rem 2.5rem 0; }
.room-detail:nth-child(even) .room-detail-info { padding: 2.5rem 0 2.5rem 2.5rem; }
.room-detail-info h2 { margin-bottom: .5rem; }
.room-detail-info .room-price { font-size: 1.4rem; display: block; margin-bottom: 1rem; }
.room-detail-info p  { color: var(--text-mid); margin-bottom: 1.5rem; }
.amenity-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.amenity-item { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.amenity-dot  { width: 8px; height: 8px; border-radius: 50%; background: var(--green-dark); flex-shrink: 0; }
.room-specs { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.spec-chip {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 20px; padding: .35rem .9rem;
  font-size: .82rem; font-weight: 600; color: var(--text-mid);
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info-card { background: var(--green-dark); color: #fff; border-radius: var(--radius); padding: 2.5rem; }
.contact-info-card h3 { margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.contact-item-text p { opacity: .8; font-size: .9rem; margin-top: .15rem; }
.contact-item-text strong { font-size: .95rem; }
.contact-form-wrap { background: var(--bg-card); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-form-wrap h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-weight: 600; font-size: .88rem; color: var(--text-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem; border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--bg); font-size: .95rem; font-family: inherit;
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--green-dark); }
.form-group textarea { resize: vertical; min-height: 120px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 3rem; }
.map-placeholder {
  height: 300px; background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--green-dark); font-weight: 600;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { background: #1a2e22; color: #c8d8cc; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; opacity: .7; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { font-size: .88rem; opacity: .7; transition: opacity var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--yellow); }
.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: background var(--transition);
}
.social-btn:hover { background: var(--green-mid); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; opacity: .6; flex-wrap: wrap; gap: .5rem; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .welcome-grid, .about-story, .contact-layout { grid-template-columns: 1fr; }
  .room-detail, .room-detail:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .room-detail-info, .room-detail:nth-child(even) .room-detail-info { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .welcome-badge { bottom: 1rem; right: 1rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
  .section { padding: 3rem 0; }
  .cta-banner { padding: 3rem 0; }
}
