/*
Theme Name: Guru Organic Farm
Theme URI: http://guruorganic.in
Author: Guru Organic Farm
Author URI: http://guruorganic.in
Description: A fresh green WordPress theme for Guru Organic Farm farmhouse stay.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guruorganic-farm
Tags: custom-background, custom-logo, featured-images, flexible-header, responsive-layout
*/

:root {
  --bg: #f2fbf2;
  --surface: #ffffff;
  --surface-strong: #edf7ed;
  --text: #26472a;
  --muted: #526a51;
  --accent: #4a9c4a;
  --accent-dark: #2a6f2b;
  --border: #d2e4d2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(74, 156, 74, 0.18) 0%, transparent 35%),
              linear-gradient(180deg, #f4fff4 0%, #e8f8e8 100%);
  line-height: 1.6;
}

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

a:hover {
  color: #1f5b21;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
}

.site-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-branding {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}

.site-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  letter-spacing: -0.04em;
}

.site-description {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 36rem;
}

.main-navigation {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-navigation a {
  font-weight: 600;
}

.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.hero-copy p {
  margin: 0 0 24px;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: transparent;
}

.hero-image {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(42, 111, 43, 0.12);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section {
  padding: 64px 0;
}

.section-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin: 0 0 14px;
}

.section-subtitle {
  margin: 0 0 34px;
  color: var(--muted);
  max-width: 40rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 32px rgba(67, 109, 67, 0.08);
}

.card h3 {
  margin: 0 0 12px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 32px;
}

.contact-card h3 {
  margin-top: 0;
}

.footer {
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

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

@media (max-width: 620px) {
  .site-branding {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-description {
    max-width: 100%;
  }
}
