/*
Theme Name: OGC Garden Theme
Theme URI: https://okanagangardencenter.example
Author: Tom Bennie
Author URI: https://okanagangardencenter.example
Description: Clean product catalog theme inspired by Biofloral’s style.
Version: 1.0
Text Domain: ogc-garden
*/

:root {
  --ogc-green: #2f6b3c;
  --ogc-green-dark: #244f2d;
  --ogc-accent: #f6b133;
  --ogc-light-gray: #f5f5f5;
  --ogc-border: #e0e0e0;
  --ogc-text: #333333;
  --ogc-max-width: 1200px;
  --ogc-radius: 8px;
  --ogc-shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.05);
  --ogc-logo-blue:#0a132dff;
  --ogc-logo-green:#00a650ff;
  --ogc-logo-gold:#fbbc09ff;
  --ogc-logo-gradient:linear-gradient(to bottom,#fff53bff,#00adefff);
  --ogc-hover-dim:#66666648;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  color: var(--ogc-text);
  background-color: #ffffff;
}

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

a:hover {
  text-decoration: underline;
}

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

/* Layout */

.container {
  width: 100%;
  max-width: var(--ogc-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */

.site-header {
  border-bottom: 3px solid var(--ogc-logo-green);
  background-color: #8c8c8c;
  background-image:linear-gradient(to bottom, #8c8c8c,#ffffff);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color:rgb(9,18,45)  ;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ogc-green);
  border: 2px solid rgba(47, 107, 60, 0.1);
}

.site-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.site-tagline {
  font-size: 0.85rem;
  color: #777777;
  margin: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #333333;
}

.primary-nav a:hover {
  color: var(--ogc-green);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background-color: #333333;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 800px) {
  .primary-nav ul {
    display: none;
    position: absolute;
    top: 60px;
    right: 1.5rem;
    left: 1.5rem;
    flex-direction: column;
    background: #ffffff;
    border-radius: var(--ogc-radius);
    box-shadow: var(--ogc-shadow-soft);
    padding: 0.75rem 0;
  }

  .primary-nav ul.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: 4rem 0 3rem;
  background: linear-gradient(
      120deg,
      rgba(47, 107, 60, 0.08),
      rgba(47, 107, 60, 0)
    ),
    #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  color:var(--ogc-logo-gold);
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: #555555;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--ogc-green);
  color: #ffffff;
  box-shadow: var(--ogc-shadow-soft);
}

.btn-primary:hover {
  background-color: var(--ogc-green-dark);
  text-decoration: none;
}

.btn-outline {
  background-color: var(--ogc-logo-blue);
  color: var(--ogc-green);
  border-color: rgba(47, 107, 60, 0.25);
}

.btn-outline:hover {
  background-color: #f7faf8;
  text-decoration: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #666666;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color:var(--ogc-green-dark);
}

.hero-visual {
  background: radial-gradient(circle at top left, #cba03b, #e5f3ea);
  border-radius: 24px;
  box-shadow: var(--ogc-shadow-soft);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-plant {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background-image: url('https://images.pexels.com/photos/450326/pexels-photo-450326.jpeg?auto=compress&cs=tinysrgb&w=800');
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-title {
  font-size: 1.5rem;
  margin: 0;
}

.section-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #666666;
}

/* Category cards */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.category-card {
  background-color: var(--ogc-light-gray);
  border-radius: var(--ogc-radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
  box-shadow: var(--ogc-shadow-soft);
  text-decoration: none;
}

.category-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ogc-green);
  font-weight: 600;
}

.category-name {
  font-weight: 600;
}

.category-desc {
  font-size: 0.85rem;
  color: #666666;
}

/* Product grid */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  border-color:rgba(0, 0, 0, 0.404);
  border-radius: var(--ogc-radius);
  border: 1px solid var(--ogc-border);
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 107, 60, 0.35);
  box-shadow: var(--ogc-shadow-soft);
  text-decoration: none;
  background-color: var(--ogc-hover-dim);
}

.product-thumb {
  background-color: #f7f7f7;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-body {
  padding: 0.9rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.product-meta {
  font-size: 0.8rem;
  color: #777777;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.product-price {
  font-weight: 700;
  color: var(--ogc-green);
}

.product-cta {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Contact page */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.contact-panel {
  border-radius: var(--ogc-radius);
  border: 1px solid var(--ogc-border);
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: var(--ogc-shadow-soft);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--ogc-border);
  padding: 2rem 0 1.5rem;
  background-color: #ffffff;
  margin-top: 2rem;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.35rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #888888;
}

/* Responsiveness */

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    padding: 0.5rem 0;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }
}



/*EDITS
.header-search{
  width:50%;
  font-family:system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
}
.search-field{
  width:80%;
}
.search-submit{
  background-color: var(--ogc-green);
  border:none;

  color:white;
  border-radius:999px;
  display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
    border: 1px solid transparent;
    cursor: pointer;
}
.search-submit:hover{
  background-color: var(--ogc-green-dark);
  transition:all 0.2s ease;
  box-shadow: var(--ogc-shadow-soft);
} */

/* Header right area: menu + search */
.site-header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Header search container */
.header-search {
  min-width: 220px;
}

.search-form {
  margin: 0;
}

.search-form-inner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #fafafa;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.search-icon {
  font-size: 0.9rem;
  opacity: 0.75;
}

