/* CSS Variables */
:root {
  /* Colors */
  --color-primary: hsl(222, 47%, 28%);
  --color-primary-hover: hsl(222, 47%, 22%);
  --color-accent: hsl(42, 88%, 58%);
  --color-accent-hover: hsl(42, 88%, 48%);
  
  --color-background: hsl(0, 0%, 100%);
  --color-foreground: hsl(222, 47%, 11%);
  --color-muted: hsl(222, 10%, 95%);
  --color-muted-foreground: hsl(222, 10%, 45%);
  --color-border: hsl(222, 10%, 85%);
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Spacing */
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Border Radius */
  --radius: 0.375rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition: all 0.2s ease-in-out;
}

/* Dark mode variables */
@media (prefers-color-scheme: dark) {
  :root {
	--color-background: hsl(222, 47%, 11%);
	--color-foreground: hsl(0, 0%, 98%);
	--color-muted: hsl(222, 47%, 15%);
	--color-muted-foreground: hsl(222, 10%, 65%);
	--color-border: hsl(222, 47%, 25%);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Utility Classes */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Grid */
.grid-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.grid-three-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.gap-xl { gap: var(--space-xl); }
.items-center { align-items: center; }

@media (min-width: 768px) {
  .grid-two-col {
	grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-three-col {
	grid-template-columns: repeat(3, 1fr);
  }
}

/* Navigation */
.nav {
  /*position: fixed;*/
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
}

.logo {
  /*font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-foreground);
  transition: var(--transition);*/
  cursor: pointer;
}

/*.logo:hover {
  color: var(--color-primary);
}
*/
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-foreground);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.selected {
  background-color: var(--color-muted);
}

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
	display: flex;
  }
  .mobile-menu-toggle {
	display: none;
  }
}

.mobile-menu-toggle {
  padding: 0.5rem;
  color: var(--color-foreground);
}

.mobile-menu {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-background);
}

.mobile-menu-content {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
}

/* Pages */
.page {
  display: none;
  padding-top: 5rem;
}

.page.active {
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;         /* <-- makes the hero scrollable on the page */
  min-height: 600px;
  overflow: hidden;
}

.hero.megaphone {
  height: 100vh;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 0%;  /* focal point */
  background-attachment: scroll;     /* <-- key for scroll reveal */
}
.hero-image.gocart {
  background-position: center 50%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.5), rgba(0,0,0,0.7));*/
  z-index: 1;
}

.hero-content {
  position: relative;  /* <-- content stays in view while image reveals */
  top: 0;
  z-index: 2;
  height: 80vh;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
}

.hero-title.homepage {
  font-size: 5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.text-content h4 {
  font-weight: 400;
  color: #000;
}

@media (max-width: 768px) {
  .hero-title {
	font-size: 3.75rem;
  }
  .hero-subtitle {
	font-size: 1.5rem;
  }

	.hero-title.homepage {
	  font-size: 4rem;
	}
}

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

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

.section-title {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--color-foreground);
}

.section-subtitle {
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--color-foreground);
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.text-content {
  font-size: 1rem;
  color: #000;
  line-height: 1.75;
}

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

.text-lg {
  font-size: 1rem;
  color: #000;
}

.text-xl {
  font-size: 1.5rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .section {
	padding: 4rem 0;
  }
  .section-title {
	font-size: 3rem;
  }
}

/* Feature Cards */
.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  background-color: var(--color-background);
  transition: var(--transition);
}

.section-alt .feature-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon.icon-gold {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-foreground);
}

