/* CSS Variables */
:root {
    --primary-color: #0f5533; /* Dark Green */
    --secondary-color: #1cbf73; /* Light Green */
    --accent-color: #4e1224; /* Maroon */
    --gold-bright: #ffb74c; /* Bright Gold */
    --gold-light: #feefc5; /* Light Gold */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --background-light: #f5f9f7;
    --container-width: 1200px;
    --header-height: 80px;
}

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #62646a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:not(.cta-button):hover {
    color: #000000;
}

.cta-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #19a864;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: var(--primary-color);
    padding: 160px 0 100px;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* App Download Section */
.app-download {
    background: var(--white);
    padding: 80px 0;
    text-align: center;
}

.app-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.app-content p {
    color: #838383;
    font-size: 16px;
    margin-bottom: 32px;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.app-stores a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-stores a:hover {
    transform: translateY(-2px);
}

.app-stores img {
    height: 48px;
    width: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background-light);
}

.features-heading {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-card p {
    color: #838383;
    line-height: 1.6;
}

.feature-image {
    margin: 4px 0;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Info Tags Section */
.info-tags {
    padding: 80px 0;
    background: var(--accent-color);
    color: var(--white);
    text-align: center;
}

.info-tags h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 16px;
}

/* Farm Owners & Hatchery Owners Sections */
.farm-owners, .hatchery-owners {
    padding: 80px 0;
    background: var(--background-light);
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

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

.benefits-list li {
    margin-bottom: 30px;
}

.benefits-list h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.benefits-list p {
    color: var(--text-light);
}

.buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.learn-more {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 12px 24px;
    border: 2px solid var(--text-dark);
    border-radius: 4px;
}

.app-preview {
    flex: 1;
    position: relative;
}

.app-preview img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-light);
    opacity: 0.5;
}

.dot.active {
    opacity: 1;
    background: var(--primary-color);
}

/* Early Bird Special Section */
.early-bird {
    padding: 80px 0;
    background: var(--gold-light);
}

.special-offer {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.special-offer h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.benefits li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
}

.price span {
    color: var(--text-light);
}

.price h3 {
    font-size: 24px;
    color: var(--text-dark);
}

.join-now {
    background: var(--gold-bright);
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

/* App Download Footer */
.app-download-footer {
    padding: 60px 0;
    background: var(--gold-light);
    text-align: center;
}

/* Footer */
.footer {
    background: var(--white);
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-logo img {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.link-group a, .link-group p {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

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

    .content-wrapper {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Blog styles */
.blog-hero {
    background: var(--primary-color);
    padding: 200px 0 200px;
    color: var(--white);
    text-align: center;
}

.hero-title { font-size: 48px; font-weight: 600; margin-bottom: 16px; line-height: 1.2; }
.hero-subtitle { font-size: 18px; color: rgba(255, 255, 255, 0.9); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0 80px;
}

.blog-list-vertical { display: flex; flex-direction: column; gap: 16px; margin: 40px 0 16px; }

.blog-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* Make entire card clickable with an anchor wrapper */
.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
    transform: translateY(-1px);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.blog-card .meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.blog-card .excerpt {
    color: var(--text-light);
    margin-bottom: 16px;
}

.blog-card .read-more {
    margin-top: auto;
    align-self: flex-start;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.post-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 160px 20px 80px;
}

.post-title {
    font-size: 36px;
    margin-bottom: 8px;
}

.post-meta {
    color: var(--text-light);
    margin-bottom: 20px;
}

.post-content {
    line-height: 1.8;
}

/* Blog content formatting */
.post-content h2 { font-size: 28px; margin: 24px 0 12px; }
.post-content h3 { font-size: 22px; margin: 20px 0 10px; }
.post-content p { margin: 12px 0; }
.post-content ul, .post-content ol { margin: 12px 0 12px 20px; }
.post-content li { margin: 6px 0; }
.post-content strong, .post-content b { font-weight: 700; }
.post-content em, .post-content i { font-style: italic; }
.post-content a { color: var(--secondary-color); text-decoration: underline; }

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title { font-size: 42px; }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .hero-title { font-size: 32px; }
}
