
:root {
    --primary: #244b36;
    --secondary: #8fa88e;
    --cream: #f8f6ef;
    --brown: #a87952;
    --dark: #252923;
    --white: #ffffff;
    --gray: #777d75;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    background: var(--white);
}

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

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

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

.section-padding {
    padding: 100px 0;
}

.section-label {
    color: var(--brown);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* NAVBAR */

.navbar {
    width: 100%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-wrapper {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo i {
    font-size: 25px;
}

.logo b {
    color: var(--brown);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: .3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-button {
    background: var(--primary);
    color: white;
    padding: 13px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.nav-button i {
    margin-left: 8px;
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 23px;
    color: var(--primary);
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 650px;
    height: 85vh;
    max-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    background:
        url('https://images.unsplash.com/photo-1524024973431-2ad916746881?auto=format&fit=crop&w=2000&q=90')
        center / cover no-repeat;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 35, 23, .88),
        rgba(15, 35, 23, .55),
        rgba(15, 35, 23, .08)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #d9e6d3;
}

.hero-label i {
    margin-right: 8px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 75px);
    line-height: 1.1;
    margin: 25px 0;
}

.hero h1 span {
    color: #b7cba9;
}

.hero-content p {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.9;
    color: #e4e9e2;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-outline,
.btn-light {
    padding: 16px 25px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
    transition: .3s;
}

.btn-primary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.6);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.hero-location {
    margin-top: 45px;
    font-size: 13px;
    color: #e2e9df;
}

.hero-location i {
    margin-right: 8px;
    color: #b7cba9;
}

.hero-bottom {
    position: absolute;
    bottom: 25px;
    left: 6%;
    right: 6%;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 2px;
    color: #d5dfd1;
}

/* INTRODUCTION */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.intro-image {
    position: relative;
}

.intro-image img {
    height: 480px;
    border-radius: 3px;
}

.image-badge {
    position: absolute;
    bottom: 25px;
    right: -25px;
    background: var(--primary);
    color: white;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.image-badge i {
    font-size: 25px;
    color: #b7cba9;
}

.image-badge span {
    font-size: 12px;
    line-height: 1.6;
}

.intro-content h2,
.section-heading h2,
.center-heading h2 {
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.2;
    margin: 20px 0;
}

.intro-content h2 span,
.section-heading h2 span,
.center-heading h2 span {
    color: var(--primary);
}

.intro-content p {
    color: var(--gray);
    line-height: 1.9;
    font-size: 14px;
    margin-bottom: 15px;
}

.text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 8px;
}

/* LIVESTOCK */

.livestock {
    background: var(--cream);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 45px;
    gap: 30px;
}

.section-heading p {
    max-width: 350px;
    color: var(--gray);
    line-height: 1.8;
    font-size: 14px;
}

.livestock-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.livestock-card {
    background: white;
    overflow: hidden;
}

.livestock-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.livestock-image img {
    height: 100%;
    transition: .5s;
}

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

.card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 9px 13px;
    font-size: 10px;
    letter-spacing: 1px;
}

.livestock-info {
    padding: 30px;
}

.card-category {
    color: var(--brown);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.livestock-info h3 {
    font-size: 30px;
    margin: 12px 0;
}

.livestock-info p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.8;
}

.livestock-info a {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.livestock-info a i {
    margin-left: 8px;
}

/* WHY CHOOSE US */

.center-heading {
    text-align: center;
    max-width: 650px;
    margin: auto;
}

.center-heading p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 55px;
}

.feature-card {
    text-align: center;
    padding: 35px 25px;
    border: 1px solid #e9ece7;
    transition: .3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
}

.feature-icon {
    width: 65px;
    height: 65px;
    margin: auto;
    display: grid;
    place-items: center;
    background: #edf2e9;
    color: var(--primary);
    border-radius: 50%;
    font-size: 22px;
}

.feature-card h3 {
    font-size: 22px;
    margin: 22px 0 12px;
}

.feature-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.8;
}

/* QURBAN */

.qurban-section {
    padding: 100px 0;
    background:
        linear-gradient(rgba(25, 55, 37, .88), rgba(25, 55, 37, .88)),
        url('https://images.unsplash.com/photo-1484557985045-edf25e08da73?auto=format&fit=crop&w=1800&q=85')
        center / cover no-repeat;
    color: white;
}

.qurban-content {
    text-align: center;
}

.qurban-content h2 {
    font-size: clamp(35px, 5vw, 55px);
    margin: 20px 0;
    line-height: 1.2;
}

.qurban-content h2 span {
    color: #b7cba9;
}

.qurban-content p {
    max-width: 550px;
    margin: 0 auto 30px;
    color: #e0e9df;
    font-size: 14px;
    line-height: 1.8;
}

.btn-light {
    background: var(--cream);
    color: var(--primary);
}

/* GALLERY */

.gallery-preview {
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    height: 280px;
    overflow: hidden;
}

.gallery-item img {
    height: 100%;
    transition: .5s;
}

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

/* CONTACT */

.contact-section {
    padding: 100px 0;
    text-align: center;
    background: white;
}

.contact-content h2 {
    font-size: clamp(35px, 5vw, 55px);
    line-height: 1.2;
    margin: 20px 0;
}

.contact-content h2 span {
    color: var(--primary);
}

.contact-content p {
    max-width: 550px;
    margin: 0 auto 30px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
}

/* FOOTER */

.footer {
    background: #193326;
    color: white;
    padding: 65px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-logo {
    color: white;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 20px;
    font-size: 13px;
    color: #b7c4b9;
    line-height: 1.8;
}

.footer-info h4 {
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-info p,
.footer-info a {
    display: block;
    font-size: 12px;
    color: #b7c4b9;
    line-height: 2;
}

.footer-info a:hover {
    color: white;
}

.footer-bottom {
    padding: 22px 6%;
    border-top: 1px solid rgba(255,255,255,.15);
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #b7c4b9;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .nav-menu {
        gap: 18px;
    }

    .nav-button {
        display: none;
    }

    .intro-grid {
        gap: 40px;
    }

    .intro-image img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 6%;
        gap: 22px;
        box-shadow: 0 10px 20px rgba(0,0,0,.08);
    }

    .nav-menu.show {
        display: flex;
    }

    .hero {
        height: 700px;
        min-height: 600px;
    }

    .hero h1 {
        font-size: 45px;
    }

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

    .intro-image img {
        height: 350px;
    }

    .image-badge {
        right: 10px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .container {
        width: 90%;
    }

    .logo {
        font-size: 17px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-bottom {
        display: none;
    }

    .intro-image img {
        height: 280px;
    }

    .livestock-image {
        height: 230px;
    }

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

    .gallery-item {
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

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