/* ========================================
   Conkwell Distribution Co
   ======================================== */

:root {
  --green-dark: #2B3B2E;
  --green-mid: #3D5440;
  --green-light: #4A6B52;
  --cream: #F5F4F0;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #5C6B5F;
  --border: #D8D6D0;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* ========================================
   Navigation
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 70px !important;
  width: auto;
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-dark);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  background: var(--green-dark);
  color: var(--white);
}

.btn:hover {
  background: var(--green-mid);
}

.btn-light {
  background: var(--white);
  color: var(--green-dark);
}

.btn-light:hover {
  background: var(--cream);
}

/* ========================================
   Hero
   ======================================== */

.hero {
  padding: 12rem 2rem 8rem;
  background-color: var(--green-dark);
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.62);
}

.hero-inner {
  max-width: 780px;
  margin: 0 0 0 20%;
  padding-left: 2rem;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.8;
}



/* ========================================
   Services
   ======================================== */

.services {
  padding: 6rem 2rem;
  background: var(--cream);
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.service {
  padding: 2.5rem 0;
  border-top: 2px solid var(--green-dark);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ========================================
   CTA
   ======================================== */

.cta {
  padding: 8rem 2rem;
  background-color: var(--green-dark);
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(43, 59, 46, 0.82);
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.cta-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-hero {
  padding: 10rem 2rem 4rem;
  background: var(--white);
}

.contact-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.contact-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.contact-form-section {
  padding: 2rem 2rem 8rem;
}

.contact-form-inner {
  max-width: 780px;
  margin: 0 auto;
}

.contact-form {
  margin-bottom: 4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-dark);
}

.form-group textarea {
  resize: vertical;
  line-height: 1.7;
}

.contact-details {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-detail h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.contact-detail a {
  font-size: 1rem;
  color: var(--green-dark);
}

.contact-detail a:hover {
  text-decoration: underline;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1.5rem;
  opacity: 0.4;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
  .nav-inner {
    height: 70px;
    padding: 0 1.25rem;
  }

  .nav-logo img {
    height: 50px;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 0.7rem;
  }

  .hero {
    padding: 9rem 1.25rem 5rem;
  }

  .hero-heading br {
    display: none;
  }

  .services-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service {
    padding: 2rem 0;
  }

  .cta {
    padding: 5rem 1.25rem;
  }

  .contact-hero {
    padding: 8rem 1.25rem 3rem;
  }

  .contact-form-section {
    padding: 2rem 1.25rem 5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.hero-eyebrow {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.2s;
}

.hero-heading {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.4s;
}

.hero-sub {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.6s;
}

.hero .btn {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.8s;
}

.nav {
  animation: fadeIn 0.6s ease both;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.service:nth-child(1) { transition-delay: 0s; }
.service:nth-child(2) { transition-delay: 0.15s; }
.service:nth-child(3) { transition-delay: 0.3s; }

/* Button hover lift */
.btn {
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Nav link underline */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green-dark);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ========================================
   Focus states
   ======================================== */

*:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}

/* ========================================
   Reduced motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
