/* Pigeon Creek Inn — site styles */

:root {
  --color-bg: #faf7f2;
  --color-bg-alt: #f1ece2;
  --color-text: #3a3530;
  --color-heading: #2f3b2f;
  --color-primary: #3f5c3f;
  --color-primary-dark: #2c422c;
  --color-accent: #a8752f;
  --color-border: #e2dbcc;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 2px solid var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-heading);
}

.site-logo img {
  height: 52px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-heading);
  margin: 5px 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 2px;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--color-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
}

.main-nav .book-link {
  background: var(--color-accent);
  color: #fff;
  border-radius: 3px;
  margin-left: 8px;
}

.main-nav .book-link:hover {
  background: #8c5f23;
  color: #fff;
}

.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 6px 0;
  list-style: none;
  margin: 0;
  z-index: 10;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.has-dropdown .dropdown a {
  padding: 10px 16px;
  font-weight: 500;
  white-space: nowrap;
}

/* Hero */

.hero {
  background-color: var(--color-primary-dark);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 90px 0;
  text-align: center;
}

.hero h1,
.hero p {
  color: #fff;
}

.hero.hero-plain {
  background: var(--color-primary);
  padding: 56px 0;
}

/* Video hero (home page) */

.hero-video {
  position: relative;
  overflow: hidden;
  background-color: var(--color-primary-dark);
}

.hero-video-frame {
  position: relative;
  width: 100%;
  padding-top: 27.25%;
}

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

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 30, 20, 0.45), rgba(20, 30, 20, 0.45));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-video-overlay h1,
.hero-video-overlay p {
  color: #fff;
}

@media (max-width: 700px) {
  .hero-video-frame {
    padding-top: 100%;
  }
}

/* Suite / feature cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 16px 18px;
}

.card-body h3 {
  margin-bottom: 0.3em;
}

/* Amenities list */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 24px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.amenities-grid li {
  padding-left: 28px;
  position: relative;
}

.amenities-grid li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* Reviews */

.review {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 18px;
}

.review blockquote {
  margin: 0 0 10px;
  font-style: italic;
}

.review cite {
  font-style: normal;
  color: var(--color-accent);
  font-weight: 600;
}

/* Video embed */

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 32px 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Forms */

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

/* Footer */

.site-footer {
  background: var(--color-primary-dark);
  color: #e6e9e2;
  padding: 48px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid a {
  color: #cdd4c6;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  font-size: 0.85rem;
  color: #b7bfae;
  text-align: center;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Utility */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Responsive */

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

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .main-nav .book-link {
    margin: 8px 14px;
    text-align: center;
  }

  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 14px;
    display: block;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}
