/* ==========================================================================
   Variables & Reset
   ========================================================================== */
   :root {
    --primary-color: #2ecc71; /* Earthy Green */
    --primary-dark: #27ae60;
    --secondary-color: #f39c12; /* Warm Orange for contrast */
    --text-main: #2c3e50;
    --text-light: #7f8c8d;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

/* ==========================================================================
   Typography & Global Styles
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 150px 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
}

.badge {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--primary-dark);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

/* ==========================================================================
   Features / About
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background-color: var(--primary-color);
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* ==========================================================================
   Breeds
   ========================================================================== */
.breeds-split {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.breed-showcase {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.breed-showcase img {
    width: 50%;
    height: 400px;
    object-fit: contain;
    background-color: var(--bg-light);
}

.breed-info {
    padding: 40px;
    width: 50%;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-meat {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.tag-egg {
    background-color: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

.breed-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.breed-info p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.stat-box {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   Kadaknath Section
   ========================================================================== */
.kadaknath-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.kadaknath-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag-premium {
    background-color: var(--secondary-color);
    color: white;
}

.kadaknath-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.kadaknath-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e2e8f0;
}

.kadaknath-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.kadaknath-features li {
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kadaknath-features i {
    color: var(--primary-color);
}

/* ==========================================================================
   Livestock Cards
   ========================================================================== */
.livestock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.livestock-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.livestock-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 220px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-light);
    transition: var(--transition);
}

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

.card-content {
    padding: 25px;
    position: relative;
    background: white;
}

.card-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Feed Section
   ========================================================================== */
.feed-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.feed-text {
    flex: 1;
}

.feed-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feed-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.feed-list {
    list-style: none;
}

.feed-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.feed-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feed-image {
    flex: 1;
}

.feed-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Gallery / User Images
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.gallery-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 20px;
}

.gallery-note code {
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    color: #e74c3c;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #1a202c;
    color: white;
    padding: 80px 0 20px;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-brand p {
    color: #a0aec0;
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-links a {
    display: block;
    color: #a0aec0;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: #a0aec0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0aec0;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .breed-showcase, .breed-showcase.reverse {
        flex-direction: column;
    }
    
    .breed-showcase img, .breed-info {
        width: 100%;
    }
    
    .feed-content {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar .btn-primary {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}
