/* style.css - Consolidated Styles for Acres & Anthem Website */

/* Universal Box Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scroll */
    background: #f8f9fa; /* Consistent background across pages */
}

/* Container for Centering Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05); /* Subtle shadow for header */
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo, .logo-txt {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d5016;
    text-decoration: none; /* Ensure logo is a link */
}

.logo-img {
    max-width: 225px;
    width: 95%;
    margin-right: 5%;
}



/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: #2d5016;
}

/* Hero Section - Main Landing Page */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('https://placehold.co/1920x1080/2d5016/ffffff?text=Hero+Image'); /* Placeholder */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px; /* Account for fixed header */
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section - Subpages */
.subpage-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); /* Placeholder */
    background-size: cover;
    background-position: center;
    height: 50vh; /* Shorter hero for subpages */
    display: flex;
    align-items: center;
    justify-content: center; /* Center content horizontally */
    text-align: center;
    color: white;
    margin-top: 80px; /* Account for fixed header */
}

.subpage-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    background: #2d5016;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2d5016;
}

.cta-button:hover {
    background: transparent;
    color: #2d5016;
    transform: translateY(-2px);
}

/* Section Title (Common) */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d5016;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2d5016;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #666;
}

.about-image {
    background: url('https://placehold.co/600x400/2d5016/ffffff?text=About+Us+Photo'); /* Placeholder */
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products {
    padding: 5rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* Product Specific Images (Placeholders) */
.product-1 { background-image: url('https://placehold.co/300x200/2d5016/ffffff?text=Ribeye'); }
.product-2 { background-image: url('https://placehold.co/300x200/2d5016/ffffff?text=Ground+Beef'); }
.product-3 { background-image: url('https://placehold.co/300x200/2d5016/ffffff?text=Beef+Roast'); }

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2d5016;
}

.product-content p {
    color: #666;
    margin-bottom: 1rem;
}

/* Business Model Section */
.business-model {
    padding: 5rem 0;
    background: #2d5016;
    color: white;
}

.business-model .section-title {
    color: white;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.model-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.model-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #90EE90; /* Light green accent */
}

.model-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #f8f9fa;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-card i {
    font-size: 2rem;
    color: #2d5016;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #666;
}

.testimonial-card h4 {
    color: #2d5016;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2d5016;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: #2d5016;
    margin-right: 1rem;
    width: 20px; /* Fixed width for icon alignment */
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #2d5016;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #1a3a0f;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #1a3a0f; /* Dark green background */
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
    margin-top: 5rem; /* Add margin above footer for subpages */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #90EE90; /* Light green accent */
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    color: #ccc;
}

/* Main content area for subpages (aged_beef.html) */
.main-content {
    padding: 5rem 20px; /* Added horizontal padding here */
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    margin: -50px auto 5rem auto; /* Overlap hero, center and add bottom margin */
    position: relative; /* For z-index */
    z-index: 10; /* Ensure it's above hero for overlap */
    max-width: 900px; /* Limit width for readability */
}

.main-content p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #666;
}

/* Content blocks within subpages */
.content-block {
    margin-bottom: 3rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block.reverse {
    flex-direction: row-reverse; /* For alternating image/text layout */
}

.content-text {
    flex: 2; /* Take more space for text */
    min-width: 300px; /* Ensure text doesn't get too narrow */
}

.content-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2d5016;
}

.content-image {
    flex: 1; /* Take less space for image */
    min-width: 250px; /* Ensure image doesn't get too small */
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* Key Benefits Section (aged_beef.html) */
.key-benefits {
    margin-top: 4rem;
    text-align: center;
}

.key-benefits .section-title {
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: #f0f4ee; /* Lighter green background */
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #2d5016;
}

.benefit-card p {
    font-size: 1rem;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide nav links on smaller screens if you prefer a mobile menu icon */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .subpage-hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid,
    .model-grid,
    .testimonial-grid,
    .benefits-grid { /* Added benefits-grid for responsiveness */
        grid-template-columns: 1fr;
    }

    /* Subpage specific responsive adjustments */
    .content-block {
        flex-direction: column; /* Stack image and text vertically */
        align-items: center;
        text-align: center;
    }

    .content-block.reverse {
        flex-direction: column; /* Ensure stacking even if reversed */
    }

    .content-image {
        width: 90%; /* Make image take more width */
        max-width: 400px; /* Prevent image from getting too large */
        height: 250px;
        margin-bottom: 2rem; /* Add space between image and text */
    }

    .content-text {
        min-width: unset; /* Remove min-width to allow full width */
    }

    .main-content {
        margin: -30px auto 3rem auto; /* Adjust overlap for smaller screens */
        padding: 3rem 15px; /* Adjust padding for smaller screens */
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/*  */
.article-main-img {
    width: 80%;
    text-align: center;
}

.article-list {
    padding-left: 5%;
}

cite, .cite-number, cite a {
    font-size: 0.5em;
    color: #665;
}

.photo-credits-section p {
    font-size: 0.5em;
    color: pink;
}

/* Ranching 101 */
.ranch-101-content-section {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07); 
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px; 
    text-align: center;
    color: #888;
}

.ranch-101-content-section.left {
    text-align: left;
}

.ranch-101-content-section p {
    margin-bottom: 1.5rem; /* Why is this needed? Smells bad. */
}
