:root {
  --bg-color: #0d0d0d;
  --bg-secondary: #141414;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --accent-gold: #c5a059;
  --accent-green: #3d5a3d;
  --accent-green-light: #5c8a5c;
  --white: #ffffff;
  --black: #000000;
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.3s ease;
  --font-heading: "Cinzel", serif;
  --font-body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* Custom cursor */
}

/* Custom Cursor */
.cursor-follower {
  position: fixed;
  width: 20px;
  height: 20px;
  background-color: rgba(197, 160, 89, 0.3);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
  mix-blend-mode: difference;
}

body:hover .cursor-follower {
  opacity: 1;
}

a:hover ~ .cursor-follower,
button:hover ~ .cursor-follower {
  width: 50px;
  height: 50px;
  background-color: rgba(197, 160, 89, 0.1);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

ul {
  list-style: none;
}

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

.text-highlight {
  color: var(--accent-gold);
  font-style: italic;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--black);
}

.btn-primary:hover {
  background-color: #d4b675;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  margin-left: 1rem;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  background-color: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-sm:hover {
  background-color: var(--accent-gold);
  color: var(--black);
}

/* Header */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

#main-header.scrolled {
  background-color: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold) !important;
  border-radius: 2px;
}

.btn-nav:hover {
  background-color: var(--accent-gold);
  color: var(--black) !important;
}

.btn-nav::after {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
  transition: 0.3s;
}

/* Hero Section */
#hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1605000797499-95a51c5269ae?q=80&w=2071&auto=format&fit=crop"); /* Placeholder farming image */
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.1);
  animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(13, 13, 13, 1)
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding-top: 4rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-indicator .line {
  width: 1px;
  height: 60px;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.scroll-indicator .line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--accent-gold);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards var(--transition-slow);
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-text,
.reveal-image {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s var(--transition-slow);
}

.reveal-text.active,
.reveal-image.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mission Section */
#mission {
  padding: 8rem 0;
  background-color: var(--bg-color);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-text .lead {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent-gold);
  padding-left: 1.5rem;
}

.mission-visual {
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 500px;
  background-color: #1a1a1a;
  background-image: url("../imgs/field-of-dreams.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  position: relative;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-gold);
  z-index: -1;
}

/* Shop Section */
#shop {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.products-scroller-wrapper {
  position: relative;
}

.products-scroller {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  scroll-behavior: smooth;
}

.products-scroller::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(13, 13, 13, 0.85);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  opacity: 0.8;
}

.scroll-arrow:hover {
  opacity: 1;
  background-color: rgba(197, 160, 89, 0.15);
  border-color: var(--accent-gold);
  transform: translateY(-50%) scale(1.1);
}

.scroll-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.scroll-arrow i {
  font-size: 1.2rem;
}

.scroll-arrow-left {
  left: -25px;
}

.scroll-arrow-right {
  right: -25px;
}

.scroll-arrow.hidden {
  display: none;
}

.product-card {
  min-width: 300px;
  background-color: #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-gold);
}

.product-image {
  height: 250px;
  overflow: hidden;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.product-card:hover .img-placeholder {
  transform: scale(1.1);
}

/* Specific product images */
.product-card:nth-child(1) .img-placeholder {
  background-image: url("../imgs/sbf-individual-gift.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-card:nth-child(2) .img-placeholder {
  background-image: url("../imgs/sbf-couples-gift.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-card:nth-child(3) .img-placeholder {
  background-image: url("../imgs/sbf-family-gift.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-card:nth-child(4) .img-placeholder {
  background-image: url("../imgs/sbf-corporate-gift.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-info {
  padding: 1.5rem;
  text-align: center;
}

.product-info h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.product-info .price {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Donate Section */
#donate {
  padding: 8rem 0;
  background-image: linear-gradient(
      rgba(13, 13, 13, 0.9),
      rgba(13, 13, 13, 0.9)
    ),
    url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?q=80&w=2070&auto=format&fit=crop");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.donate-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.zeffy-embed-container {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  color: var(--black);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.zeffy-placeholder {
  padding: 3rem 1rem;
}

.zeffy-placeholder i {
  font-size: 3rem;
  color: #e74c3c;
  margin-bottom: 1rem;
}

.zeffy-placeholder h3 {
  color: var(--black);
  margin-bottom: 0.5rem;
}

.zeffy-placeholder p {
  color: #666;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: #000;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-brand h4 {
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--black);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }

  .mission-grid,
  .donate-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-visual {
    order: -1;
  }

  .products-scroller {
    padding-bottom: 1rem;
  }

  .scroll-arrow {
    width: 40px;
    height: 40px;
  }

  .scroll-arrow i {
    font-size: 1rem;
  }

  .scroll-arrow-left {
    left: 10px;
  }

  .scroll-arrow-right {
    right: 10px;
  }
}

/* Subscribe Section */
#subscribe {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.subscribe-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.subscribe-text {
  flex: 1;
  min-width: 300px;
}

.subscribe-text h2 {
  margin-bottom: 0.5rem;
}

.subscribe-text p {
  margin-bottom: 0;
}

.subscribe-form {
  flex: 1;
  min-width: 300px;
}

.form-group {
  display: flex;
  gap: 1rem;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 1rem 1.5rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-gold);
  background-color: rgba(255, 255, 255, 0.02);
}

.form-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--accent-gold);
  min-height: 1.5em;
}

@media (max-width: 768px) {
  .subscribe-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .form-group {
    flex-direction: column;
  }

  .subscribe-form input[type="email"] {
    width: 100%;
  }

  .subscribe-form button {
    width: 100%;
  }
}
