/*
Theme Name: Stone Porch Cottage
*/

:root {
  --cream: #f7f4ef;
  --warm-white: #fffdf8;
  --sage: #6f845f;
  --sage-dark: #526343;
  --charcoal: #333333;
  --stone: #d8d0c5;
  --soft: #eee8df;
}

/* Base */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: "Lora", Georgia, serif;
  line-height: 1.65;
}
a { color: var(--sage-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

/* Header */
.site-header {
  background: #f7f3f0;
  border-bottom: 1px solid #e5ddd2;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}
.main-navigation ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Hero */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.hero-slideshow {
  position: absolute;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
}
.slide.active { opacity: 1; }

.hero .container { position: relative; z-index: 5; }
.hero-card {
  z-index: 6;
  background: rgba(255,253,248,.92);
  border: 1px solid var(--stone);
  padding: 36px;
  max-width: 430px;
  text-align: center;
}

/* Buttons */
.button {
  display:inline-block;
  padding:12px 20px;
  background:var(--sage);
  color:white;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.75rem;
}
.button.secondary {
  background:transparent;
  color:var(--sage-dark);
}

/* Grids */
.garden-grid,
.stay-grid,
.about-news-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

/* Cards */
.feature-panel {
  background: var(--warm-white);
  padding: 32px;
  border: 1px solid var(--soft);
}
.stay-card {
  background: var(--warm-white);
  border: 1px solid var(--soft);
  padding: 32px;
}

/* Images */
.garden-image img,
.stay-image img {
  width: 100%;
  border-radius: 8px;
}

/* Blog */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.post-card {
  background: var(--warm-white);
  border: 1px solid var(--soft);
}
.post-card-content {
  padding: 18px;
}

/* Footer */
.site-footer {
  background: var(--warm-white);
  padding: 42px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}

/* ✅ FIXED — removes line */
.copyright {
  margin-top: 28px;
  font-size: .82rem;
  color: #777;
  padding-top: 16px;
  border-top: none;
}

/* Responsive */
@media (max-width: 850px) {
  .garden-grid,
  .stay-grid,
  .about-news-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
}

``