.search-field {
  border: none;
  background: transparent;
  font-size: 0.9rem;
  width: 100%;
  outline: none;
  padding: 0.15rem 0;
}

.search-field::placeholder {
  color: #999999;
}

.search-submit {
  border: none;
  background: transparent;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #555555;
  cursor: pointer;
  padding: 0;
}

.search-submit:hover {
  color: var(--ogc-green);
}

/* Mobile: stack better */
@media (max-width: 800px) {
  .site-header-right {
    gap: 0.75rem;
  }

  .header-search {
    flex: 1;
  }

  .search-form-inner {
    padding: 0.3rem 0.6rem;
  }
}



.category-card--active {
  border-color: rgba(47, 107, 60, 0.55);
  box-shadow: var(--ogc-shadow-soft);
  background-color: #eaeaea;
}

.site-logo-image{
  justify-self:anchor-center;

}
.hero-plant-image{
  width:100%;
}




/* =========================
   OGC mobile cleanup patch
   ========================= */

html, body {
    overflow-x: hidden;
}

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

/* Keep all containers inside viewport */
.container,
.site-main,
.section,
.hero,
.hero-inner,
.category-grid,
.products-grid,
.featured-products-grid,
.footer-inner {
    max-width: 100%;
    box-sizing: border-box;
}

/* Tablet + down */
@media (max-width: 991px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .hero,
    .section {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }

    .hero-inner,
    .hero-content,
    .hero-copy,
    .hero-media {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero h1,
    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem) !important;
        line-height: 1.05 !important;
    }

    .hero p,
    .hero-subtext,
    .hero-copy p {
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

    .hero-buttons,
    .cta-row,
    .button-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .hero-buttons a,
    .cta-row a,
    .button-row a,
    .hero-buttons .btn,
    .cta-row .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Popular categories + featured products */
    .category-grid,
    .products-grid,
    .featured-products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .category-card,
    .product-card,
    .featured-product-card,
    .ogc-product-card {
        min-width: 0;
        width: 100%;
    }

    .category-card,
    .product-card,
    .featured-product-card,
    .ogc-product-card,
    .stat-card {
        border-radius: 16px !important;
    }

    .category-card .category-name,
    .product-card h3,
    .featured-product-card h3,
    .ogc-product-title {
        font-size: 1rem !important;
        line-height: 1.3 !important;
        word-break: break-word;
    }

    .category-card .category-desc,
    .product-card p,
    .featured-product-card p {
        font-size: 0.92rem !important;
        line-height: 1.45 !important;
    }

    .product-thumb,
    .featured-product-thumb,
    .ogc-product-thumb,
    .category-icon {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ogc-product-thumb,
    .product-thumb,
    .featured-product-thumb {
        height: 180px !important;
        overflow: hidden !important;
    }

    .ogc-product-thumb img,
    .product-thumb img,
    .featured-product-thumb img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block;
        margin: 0 auto;
    }

    /* Footer */
    .site-footer .footer-inner,
    .footer-columns,
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Phones */
@media (max-width: 640px) {
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .hero,
    .section {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .hero h1,
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        line-height: 1.02 !important;
    }

    .hero p,
    .hero-subtext,
    .hero-copy p {
        font-size: 0.96rem !important;
    }

    .category-grid,
    .products-grid,
    .featured-products-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .category-card,
    .product-card,
    .featured-product-card,
    .ogc-product-card {
        padding: 0 !important;
    }

    .category-card .category-name,
    .product-card h3,
    .featured-product-card h3,
    .ogc-product-title {
        font-size: 0.98rem !important;
    }

    .ogc-product-thumb,
    .product-thumb,
    .featured-product-thumb {
        height: 160px !important;
    }

    .site-header,
    .header-inner,
    .main-navigation {
        max-width: 100%;
    }

    #primary-menu {
        width: 100%;
    }

    #primary-menu.is-open {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding-top: 12px;
    }

    #primary-menu li,
    #primary-menu a {
        width: 100%;
    }
}