.feature-description {
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

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

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

.btn-outline-light {
  background-color: rgba(255,255,255,0.2);
  color: white;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background-color: rgba(255,255,255,0.3);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .contact-wrapper {
	grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1rem;
  color: var(--color-foreground);
}

.contact-value:hover {
  color: var(--color-primary);
}

/* Forms */
.contact-form-wrapper {
  background-color: var(--color-background);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
}

.form-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-foreground);
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(34, 50, 84, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: white;
  padding: 4rem 0 2rem;
}

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

@media (min-width: 768px) {
  .footer-content {
	grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-text {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  color: rgba(255,255,255,0.6);
}

.footer-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-icon {
  margin-right: 8px;
  color: #fff; /* adjust to footer text color */
  display: flex;
  align-items: center;
}

.footer-link, .footer-text {
  color: #fff;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Responsive Typography */
@media (min-width: 768px) {
  h1 { font-size: 3.75rem; }
  h2 { font-size: 3rem; }
  h3 { font-size: 2.25rem; }
}

/* Loading State */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Success Message */
.success-message {
  padding: 1rem;
  background-color: #10b981;
  color: white;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-align: left;
}
/* Error Message */
.error-message {
  padding: 1rem;
  background-color: #cb8585;
  color: white;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-align: left;
}

/* Smooth transitions */
.page {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
	opacity: 0;
  }
  to {
	opacity: 1;
  }
}

/* Just to show content before/after */
.spacer {
  height: 0vh;
  display: grid;
  place-items: center;
  background: #fff;
  color: #fff;
  font-size: 2rem;
}

/* The scroll-reveal section */
.reveal-section-grass {
  height: 150vh;                 /* <-- makes it scrollable */
  background-image: url("/assets/images/man-in-grass.jpg");
  background-size: cover;        /* fill width/height */
  background-repeat: no-repeat;
  background-position: center;   /* start centered */
  background-attachment: fixed;  /* <-- key: image stays fixed */
}

/* Optional: add a subtle overlay for contrast */
.reveal-section-grass::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
	to bottom,
	rgba(0,0,0,0.2),
	rgba(0,0,0,0.0) 40%,
	rgba(0,0,0,0.2)
  );
  mix-blend-mode: multiply;
  opacity: 0.6;
}


.section.crop {
  padding: 0;
  height: 600px;       /* <-- set how tall you want the visible slice */
  overflow: hidden;    /* <-- hides the rest */
  position: relative;
}

.section.crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* <-- fills the window, cropping as needed */
  object-position: center;  /* <-- choose the focal point */
  display: block;
}

.section.contact {
  padding-top: 8rem;
}

/* mobile override */
@media (max-width: 768px) {
  .section.crop {
	height: 175px;     /* smaller on mobile */
  }

  .mb-xl 
  {
	margin-bottom: 2rem;
  }

  .section {
	  padding: 3rem 0;
  }

  .section.contact {
	padding-top: 4rem;
  }
}

/* === Megaphone Hero (scoped) === */
.megaphone-hero{
  display: grid;
  grid-template-columns: 1fr 1fr; /* image | text */
  min-height: 80vh;
  background: #f3dfc5;           /* your beige backdrop */
}

/* Left column (image) */
.megaphone-hero__media {
  position: relative;
  overflow: hidden;
}

.megaphone-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*object-position: center;*/ /* tweak focal point if needed */
  object-position: 35% center;
  display: block;
}

/* Right column (text) */
.megaphone-hero__body {
  display: grid;
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.megaphone-hero__text {
  position: relative;           /* anchor for the pseudo-element */
  padding-left: 3rem;           /* make room for the big quote */
  max-width: 520px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: #111;
}
.megaphone-hero__text p.signature {
	font-size: 12px;
}
/* big double quote */
.megaphone-hero__text::before {
  content: "“";                 /* or "''" if you prefer */
  position: absolute;
  left: 0;
  top: -0.5rem;                 /* lift it slightly above first line */
  font-size: 5rem;              /* size of quote */
  font-weight: 800;
  line-height: 1;
  color: #000;                  /* match your design */
  opacity: 1;                   /* lower if you want softer */
}

/* Mobile: stack (text first, image second) */
@media (max-width: 768px){
  .megaphone-hero{
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .megaphone-hero__body{ order: 1; }
  .megaphone-hero__media{
    order: 2;
    height: 45vh;
    min-height: 280px;
  }
}

b {
  font-weight: 600;
}