/* Color and typography definitions */
:root {
  --primary-color: #60863c;
  --secondary-color: #8aa151;
  --text-color: #333;
  --background-color: #f5f3e8;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: var(--primary-color);
  color: #fff;
  padding: 1rem 0;
}

.site-header .logo {
  font-weight: 600;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* Hero */
/* Hero section
   Updated to use a local image that shows the glamping cabin and coastal view.
   This ensures the hero loads quickly from your own server and reflects your actual accommodation. */
.hero {
  position: relative;
  background-image: url('glamping_cabin_view.jpg');
  background-size: cover;
  background-position: center;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
}

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

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

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

.btn-secondary:hover {
  background: var(--secondary-color);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary-color);
}

/* About section paragraphs */
.about p {
  margin-bottom: 1.25rem;
}

/* Card layout for accommodations */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 calc(33.333% - 2rem);
  display: flex;
  flex-direction: column;
}

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

.card-content {
  padding: 1rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-top: 0;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.card-content p {
  flex: 1;
  margin-bottom: 1rem;
}

.card-content ul {
  list-style: disc;
  margin: 0;
  margin-left: 1.25rem;
  padding-left: 0;
}

.card-content ul li {
  margin-bottom: 0.25rem;
}

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

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Experiences */
.experience-list {
  list-style: none;
  padding-left: 0;
  max-width: 800px;
  margin: 0 auto;
}

.experience-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
}

.experience-list li::before {
  content: '\2022';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
.site-footer {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

/* Responsive rules */
@media (max-width: 900px) {
  .cards {
    flex-direction: column;
  }
  .card {
    flex: 1 1 100%;
  }
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  .hero {
    height: 60vh;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}