:root {
    --green-dark: #0d5c34;
    --green-main: #169c46;
    --green-light: #e8f5ee;
    --gold: #c8962c;
    --gold-dark: #9e721b;
    --bg: #f4f6f5;
    --white: #ffffff;
    --text: #1a2421;
    --muted: #64746e;
    --radius: 14px;
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    padding-bottom: 70px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header matching mobile design */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    overflow: hidden;
}
.header-brand {
    background: var(--white);
    height: 100%;
    padding: 0 28px 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom-right-radius: 36px;
    min-width: 58%;
}
.header-brand img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    border-radius: 50%;
}
.brand-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--green-dark);
    letter-spacing: 0.4px;
    white-space: nowrap;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 16px;
    color: var(--white);
}
.icon-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Drawer Menu */
.nav-drawer {
    position: fixed;
    top: 0; right: -280px;
    width: 260px; height: 100%;
    background: var(--white);
    z-index: 200;
    box-shadow: -4px 0 20px rgba(0,0,0,0.18);
    transition: right 0.25s ease;
    padding: 20px;
}
.nav-drawer.open { right: 0; }
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 190;
}
.nav-overlay.open { display: block; }
.nav-drawer a {
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: var(--green-dark);
}

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 14px;
}

/* Hero Banner */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #143624;
    color: var(--white);
}
.hero-slide {
    position: relative;
    min-height: 230px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,36,22,0.82) 0%, rgba(10,36,22,0.35) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 28px 18px;
    max-width: 560px;
}
.hero-content h1 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.hero-content p {
    font-size: 0.92rem;
    opacity: 0.92;
    margin-bottom: 14px;
}
.btn-primary {
    display: inline-block;
    background: var(--green-main);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: var(--green-dark); }

/* Search Bar */
.search-box {
    margin: 16px 0 12px;
    position: relative;
}
.search-box input {
    width: 100%;
    padding: 12px 42px 12px 16px;
    border: 1.5px solid #dce3df;
    border-radius: 12px;
    background: var(--white);
    font-size: 0.95rem;
    outline: none;
}
.search-box input:focus { border-color: var(--green-main); }
.search-box button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--muted);
    cursor: pointer;
}

/* Breed Pills */
.breed-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 14px;
    scrollbar-width: none;
}
.breed-pills::-webkit-scrollbar { display: none; }
.pill {
    flex: 0 0 auto;
    padding: 8px 18px;
    border-radius: 24px;
    background: #e9eeeb;
    color: var(--text);
    font-weight: 600;
    font-size: 0.88rem;
}
.pill.active {
    background: var(--green-dark);
    color: var(--white);
}

/* Section Title */
.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 10px 0 14px;
    color: var(--text);
}

/* Bull Grid (2 columns on mobile, 4 on desktop) */
.bull-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px) {
    .bull-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .hero-slide { min-height: 340px; }
    .hero-content h1 { font-size: 2.2rem; }
}
@media (min-width: 1024px) {
    .bull-grid { grid-template-columns: repeat(4, 1fr); }
}

.bull-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    padding: 8px;
}
.bull-img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e5ece8;
}
.bull-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rating-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.bull-info {
    padding: 10px 4px 4px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bull-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
    text-transform: uppercase;
}
.bull-yield {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 10px;
}
.btn-quick {
    width: 100%;
    background: var(--green-main);
    color: var(--white);
    border: none;
    padding: 9px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Quick View Modal */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
    background: var(--white);
    border-radius: 16px;
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 18px;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 12px; right: 14px;
    background: #eee;
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
}
.pedigree-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 0.88rem;
}
.pedigree-table th, .pedigree-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #edf0ee;
    text-align: left;
}
.pedigree-table th { color: var(--muted); width: 45%; }
.pedigree-table td { font-weight: 700; }

/* Floating WhatsApp */
.wa-float {
    position: fixed;
    right: 16px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    z-index: 150;
    font-size: 1.6rem;
}

/* Footer */
.site-footer {
    background: var(--green-dark);
    color: #e6f2ec;
    margin-top: 36px;
    padding: 28px 16px;
    font-size: 0.88rem;
}
.site-footer h3 { color: #fff; margin-bottom: 8px; }
