@charset "UTF-8";

/* ==========================================================================
   Greenness Nursery - Modern Professional Horticulture Stylesheet
   Designed for Hostinger Linux Shared Hosting (Optimized, Self-Contained)
   ========================================================================== */

:root {
  --primary-950: #0d2310;
  --primary-900: #143517;
  --primary-850: #1b431e;
  --primary-800: #225126;
  --primary-700: #2c6631;
  --primary-600: #387f3e;
  --primary-500: #469a4d;
  --primary-200: #c6e6c9;
  --primary-100: #e2f2e4;
  --primary-50:  #f3f9f4;

  --accent-gold-dark:  #946522;
  --accent-gold:       #c28b38;
  --accent-gold-light: #dfb068;
  --accent-gold-soft:  #fbf5ea;

  --surface-body: #f8faf8;
  --surface-card: #ffffff;
  --surface-muted: #f0f4f1;
  --surface-dark: #122415;

  --text-primary:   #19261a;
  --text-secondary: #485a4a;
  --text-muted:     #6f8272;
  --text-inverse:   #ffffff;

  --border-light: rgba(43, 83, 41, 0.12);
  --border-gold:  rgba(194, 139, 56, 0.35);

  --shadow-sm: 0 2px 4px rgba(20, 53, 23, 0.05);
  --shadow-md: 0 6px 18px rgba(20, 53, 23, 0.08);
  --shadow-lg: 0 16px 36px rgba(20, 53, 23, 0.12);
  --shadow-xl: 0 24px 50px rgba(13, 35, 16, 0.18);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-primary);
  background-color: var(--surface-body);
  line-height: 1.65;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
}

.font-sans {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Top Notification / Info Bar */
.top-bar {
  background: var(--primary-950);
  color: #d1dfd2;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 60;
}
.top-bar a:hover {
  color: var(--accent-gold-light);
}

/* Header & Sticky Nav */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 67, 30, 0.1);
  transition: all var(--transition-normal);
}
.header-nav.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0.2rem;
  transition: color var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-700);
  transition: width var(--transition-normal);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-800);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-850), var(--primary-700));
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(27, 67, 30, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 67, 30, 0.45);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(194, 139, 56, 0.35);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 139, 56, 0.45);
  color: #fff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-850);
  border-color: rgba(27, 67, 30, 0.2);
}
.btn-secondary:hover {
  background: var(--primary-50);
  border-color: var(--primary-700);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-900);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* Badges */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-gold-soft);
  color: var(--accent-gold-dark);
  border: 1px solid var(--border-gold);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-green {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--primary-100);
  color: var(--primary-850);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  background-color: var(--surface-dark);
  color: #ffffff;
  overflow: hidden;
  padding: 5rem 0 6rem 0;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: contrast(1.15) brightness(0.85);
  transform: scale(1.05);
  transition: transform 10s ease;
}
.hero-wrapper:hover .hero-bg-image {
  transform: scale(1.1);
}
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 35, 16, 0.95) 0%, rgba(20, 53, 23, 0.85) 55%, rgba(13, 35, 16, 0.92) 100%);
}

.hero-stats-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Section Common */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}
.section-title {
  font-size: 2.35rem;
  color: var(--primary-900);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Feature Cards */
.card-feature {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(44, 102, 49, 0.25);
}

/* Service Box */
.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-50);
  border: 1px solid var(--border-light);
  color: var(--primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}
.card-feature:hover .service-icon-box {
  background: var(--primary-800);
  color: #ffffff;
  transform: scale(1.08);
}

/* Projects & Gallery */
.gallery-tab-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.gallery-tab-btn.active, .gallery-tab-btn:hover {
  background: var(--primary-850);
  color: #ffffff;
  border-color: var(--primary-850);
  box-shadow: 0 4px 12px rgba(27, 67, 30, 0.2);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 35, 16, 0.95) 0%, rgba(13, 35, 16, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #ffffff;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Clients Grid */
.client-logo-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.client-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-600);
  box-shadow: var(--shadow-md);
}
.client-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

/* Certificates & Achievements */
.cert-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}
.cert-thumbnail {
  position: relative;
  height: 320px;
  background: #f1f4f1;
  overflow: hidden;
}
.cert-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}
.cert-card:hover .cert-thumbnail img {
  transform: scale(1.04);
}
.cert-zoom-btn {
  position: absolute;
  inset: 0;
  background: rgba(19, 48, 22, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: #ffffff;
  font-weight: 600;
  gap: 0.5rem;
}
.cert-card:hover .cert-zoom-btn {
  opacity: 1;
}

/* Lightbox Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 26, 15, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal-overlay.active {
  display: flex;
  opacity: 1;
}
.modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}
.modal-close-btn:hover {
  background: #ffffff;
  transform: rotate(90deg);
  color: #d90429;
}
.modal-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  max-height: 70vh;
  overflow: hidden;
}
.modal-img-container img {
  max-height: 70vh;
  width: auto;
  object-fit: contain;
}

/* Forms */
.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(27, 67, 30, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-700);
  box-shadow: 0 0 0 3px rgba(44, 102, 49, 0.15);
}

/* Floating Actions */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-bounce);
}
.floating-whatsapp:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.floating-call {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary-800);
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(27, 67, 30, 0.35);
  transition: all var(--transition-bounce);
}
.floating-call:hover {
  transform: scale(1.08) translateY(-2px);
  color: #ffffff;
}

/* Footer */
.footer-main {
  background: var(--surface-dark);
  color: #c9d8cb;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 4px solid var(--accent-gold);
}
.footer-heading {
  font-family: 'Playfair Display', Georgia, serif;
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--accent-gold);
}
.footer-link {
  color: #a7baa9;
  display: inline-block;
  margin-bottom: 0.65rem;
  transition: all var(--transition-fast);
}
.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
  .hero-wrapper {
    padding: 3.5rem 0 4rem 0;
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 0.85rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
}
