:root {
    --primary: #C27A68;
    --black: #000;
    --grey: #888;
    --lightest-grey: #f8f9fa;
}

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

body {
    font-family: 'Onest', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: #1a252f;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.navbar.navbar-scrolled {
    background: rgba(64, 64, 64, 0.9);
    backdrop-filter: blur(10px);
}

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

.nav-logo-img {
    height: 40px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.8;
}

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

.btn-secondary {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #A8685A;
}

/* Hero Section */
.hero {
    height: 90vh;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-cta:hover {
    background: #A8685A;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature-reverse {
    direction: rtl;
}

.feature-reverse > * {
    direction: ltr;
}

.feature-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--black);
}

.feature-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-content p {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--black);
}

.feature-content ul {
    list-style: none;
    margin-bottom: 24px;
}

.feature-content li {
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: var(--black);
}

.feature-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

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

.shopify-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shopify-image img {
    max-height: 500px;
    width: auto;
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    background-image: url('../images/delivered-package.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.final-cta p {
    font-size: 18px;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .btn-cta {
    margin-top: 20px;
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.social-links a {
    color: var(--grey);
    transition: color 0.2s;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: var(--grey);
}

/* Pricing Page Styles */
.pricing-hero {
    height: unset;
    /* min-height: 400px; */
    padding-top: 120px;
    padding-bottom: 120px;
}

.pricing-hero::before {
    z-index: 0;
}

.pricing-hero .hero-container {
    max-width: none;
}

.pricing-section {
    padding: 0 0 80px;
    background: var(--lightest-grey);
}

.pricing-card {
    max-width: 500px;
    margin: -110px auto 0;
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 16px;
    padding: 28px 45px 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-header-content {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.plan-name h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0;
}

.pricing-subtitle {
    font-size: 18px;
    color: var(--grey);
}

.pricing-option {
    text-align: right;
    position: relative;
}

.price-toggle {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    margin-bottom: 0;
}

.price-large {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.price-period {
    font-size: 18px;
    color: var(--grey);
}

.billing-info {
    font-size: 14px;
    color: var(--grey);
}

.features-list {
    margin-bottom: 40px;
}

.features-list h3 {
    font-size: 16px;
    font-weight: 400;
    color: var(--grey);
    margin-bottom: 24px;
}

.features-list ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.features-list li {
    font-size: 16px;
    font-weight: 500;
    padding-left: 24px;
    position: relative;
    color: var(--black);
    margin-bottom: 8px;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.features-more-link {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.feature-explainer {
    display: block;
    font-size: 14px;
    color: var(--grey);
    font-weight: normal;
}

.pricing-cta {
    text-align: center;
}

.btn-cta-large {
    padding: 20px 40px;
    font-size: 20px;
}

.trial-info {
    margin-top: 16px;
    font-size: 14px;
    color: var(--grey);
}

.btn-text-only {
    display: inline-block;
    margin-top: 12px;
    color: var(--grey);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.btn-text-only:hover {
    color: #666;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0 160px;
    background: var(--lightest-grey);
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 16px;
    color: var(--black);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-card {
        padding: 40px 30px;
    }
    
    .pricing-header-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .pricing-option {
        text-align: right;
    }
    
    .features-list ul {
        grid-template-columns: 1fr;
        max-width: none;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .price-large {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .feature {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .feature-reverse {
        direction: ltr;
    }
    
    .feature-content h2 {
        font-size: 28px;
    }
    
    .final-cta h2 {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Contact Page */
.contact-hero {
    height: unset;
    padding-top: 120px;
    padding-bottom: 120px;
}

.contact-hero::before {
    z-index: 0;
}

.contact-hero .hero-container {
    max-width: 700px;
}

.contact-section {
    padding: 0 0 140px;
    background: var(--lightest-grey);
}

.contact-form-card {
    max-width: 600px;
    margin: -110px auto 0;
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 16px;
    padding: 32px 45px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 16px;
    color: var(--black);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-subtitle {
    margin-top: 8px;
    font-size: 13px;
    color: var(--grey);
}

.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
}

.btn-submit:hover {
    background: #A8685A;
}

.btn-submit:disabled {
    cursor: default;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 28px 24px 32px;
    }
}

/* Blog Templates */
.blog-layout {
    padding: 0 0 100px;
    background: var(--lightest-grey);
}

.blog-top-section {
    min-height: calc(100vh - 320px);
}

.blog-header {
    position: relative;
    padding: 140px 0 72px;
    margin-bottom: 40px;
    text-align: center;
    background-image: url('../images/farm-header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.blog-header .container {
    position: relative;
    z-index: 1;
}

.blog-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}

.blog-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-meta {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
}

.blog-post-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.blog-post-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
}

.blog-post-author-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.blog-post-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    padding-left: 12px;
}

.blog-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--black);
}

.blog-feature-image {
    margin: 0 0 32px;
}

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

.story-section p {
    margin-bottom: 1.25rem;
}

.story-section h2,
.story-section h3,
.story-section h4 {
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.story-section h2 {
    font-size: 32px;
}

.story-section h3 {
    font-size: 26px;
}

.story-section h4 {
    font-size: 22px;
}

.story-section ul,
.story-section ol {
    margin: 0 0 1.5rem 1.5rem;
}

.story-section li {
    margin-bottom: 0.5rem;
}

.story-section a {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .blog-layout {
        padding: 0 0 80px;
    }

    .blog-header {
        padding: 130px 0 56px;
    }

    .blog-title {
        font-size: 32px;
    }

    .blog-subtitle {
        font-size: 18px;
    }

    .blog-post-meta {
        margin-top: 16px;
        gap: 10px;
        padding: 8px 12px;
    }

    .blog-post-author-avatar {
        width: 28px;
        height: 28px;
    }

    .blog-post-author-name,
    .blog-post-date {
        font-size: 13px;
    }

    .blog-post-date {
        padding-left: 10px;
    }

    .blog-content {
        font-size: 16px;
    }

    .story-section h2 {
        font-size: 26px;
    }

    .story-section h3 {
        font-size: 22px;
    }

    .story-section h4 {
        font-size: 20px;
    }
}

/* Blog index */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.blog-card-link {
    display: block;
    color: var(--black);
    text-decoration: none;
}

.blog-card-link:visited {
    color: var(--black);
}

.blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-title {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 !important;
    padding: 0;
    color: var(--black);
}

.blog-card-date {
    color: var(--grey);
    font-size: 14px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-number,
.pagination-prev,
.pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--black);
    background: #fff;
    border: 1px solid #e6e6e6;
    font-weight: 500;
}

.pagination-number.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination-prev.disabled,
.pagination-next.disabled {
    opacity: 0.45;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-title {
        font-size: 20px;
    }
}
