/* ============================================
   The Bin House — Seward, Nebraska
   Custom Stylesheet
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #2C2420;
  background-color: #FDF8F4;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ── Focus ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #C0603A;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 0 0 6px 6px;
  font-weight: 500;
}
.skip-link:focus {
  top: 0;
}

*:focus-visible {
  outline: 2px solid #C0603A;
  outline-offset: 2px;
}

/* ── Custom Properties ── */
:root {
  --terracotta: #C0603A;
  --terracotta-dark: #A34E2C;
  --terracotta-light: #D4845E;
  --sand: #F5E6D3;
  --sand-light: #FDF8F4;
  --sand-dark: #E8D5C0;
  --charcoal: #2C2420;
  --charcoal-light: #4A3F38;
  --warm-gray: #7A6E66;
  --warm-gray-light: #A89B92;
  --white: #FFFFFF;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(44,36,32,0.06), 0 1px 2px rgba(44,36,32,0.04);
  --shadow-md: 0 4px 16px rgba(44,36,32,0.08), 0 2px 4px rgba(44,36,32,0.04);
  --shadow-lg: 0 12px 40px rgba(44,36,32,0.12), 0 4px 12px rgba(44,36,32,0.06);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--charcoal);
}

/* ── Section Eyebrow ── */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

/* ── Section Title ── */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

/* ── Section Subtitle ── */
.section-subtitle {
  font-size: 1.1rem;
  color: var(--warm-gray);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192, 96, 58, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--charcoal);
}

.logo-mark {
  color: var(--terracotta);
}

.logo-text {
  letter-spacing: -0.01em;
}

/* ── Navigation ── */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-light);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--terracotta);
  background: rgba(192, 96, 58, 0.06);
}

.nav-link--cta {
  background: var(--terracotta);
  color: var(--white) !important;
  margin-left: 0.5rem;
}

.nav-link--cta:hover {
  background: var(--terracotta-dark);
}

/* ── Nav Toggle ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 110;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--sand-light);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.hero-content {
  padding-right: 1rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-subhead {
  font-size: 1.1rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal-light);
}

.trust-item svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ── Hero Image ── */
.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.hero-image-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 40%;
  background: var(--sand-dark);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--warm-gray);
  background: var(--white);
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.hero-badge svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ── Hero Wave ── */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: var(--sand-light);
}

.hero-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(192, 96, 58, 0.3);
}

.btn--primary:hover {
  background: var(--terracotta-dark);
  box-shadow: 0 6px 20px rgba(192, 96, 58, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--sand-dark);
}

.btn--ghost:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.btn--outline {
  background: transparent;
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta);
}

.btn--outline:hover {
  background: var(--terracotta);
  color: var(--white);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn-icon {
  flex-shrink: 0;
}

/* ── Rooms ── */
.rooms {
  padding: 5rem 0;
  background: var(--sand-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.room-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.room-card-image {
  overflow: hidden;
  aspect-ratio: 520 / 360;
}

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

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

.room-card-body {
  padding: 1.5rem;
}

.room-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.room-card-desc {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.room-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.room-card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--charcoal-light);
}

.room-card-features svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

.rooms-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--warm-gray);
}

.rooms-note a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rooms-note a:hover {
  color: var(--terracotta-dark);
}

/* ── About ── */
.about {
  padding: 5rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -1.5rem;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content .section-title {
  margin-bottom: 1.25rem;
}

.about-text {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--sand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
}

.about-feature-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.about-feature-desc {
  font-size: 0.875rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* ── Location ── */
.location {
  padding: 5rem 0;
  background: var(--sand-light);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.location-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.location-map-link {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: background var(--transition), color var(--transition);
}

.location-map-link:hover {
  background: var(--terracotta);
  color: var(--white);
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.location-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.location-card address {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
}

.location-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.location-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--charcoal);
  transition: color var(--transition);
}

.location-card a:hover {
  color: var(--terracotta);
}

.card-icon {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ── CTA ── */
.cta {
  padding: 5rem 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192,96,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cta .btn--primary {
  background: var(--terracotta);
}

.cta .btn--primary:hover {
  background: var(--terracotta-light);
}

.cta .btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.cta .btn--outline:hover {
  background: var(--white);
  color: var(--charcoal);
}

/* ── Contact ── */
.contact {
  padding: 5rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.contact-detail svg {
  color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.15rem;
}

.contact-detail span,
.contact-detail a {
  font-size: 0.95rem;
  color: var(--warm-gray);
}

.contact-detail a:hover {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Form ── */
.contact-form-wrap {
  background: var(--sand-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--sand-dark);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.875rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192, 96, 58, 0.1);
}

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

.form-success,
.form-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success {
  background: #E8F5E9;
  color: #2E7D32;
}

.form-error {
  background: #FDECEA;
  color: #C62828;
}

/* ── Footer ── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--terracotta-light);
}

.footer-contact address {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--terracotta-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 2rem;
  }

  .about-grid {
    gap: 2.5rem;
  }

  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 244, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(192, 96, 58, 0.08);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.25rem;
    align-items: stretch;
  }

  .nav-link {
    padding: 0.75rem 1rem;
  }

  .nav-link--cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .hero-content {
    padding-right: 0;
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-badge {
    display: none;
  }

  .hero-wave svg {
    height: 40px;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .about-images {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-img-secondary {
    right: -0.5rem;
    bottom: -1.5rem;
  }

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

  .location-map {
    min-height: 280px;
  }

  .location-map img {
    height: 280px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-text {
    margin: 0 auto;
  }

  .cta-actions {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

  .hero-headline {
    font-size: 1.75rem;
  }

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

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    gap: 0.75rem;
  }

  .contact-form-wrap {
    padding: 1.25rem;
  }
}
