/* =============================================
   Lone Pinelake Stay — Shared Styles
   Color palette: Forest green, warm amber, off-white
   Fonts: Vollkorn (headings) + Work Sans (body)
   ============================================= */

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

:root {
  --green: #2d5a3d;
  --green-dark: #1e3d29;
  --green-light: #3d7a52;
  --amber: #d4943a;
  --amber-light: #e8b86a;
  --amber-dark: #b37a2a;
  --off-white: #f8f6f0;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-light: #5a5a5a;
  --text-muted: #8a8a8a;
  --border: #e0ddd5;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--text);
  background-color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Vollkorn', serif;
  color: var(--green);
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

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

a:hover {
  color: var(--amber-dark);
}

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

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}

.btn-primary:hover {
  background-color: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-green {
  background-color: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-green:hover {
  background-color: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Header / Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: var(--green);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 0.6rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-family: 'Vollkorn', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.navbar-brand:hover {
  color: var(--amber-light);
}

.navbar-brand span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--amber-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Mobile Nav --- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--green-dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transition: right var(--transition);
    box-shadow: -4px 0 20px var(--shadow);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    width: 100%;
  }
}

/* --- Mobile Overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(30, 61, 41, 0.55) 0%,
    rgba(30, 61, 41, 0.35) 50%,
    rgba(30, 61, 41, 0.65) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 750px;
  padding: 2rem 1.5rem;
  z-index: 1;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 61, 41, 0.6);
  z-index: -1;
}

.page-hero h1 {
  color: var(--white);
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--green);
}

.breadcrumb a:hover {
  color: var(--amber);
}

.breadcrumb span {
  margin: 0 0.5rem;
  color: var(--text-muted);
}

/* --- Section Styling --- */
.section {
  padding: 5rem 0;
}

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

.section-green {
  background-color: var(--green);
  color: var(--white);
}

.section-green h2,
.section-green h3 {
  color: var(--white);
}

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

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--amber);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px var(--shadow-lg);
}

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

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.75rem;
}

.card-body p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* --- Features / Amenities List --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px var(--shadow);
  transition: all var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px var(--shadow-lg);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.feature-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- About / Two-Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col img {
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow);
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 61, 41, 0);
  transition: background var(--transition);
}

.gallery-item:hover::after {
  background: rgba(30, 61, 41, 0.2);
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  transition: color var(--transition);
  z-index: 2001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--amber);
}

.lightbox-close {
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--green);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background-color: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
}

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

/* --- Contact Info Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-list li:last-child {
  border-bottom: none;
}

.contact-label {
  font-weight: 600;
  color: var(--green);
  min-width: 100px;
}

/* --- Map Placeholder --- */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
  margin-top: 2rem;
}

.map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* --- Social Links --- */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--green);
  color: var(--white);
  font-size: 1.2rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background-color: var(--amber);
  transform: translateY(-3px);
}

/* --- Footer --- */
.footer {
  background-color: var(--green-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Rooms / Accommodations --- */
.room-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
  transition: all var(--transition);
}

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

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

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

.room-card-body h3 {
  margin-bottom: 0.75rem;
}

.room-card-body p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.room-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.room-details span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background-color: var(--green);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Testimonials --- */
.testimonial {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 2px 12px var(--shadow);
  text-align: center;
}

.testimonial-stars {
  color: var(--amber);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--green);
  font-size: 0.95rem;
}

/* --- Activities --- */
.activity-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}

.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-lg);
}

.activity-card img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .activity-card {
    flex-direction: column;
    text-align: center;
  }

  .activity-card img {
    width: 100%;
    height: 200px;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
