/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  line-height: 1.6;
  background-color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-lg {
  height: 54px;
  width: auto;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.tagline {
  font-size: 0.95rem;
  color: #64748b;
  margin-top: 4px;
}

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

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

.main-nav a:hover {
  color: #2563eb;
}

.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  background: #1e3a8a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 4px;
}

.btn.primary {
  background: #2563eb;
  color: #ffffff;
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #0f172a;
  border-radius: 2px;
}

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 300px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -6px 0 16px rgba(0, 0, 0, 0.1);
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.25s ease-in-out;
  z-index: 999;
}

.mobile-nav a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
}

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

body.menu-open {
  overflow-y: hidden;
}

/* Hero section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 440px;
  overflow: hidden;
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-text {
  position: absolute;
  bottom: 20%;
  left: 6%;
  max-width: 90%;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Service layout */
.service {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
}

.service img {
  width: 340px;
  max-width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.bullets {
  list-style-type: disc;
  padding-left: 40px;
}

/* Cards for farmhouse */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.card {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

/* Form */
.post-form {
  max-width: 960px;
  margin-top: 20px;
}

.post-form .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.post-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  margin-bottom: 12px;
}

.post-form input,
.post-form select,
.post-form textarea {
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.95rem;
}

.post-form textarea {
  resize: vertical;
}

.post-form .chk {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.post-form .hidden {
  display: none;
}

.note {
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 40px 0;
}

.footer a {
  color: #93c5fd;
  text-decoration: none;
}

.footer .social a {
  font-size: 1.3rem;
  margin-left: 0.6rem;
  color: #cbd5e1;
}

.footer .social a:hover {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .service {
    flex-direction: column;
  }
  .service img {
    width: 100%;
    height: 220px;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
}