/* ============================================
   Patel Ranch — Multi-page site styles
   ============================================ */

:root {
  --bg-light: #f4efe1;
  --bg-alt: #e8eed9;
  --card: rgba(255, 253, 248, 0.92);
  --text: #21301f;
  --muted: #40563f;
  --accent: #5b7a3a;
  --accent-hover: #4a6630;
  --stroke: rgba(51, 76, 44, 0.15);
  --shadow-sm: 0 2px 8px rgba(34, 47, 28, 0.08);
  --shadow: 0 8px 32px rgba(34, 47, 28, 0.12);
  --shadow-lg: 0 22px 70px rgba(34, 47, 28, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Avenir Next", Avenir, Futura, "Trebuchet MS", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 180ms ease; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }

/* ----- Container ----- */
.container {
  width: min(1140px, 100% - 48px);
  margin: 0 auto;
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  transition: backdrop-filter 300ms ease, -webkit-backdrop-filter 300ms ease, background 300ms ease;
}
.site-header.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(19, 31, 18, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  position: relative;
  transition: height 300ms ease;
}
.site-header.scrolled .header-inner {
  height: 80px;
}

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.logo-img { height: 170px; width: auto; transition: height 300ms ease; }
.site-header.scrolled .logo-img { height: 60px; }

.nav-left,
.nav-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-left { margin-right: auto; }
.nav-right { margin-left: auto; }

.main-nav {
  display: none;
  gap: 8px;
  align-items: center;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  border-radius: var(--radius-sm);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: background 180ms ease, color 180ms ease, text-shadow 180ms ease;
}
.nav-link:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.nav-link.active { background: rgba(255, 255, 255, 0.22); color: #fff; }
.nav-link.active:hover { background: rgba(255, 255, 255, 0.3); color: #fff; }

/* Scrolled nav: dark text for contrast on light blurred background */
.site-header.scrolled .nav-link {
  color: var(--text);
  text-shadow: none;
}
.site-header.scrolled .nav-link:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}
.site-header.scrolled .nav-link.active {
  background: var(--accent);
  color: #fff;
}
.site-header.scrolled .nav-link.active:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 250ms ease, opacity 250ms ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero (Homepage)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #1a2618;
  padding: 240px 24px 80px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(19, 31, 18, 0.35), rgba(19, 31, 18, 0.55));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  margin-top: 16px;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.hero-tagline {
  margin-top: 8px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
}

.hero .btn { margin-top: 32px; margin-right: 12px; }

/* Page Hero (sub-pages) */
.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("/images/patel-ranch-a21f7235c6.jpg") top/cover no-repeat;
  padding: 240px 24px 60px;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(19, 31, 18, 0.4), rgba(19, 31, 18, 0.6));
}

.page-hero .hero-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.page-hero .hero-subtitle {
  margin-top: 12px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1rem;
}

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

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

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  color: var(--text);
}

.section-lead {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.content-block {
  max-width: 860px;
  margin: 0 auto;
}

.content-block p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
}

.content-block .btn {
  margin-top: 32px;
}

/* ============================================
   Card Grid
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  display: block;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
  color: var(--text);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--text);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   Info Grid (Info / About pages)
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 0;
}

/* ============================================
   Split Layout (image + text side by side)
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.split-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.split-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 12px;
}

.split-text .btn {
  margin-top: 28px;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  background: var(--muted);
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
}

.cta-inner p {
  margin-top: 12px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-inner .btn {
  margin-top: 28px;
}

/* ============================================
   Coming Soon (Shop page)
   ============================================ */
.coming-soon-section {
  padding: 100px 0;
}

.coming-soon-block {
  text-align: center;
}


.coming-soon-text {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1.1rem;
  color: var(--muted);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
}

.contact-detail {
  margin-top: 32px;
}

.contact-detail h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-detail p {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-detail a {
  font-weight: 600;
}

.contact-map iframe {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #1a2618;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 180ms ease;
}
.footer-col a:hover {
  color: #fff;
}

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

/* ============================================
   Slideshow
   ============================================ */
.slideshow {
  position: relative;
}

.slideshow-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slideshow-img.active {
  position: relative;
  opacity: 1;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1140px, 100% - 32px);
  }

  .header-inner {
    height: 72px;
    justify-content: center;
  }
  .site-header.scrolled .header-inner {
    height: 56px;
  }

  .logo {
    position: static;
    transform: none;
  }
  .logo-img { height: 52px; }
  .site-header.scrolled .logo-img { height: 40px; }

  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-toggle {
    display: flex;
    position: absolute;
    right: 0;
  }
  .nav-toggle span {
    background: #fff;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(244, 239, 225, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--stroke);
    padding: 16px 24px;
    gap: 4px;
  }
  .main-nav.open {
    display: flex;
  }

  .main-nav .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
    color: var(--text);
    text-shadow: none;
    text-align: center;
  }
  .main-nav .nav-link:hover {
    background: rgba(64, 86, 63, 0.08);
    color: var(--text);
  }
  .main-nav .nav-link.active {
    background: var(--accent);
    color: #fff;
    text-shadow: none;
  }

  .hero {
    min-height: 85vh;
    padding: 100px 20px 60px;
  }

  .page-hero {
    min-height: 300px;
    padding: 100px 20px 48px;
  }

  .section {
    padding: 56px 0;
  }

  .hero .btn {
    display: block;
    margin-right: 0;
    margin-bottom: 12px;
  }

  .card-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }


  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-list {
  margin-top: 32px;
}

.faq-item {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--card);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   Blog
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.blog-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
  color: var(--text);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--text);
}

.blog-date {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--text);
}

.blog-card-excerpt {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.blog-read-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
}

/* Blog Post */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
}

.blog-post .blog-date {
  margin-bottom: 4px;
}

.blog-back {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.blog-back:hover {
  color: var(--accent-hover);
}

.blog-post h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text);
}

.blog-post h3 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--text);
}

.blog-post p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .blog-card {
    padding: 28px 20px;
  }

  .blog-card-title {
    font-size: 1.15rem;
  }
}
