/* ============================================
   CLINTON NURSERY — Custom Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* --- Navigation --- */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 254, 248, 0.0);
  backdrop-filter: blur(0px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.nav-fixed.scrolled {
  background: rgba(255, 254, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(6, 95, 70, 0.1);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: #065f46;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.8; }

.nav-logo-text { font-size: 1.2rem; }

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

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #065f46;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
  background: rgba(6, 95, 70, 0.08);
}

.nav-link--cta {
  background: #065f46;
  color: #fff !important;
  margin-left: 0.5rem;
}

.nav-link--cta:hover {
  background: #047857;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #065f46;
  padding: 0.5rem;
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #fffef8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #065f46;
  padding: 0.5rem;
}

.mobile-menu-link {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  color: #065f46;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-menu-link:hover {
  background: rgba(6, 95, 70, 0.08);
}

.mobile-menu-link--cta {
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #065f46;
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 12px;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #065f46 0%, #047857 30%, #10b981 60%, #34d399 80%, #6ee7b7 100%);
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}

.hero-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
}

.hero-shape--circle1 {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: #fff;
  top: -200px;
  right: -150px;
}

.hero-shape--circle2 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #064e3b;
  bottom: -80px;
  left: -60px;
}

.hero-shape--rect1 {
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 32px;
  top: 15%;
  left: 5%;
  transform: rotate(15deg);
  opacity: 0.08;
}

.hero-shape--rect2 {
  width: 120px;
  height: 320px;
  background: #fff;
  border-radius: 24px;
  bottom: 10%;
  right: 8%;
  transform: rotate(-10deg);
  opacity: 0.06;
}

.hero-shape--triangle {
  width: 0;
  height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 200px solid #fff;
  top: 20%;
  right: 15%;
  opacity: 0.07;
  transform: rotate(20deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-badge svg { opacity: 0.9; }

.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.75rem, 7vw, 5rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: #fff;
  color: #065f46;
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--primary:hover {
  background: #fefce8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

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

.btn--full {
  width: 100%;
  justify-content: center;
}

/* --- Sections --- */
.section {
  padding: 6rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-tag--light {
  color: #a7f3d0;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  color: #065f46;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title--light {
  color: #fff;
}

.section-desc {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.7;
  max-width: 560px;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* --- About --- */
.section--about {
  background: #fffef8;
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(6, 95, 70, 0.15);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(6, 95, 70, 0.2);
  border: 4px solid #fffef8;
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  opacity: 0.6;
}

.about-content { max-width: 520px; }

.about-body {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature strong {
  display: block;
  color: #065f46;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.about-feature p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
}

/* --- Inventory --- */
.section--inventory {
  background: #ecfdf5;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.inventory-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(6, 95, 70, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.inventory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(6, 95, 70, 0.15);
}

.inventory-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5/4;
}

.inventory-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.inventory-card:hover .inventory-card-img img {
  transform: scale(1.05);
}

.inventory-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #065f46;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
}

.inventory-card-body {
  padding: 1.75rem;
}

.inventory-card-body h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #065f46;
  margin-bottom: 0.5rem;
}

.inventory-card-body > p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.inventory-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inventory-list li {
  font-size: 0.9rem;
  color: #4a5568;
  padding-left: 1.25rem;
  position: relative;
}

.inventory-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

/* --- Services --- */
.section--services {
  background: #fffef8;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.services-header-desc {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(6, 95, 70, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(6, 95, 70, 0.12);
}

.service-card-shape {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(16, 185, 129, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #065f46, #10b981);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  color: #065f46;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
}

/* --- Gallery --- */
.section--gallery {
  background: #ecfdf5;
  padding-bottom: 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item--large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* --- Visit --- */
.section--visit {
  background: linear-gradient(135deg, #065f46 0%, #047857 50%, #065f46 100%);
  padding: 5rem 1.5rem;
}

.visit-card {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.visit-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.visit-decor-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.visit-decor-circle--1 {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
}

.visit-decor-circle--2 {
  width: 250px;
  height: 250px;
  bottom: -100px;
  left: -50px;
}

.visit-decor-dots {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: grid;
  grid-template-columns: repeat(5, 8px);
  gap: 8px;
  opacity: 0.2;
}

.visit-decor-dots::before {
  content: '';
  grid-column: span 5;
  grid-row: span 5;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.5px);
  background-size: 8px 8px;
}

.visit-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.visit-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.visit-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.visit-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.visit-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a7f3d0;
}

.visit-info-item strong {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.visit-info-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.visit-map {
  min-height: 400px;
  background: rgba(0, 0, 0, 0.2);
}

/* --- Contact --- */
.section--contact {
  background: #fffef8;
}

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

.contact-text { max-width: 480px; }

.contact-desc {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-direct-icon {
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-dark {
  color: #065f46;
  font-weight: 500;
  transition: color 0.2s;
}

.link-dark:hover { color: #10b981; }

/* --- Form --- */
.contact-form-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(6, 95, 70, 0.1);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #065f46;
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1a202c;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
  background: #fff;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94a3b8;
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  color: #065f46;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-success.show {
  display: flex;
}

/* --- Footer --- */
.footer {
  background: #042f21;
  color: #fff;
  padding: 4rem 1.5rem 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
  line-height: 1.6;
}

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

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: #34d399; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-location {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .visit-map {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 7rem 1.25rem 4rem; }

  .hero-shape--circle1 { width: 350px; height: 350px; }
  .hero-shape--circle2 { width: 180px; height: 180px; }
  .hero-shape--rect1 { width: 120px; height: 120px; }
  .hero-shape--rect2 { display: none; }
  .hero-shape--triangle { display: none; }

  .section { padding: 4rem 1.25rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-secondary {
    right: 0;
    bottom: -1.5rem;
  }

  .inventory-grid {
    grid-template-columns: 1fr;
  }

  .services-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item--large {
    grid-column: span 2;
  }

  .gallery-item--tall {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .inventory-card-body {
    padding: 1.25rem;
  }

  .visit-content {
    padding: 2rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--large {
    grid-column: span 1;
  }

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