
/* ==========================================================================
   HOME PAGE — front-page.php
   ========================================================================== */

/* 1. Hero */
.hero { padding: 0; background: linear-gradient(135deg, #F3F9EF 0%, #E8F4E3 100%); overflow: hidden; }
.hero-container { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 3.5rem; align-items: flex-end; }
.hero-text { padding-top: 4.5rem; padding-bottom: 3.5rem; }
.hero-title-bold { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 800; line-height: 1.06; margin-bottom: 1.2rem; color: var(--brand-dark-green); -webkit-text-stroke: 3px var(--brand-dark-green); }
.highlight-text { color: var(--brand-green); display: inline-block; -webkit-text-stroke: 3px var(--brand-green); }
.hero-subtitle { font-size: 1.2rem; font-weight: 500; color: var(--text-body); margin-bottom: 2.2rem; max-width: 540px; }
.hero-buttons { display: flex; gap: 1.2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; border-top: 2px dashed var(--border-color); padding-top: 1.8rem; }
.stat-card { display: flex; align-items: center; gap: 0.75rem; }
.stat-card i { font-size: 1.6rem; color: var(--brand-green); flex-shrink: 0; }
.stat-card strong { display: block; font-size: 0.9rem; font-weight: 800; line-height: 1.15; color: var(--brand-dark-green); }
.stat-card span { font-size: 0.78rem; color: var(--text-muted); }
.hero-media { position: relative; display: flex; justify-content: flex-end; align-items: flex-end; height: 100%; }
.hero-image-wrapper { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; line-height: 0; }
.hero-img { max-height: 580px; width: auto; object-fit: contain; display: block; transform: scale(1.50); transform-origin: bottom right; filter: drop-shadow(0 15px 25px rgba(25,58,0,.12)); transition: transform .4s ease; vertical-align: bottom; }

/* 2. Agropro Banner */
.agropro-banner-section { padding: 3.5rem 0; background-color: var(--bg-main); }
.agropro-pill-banner { background: linear-gradient(135deg,var(--brand-dark-green) 0%,#0F2A00 100%); border-radius: var(--radius-full); padding: 0.75rem 2.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: #fff; box-shadow: 0 12px 30px rgba(25,58,0,.22); position: relative; overflow: visible; }
.agropro-badge-col { display: flex; align-items: center; gap: 0.8rem; background: rgba(86,183,40,.22); padding: 0.5rem 1.3rem; border-radius: var(--radius-full); flex-shrink: 0; }
.agropro-badge-col i { font-size: 1.5rem; color: var(--brand-green); }
.agropro-badge-col strong { display: block; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--brand-green); line-height: 1; }
.agropro-badge-col span { font-size: 0.72rem; font-weight: 800; color: #fff; letter-spacing: 1px; }
.agropro-img-col { position: relative; width: 110px; height: 60px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: visible; }
.agropro-banner-img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(1.65); height: 115px; width: auto; object-fit: contain; z-index: 10; transition: transform .3s ease; }
.agropro-pill-banner:hover .agropro-banner-img { transform: translate(-50%,-50%) scale(1.75); }
.agropro-text-col { flex: 1; }
.agropro-text-col h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: .2rem; }
.agropro-text-col p { font-size: .9rem; color: rgba(255,255,255,.9); }
.btn-gold-pill { background: linear-gradient(135deg,var(--brand-green),#449E1B); color: #fff; font-weight: 800; padding: 0.75rem 1.8rem; border-radius: var(--radius-full); font-size: .95rem; white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0; transition: transform .2s ease, background .2s ease; text-decoration: none; }
.btn-gold-pill:hover { transform: translateY(-2px); background: #3B8C17; color: #fff; }

/* 3. Section Headers */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.section-subtitle { display: inline-block; font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--brand-green); margin-bottom: .4rem; }
.section-header h2 { font-family: var(--font-heading); font-size: 2.3rem; font-weight: 800; color: var(--brand-dark-green); -webkit-text-stroke: 1.5px var(--brand-dark-green); }
.section-desc { color: var(--text-body); max-width: 600px; }

/* 4. Categories */
.categories-section { padding: 3rem 0; }
.categories-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 1.5rem; }
.category-card { display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; text-decoration: none; transition: transform .3s ease; }
.category-card h3 { margin-top: .8rem; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; line-height: 1.25; color: var(--brand-dark-green); transition: color .3s ease; }
.category-circle-wrapper { position: relative; width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; overflow: visible; }
.category-bg-shape { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 110px; height: 110px; border-radius: 35px; background-color: var(--bg-alt); transition: background-color .3s cubic-bezier(.175,.885,.32,1.275), transform .3s cubic-bezier(.175,.885,.32,1.275); z-index: 1; }
.category-img { position: relative; max-height: 125px; max-width: 125px; object-fit: contain; margin-top: -24px; z-index: 2; transition: transform .3s cubic-bezier(.175,.885,.32,1.275); }
.category-card:hover .category-bg-shape { background-color: var(--brand-gold); transform: translate(-50%,-50%) rotate(8deg) scale(1.05); }
.category-card:hover .category-img { transform: scale(1.12) translateY(-8px); }
.category-card:hover h3 { color: var(--brand-green); }

/* 5. Filter Bar */
.filter-bar { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: 1rem; margin-bottom: 2.2rem; scrollbar-width: thin; }
.filter-btn { padding: .65rem 1.4rem; border-radius: var(--radius-full); background-color: var(--bg-surface); border: 2px solid var(--border-color); color: var(--text-body); font-weight: 700; font-size: .9rem; white-space: nowrap; display: flex; align-items: center; gap: .5rem; cursor: pointer; transition: var(--transition-fast); }
.filter-btn:hover { border-color: var(--brand-green); color: var(--brand-dark-green); }
.filter-btn.active { background: linear-gradient(135deg,var(--brand-green),#449E1B); color: #fff; border-color: var(--brand-green); }

/* 6. Products Carousel */
.products-carousel-wrapper { position: relative; display: flex; align-items: center; width: 100%; }
.products-carousel { display: flex; gap: 1.8rem; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 1rem 0.2rem; width: 100%; }
.products-carousel::-webkit-scrollbar { display: none; }
.carousel-control-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: var(--radius-full); background-color: var(--bg-surface); border: 2px solid var(--border-color); color: var(--brand-dark-green); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; z-index: 10; box-shadow: var(--shadow-sm); transition: var(--transition-fast); }
.carousel-control-btn:hover { background-color: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.carousel-control-btn.prev { left: -24px; }
.carousel-control-btn.next { right: -24px; }
.product-card { flex: 0 0 calc(25% - 1.35rem); scroll-snap-align: start; min-width: 270px; background-color: var(--bg-surface); border-radius: var(--radius-xl); border: 2px solid var(--border-color); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-green); }
.product-image-wrapper { position: relative; height: 220px; background-color: var(--bg-alt); overflow: hidden; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-img { transform: scale(1.07); }
.product-badge { position: absolute; top: .8rem; left: .8rem; background-color: var(--brand-red); color: #fff; font-size: .72rem; font-weight: 800; padding: .3rem .75rem; border-radius: var(--radius-full); }
.product-badge.gold { background-color: var(--brand-gold); color: var(--brand-dark-green); }
.product-badge.green { background-color: var(--brand-green); color: #fff; }
.product-content { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-category { font-size: .75rem; color: var(--text-muted); font-weight: 800; text-transform: uppercase; margin-bottom: .3rem; letter-spacing: .5px; }
.product-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.3; color: var(--brand-dark-green); }
.product-pricing { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: .9rem; padding-top: .4rem; }
.price-normal-row { font-size: .82rem; color: var(--text-muted); font-weight: 600; line-height: 1.2; }
.price-normal-val { text-decoration: line-through; display: block; font-size: .95rem; margin-top: .15rem; }
.price-agropro-row { font-size: .8rem; font-weight: 800; color: var(--brand-dark-green); text-align: right; line-height: 1.2; }
.price-agropro-val { font-family: var(--font-heading); font-size: 1.3rem; color: var(--brand-green); font-weight: 800; display: block; margin-top: .15rem; }
.product-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: .8rem; border-top: 1px solid var(--border-color); }
.add-to-cart-btn { background-color: var(--green-light); color: var(--brand-dark-green); padding: .65rem 1.1rem; border-radius: var(--radius-full); font-weight: 800; font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; transition: var(--transition-fast); }
.add-to-cart-btn:hover, .add-to-cart-btn.loading { background-color: var(--brand-green); color: #fff; }

/* 7. Brands */
.brand-showcase-section { background-color: var(--bg-alt); padding: 3rem 0; }
.brand-showcase-header { text-align: center; margin-bottom: 2rem; }
.brand-showcase-header h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: var(--brand-dark-green); }
.brand-logos-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 1.2rem; align-items: center; }
.brand-logo-card { background-color: var(--bg-surface); border: 1.5px solid var(--border-color); border-radius: var(--radius-xl); width: 100%; display: flex; align-items: center; justify-content: center; min-height: 72px; overflow: hidden; transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast); }
.brand-logo-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(86,183,40,.1); border-color: var(--brand-green); }
.brand-logo-image { width: 100%; height: 100%; min-height: 72px; object-fit: cover; transition: transform var(--transition-fast); }
.brand-logo-card:hover .brand-logo-image { transform: scale(1.06); }

/* 8. Booking */
.inline-booking-section { padding: 4.5rem 0 5.5rem; background: linear-gradient(135deg,#F6FCF3 0%,#EBF6E5 100%); }
.booking-wrapper-card { background-color: var(--bg-surface); border-radius: var(--radius-xl); border: 2px solid var(--brand-green); box-shadow: var(--shadow-lg); max-width: 100%; margin: 16.5rem auto 0; position: relative; }
.booking-peeking-puppy { position: absolute; top: -306px; left: 50%; transform: translateX(-50%); height: 320px; width: auto; z-index: 10; pointer-events: none; filter: drop-shadow(0 8px 16px rgba(25,58,0,.15)); }
.booking-form-col { padding: 3rem; display: flex; flex-direction: column; }
.booking-steps-header { display: flex; align-items: center; justify-content: center; margin-bottom: 1.8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
.step-indicator { display: flex; align-items: center; gap: .6rem; opacity: .45; transition: all .3s ease; }
.step-indicator.active { opacity: 1; }
.step-num { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--brand-green); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; color: var(--brand-green); background-color: var(--bg-surface); transition: all .3s ease; }
.step-indicator.active .step-num { background-color: var(--brand-green); color: #fff; box-shadow: 0 6px 15px rgba(86,183,40,.25); }
.step-label { font-weight: 800; font-size: .95rem; color: var(--brand-dark-green); font-family: var(--font-heading); }
.step-line { width: 1px; height: 24px; background-color: var(--border-color); margin: 0 1.5rem; }
.booking-callout-banner { background: linear-gradient(135deg,rgba(86,183,40,.07) 0%,rgba(245,251,242,.8) 100%); border: 1px solid rgba(86,183,40,.15); border-radius: var(--radius-md); padding: .8rem 1.2rem; display: flex; align-items: center; gap: .8rem; font-size: .88rem; font-weight: 600; color: var(--brand-dark-green); margin-bottom: 2rem; }
.booking-step-content { display: none; }
.booking-step-content.active { display: block; animation: fadeInStep .3s ease; }
.form-label-bold { font-weight: 800; font-size: .95rem; color: var(--brand-dark-green); font-family: var(--font-heading); margin-bottom: .4rem; display: block; }
.form-row-double { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pet-tabs-selector { display: flex; gap: .8rem; }
.pet-tab-btn { position: relative; cursor: pointer; user-select: none; }
.pet-tab-btn input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.pet-tab-btn span { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.3rem; border-radius: var(--radius-full); border: 1.5px solid var(--border-color); background-color: var(--bg-surface); color: var(--text-body); font-weight: 700; font-size: .9rem; transition: all .2s ease; }
.pet-tab-btn:hover span { border-color: var(--brand-green); color: var(--brand-green); }
.pet-tab-btn input[type="radio"]:checked + span { background: linear-gradient(135deg,var(--brand-green),#449E1B); color: #fff; border-color: var(--brand-green); }
.booking-select-wrapper select,
.booking-field-select,
.booking-field-input { width: 100%; height: 48px; border: 1.5px solid var(--border-color); border-radius: var(--radius-md); padding: .7rem 1.1rem; font-weight: 600; font-size: .95rem; background-color: var(--bg-alt); color: var(--text-primary); transition: all .25s ease; }
.booking-select-wrapper select:focus,
.booking-field-select:focus,
.booking-field-input:focus { outline: none; border-color: var(--brand-green); background-color: var(--bg-surface); box-shadow: 0 0 0 3px rgba(86,183,40,.12); }
.input-with-icon { position: relative; width: 100%; }
.input-with-icon i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--brand-green); font-size: .95rem; pointer-events: none; }
.input-with-icon input { padding-left: 2.7rem !important; width: 100%; height: 48px; border: 1.5px solid var(--border-color); border-radius: var(--radius-md); font-weight: 600; background-color: var(--bg-alt); transition: all .25s ease; }
.input-with-icon input:focus { outline: none; border-color: var(--brand-green); background-color: var(--bg-surface); box-shadow: 0 0 0 3px rgba(86,183,40,.12); }
#inline-notes { width: 100%; border: 1.5px solid var(--border-color); border-radius: var(--radius-md); padding: .7rem 1rem; font-weight: 600; background-color: var(--bg-alt); resize: vertical; font-family: inherit; font-size: .95rem; }
#inline-notes:focus { outline: none; border-color: var(--brand-green); box-shadow: 0 0 0 3px rgba(86,183,40,.12); }
.step-actions { display: flex; justify-content: flex-end; }
.step-actions.split { justify-content: space-between; gap: 1rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }

/* 9. Blog */
.guides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; }
.guide-card { background-color: var(--bg-surface); border: 2px solid var(--border-color); border-radius: var(--radius-xl); padding: 2rem; display: flex; flex-direction: column; transition: var(--transition-normal); }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-green); }
.guide-badge { align-self: flex-start; padding: .35rem .9rem; border-radius: var(--radius-full); font-size: .78rem; font-weight: 800; margin-bottom: 1rem; display: flex; align-items: center; gap: .4rem; }
.guide-badge.nutrition { background-color: var(--green-light); color: var(--brand-dark-green); }
.guide-badge.health { background-color: rgba(227,6,19,.08); color: #E30613; }
.guide-badge.behavior { background-color: var(--gold-light); color: #B37D00; }
.guide-card h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; margin-bottom: .6rem; color: var(--brand-dark-green); }
.guide-card p { color: var(--text-body); font-size: .9rem; margin-bottom: 1.2rem; flex: 1; }
.btn-text { background: none; color: var(--brand-green); font-weight: 800; display: inline-flex; align-items: center; gap: .4rem; padding: 0; text-decoration: none; transition: gap var(--transition-fast), color var(--transition-fast); }
.btn-text:hover { color: var(--brand-dark-green); gap: .7rem; }
.blog-footer-btn { display: flex; justify-content: center; margin-top: 2.5rem; }

/* 10. Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: center; }
.contact-info-box { display: flex; flex-direction: column; gap: 1.8rem; }
.contact-detail { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-detail i { font-size: 1.6rem; color: var(--brand-green); width: 48px; height: 48px; background-color: var(--green-light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail h4 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: .2rem; color: var(--brand-dark-green); }
.contact-detail p { color: var(--text-body); font-size: .95rem; }
.contact-buttons-group { display: flex; gap: 1rem; margin-top: 1rem; }
.map-wrapper iframe { display: block; border-radius: 24px; }

/* Animations */
@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .brand-logos-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; gap: 0; }
    .hero-text { padding-top: 3rem; padding-bottom: 0.5rem; }
    .hero-title-bold { font-size: 2.5rem; -webkit-text-stroke: 1.5px var(--brand-dark-green); }
    .highlight-text { -webkit-text-stroke: 1.5px var(--brand-green); }
    .hero-media { justify-content: center; overflow: hidden; }
    .hero-img { max-height: 380px; width: 100%; max-width: 320px; transform: scale(1) !important; margin: 0 auto; }
    .agropro-pill-banner { flex-direction: column; border-radius: var(--radius-xl); padding: 2.2rem 1.8rem; text-align: center; gap: 1.5rem; }
    .agropro-img-col { height: 120px; margin: .5rem 0; }
    .agropro-banner-img { transform: translate(-50%,-50%) scale(1.4); }
    .booking-wrapper-card, .contact-grid { grid-template-columns: 1fr; }
    .booking-form-col { padding: 2rem; }
}
@media (max-width: 768px) {
    .carousel-control-btn { display: none; }
    .brand-logos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row-double { grid-template-columns: 1fr; gap: 1rem; }
    .hero-stats { display: flex; gap: 1.2rem; overflow-x: auto; scrollbar-width: none; padding-top: 1.5rem; border-top: 2px dashed var(--border-color); }
    .hero-stats::-webkit-scrollbar { display: none; }
}
@media (max-width: 480px) {
    .booking-wrapper-card { margin-top: 12rem; }
    .booking-peeking-puppy { top: -228px; height: 240px; }
    .booking-form-col { padding: 1.5rem; }
    .brand-logos-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-buttons-group { flex-direction: column; width: 100%; }
    .contact-buttons-group .btn { width: 100%; justify-content: center; }
}
