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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: #2d2d2d;
    background-color: #faf9f7;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header and Navigation */
header {
    background-color: #3d5a3d;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.logo h1 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Logo image styling */
.logo .brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo img {
    height: 44px;
    width: auto;
    display: block;
}

.brand-text {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
    .brand-text {
        font-size: 1.5rem;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Hero Section */
.hero {
    background: linear-gradient(160deg, #3d5a3d 0%, #5a7a5a 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

/* Photo banner used on the index page */
.photo-banner {
    background-image: url('../pannage/assets/in-woods-2.JPG');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 4.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.photo-overlay {
    background: rgba(29, 47, 29, 0.55);
    padding: 2rem;
    border-radius: 12px;
    max-width: 980px;
    text-align: center;
}

.photo-overlay h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    color: #fff;
}

.photo-overlay p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .photo-banner {
        padding: 2.5rem 1rem;
    }
    .photo-overlay h2 {
        font-size: 1.4rem;
    }
}

.hero-content h2 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #3d5a3d;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

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

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

.content {
    padding: 4rem 2rem;
}

.content h2 {
    color: #3d5a3d;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.content > .container > p {
    font-size: 1.1rem;
    max-width: 700px;
    color: #4a4a4a;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature {
    background: #fff;
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid #e8e6e3;
}

.feature h3 {
    color: #3d5a3d;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature p {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.6;
}

/* Order Section */
.order-section {
    margin-top: 4rem;
    padding: 3rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e6e3;
    text-align: center;
}

.order-section h2 {
    margin-bottom: 1rem;
}

.order-section p {
    color: #5a5a5a;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.order-section .cta-button {
    background-color: #3d5a3d;
    color: #fff;
}

.order-section .cta-button:hover {
    background-color: #4a6b4a;
}

/* About Page Sections */
.about-section {
    background: #fff;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e8e6e3;
}

/* About page visual */
.about-visual {
    text-align: center;
    margin-bottom: 1.25rem;
}

.about-image {
    width: 100%;
    max-width: 820px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e8e6e3;
    display: inline-block;
}

/* Contact page visual (reuses similar styling to about-image) */
.contact-visual {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-image {
    width: 100%;
    max-width: 720px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e8e6e3;
    display: inline-block;
}

/* Where to Buy visual */
.where-visual {
    text-align: center;
    margin-bottom: 1rem;
}

.where-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e8e6e3;
    display: inline-block;
}

/* Layout for where-to-buy: image + text side-by-side when wide */
.where-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

@media (min-width: 700px) {
    .where-row {
        grid-template-columns: 40% 60%;
        gap: 1.5rem;
    }
    .where-visual {
        margin-bottom: 0;
        text-align: left;
    }
    .where-image {
        max-width: 100%;
        height: auto;
    }
}

/* Two-column layout for visual + How the Pigs Live */
.about-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

@media (min-width: 700px) {
    .about-row {
        grid-template-columns: 1fr 1fr;
    }
    .about-visual {
        margin-bottom: 0;
        text-align: left;
    }
    .about-image {
        max-width: 100%;
        height: auto;
    }
}

.about-section h3 {
    color: #3d5a3d;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-section p {
    font-size: 1.05rem;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
}

.about-section p:last-child {
    margin-bottom: 0;
}

/* Contact Page */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
}

.contact-section > p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid #e8e6e3;
    border-radius: 10px;
    text-decoration: none;
    color: #2d2d2d;
    transition: all 0.2s ease;
}

.contact-card:hover {
    border-color: #3d5a3d;
    background: #f8faf8;
}

.contact-card i {
    font-size: 1.5rem;
    color: #3d5a3d;
    width: 32px;
    text-align: center;
}

.contact-card span {
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-info-box {
    background: #fff;
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid #e8e6e3;
    margin-bottom: 1.5rem;
}

.contact-info-box h3 {
    color: #3d5a3d;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info-box p {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

.contact-note {
    padding: 1rem 1.25rem;
    background-color: #f5f5f0;
    border-left: 3px solid #3d5a3d;
    border-radius: 0 8px 8px 0;
}

.contact-note p {
    font-size: 0.95rem;
    color: #5a5a5a;
    margin: 0;
}

/* Footer */
footer {
    background-color: #3d5a3d;
    color: white;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 0.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 3.5rem 1.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .content {
        padding: 2.5rem 1.5rem;
    }

    .content h2 {
        font-size: 1.75rem;
    }

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

    .order-section {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .social-follow {
        flex-direction: column;
    }
}

/* Page Intro */
.page-intro {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

/* Prices Page */
.price-section {
    background: #fff;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e8e6e3;
}

.price-section h3 {
    color: #3d5a3d;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.price-section > p {
    color: #5a5a5a;
    margin-bottom: 1.25rem;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #f8f8f6;
    border-radius: 8px;
}

.cut-name {
    font-weight: 500;
    color: #2d2d2d;
}

.cut-price {
    font-weight: 600;
    color: #3d5a3d;
}

.price-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Where to Buy Page */
.location-section {
    background: #fff;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e8e6e3;
}

.location-section h3 {
    color: #3d5a3d;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.location-section h3 i {
    margin-right: 0.5rem;
}

.location-section > p {
    color: #5a5a5a;
    margin-bottom: 1.25rem;
}

.location-list {
    margin-bottom: 1rem;
}

.location-item {
    padding: 1.25rem;
    background: #f8f8f6;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.location-item strong {
    display: block;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.location-item p {
    color: #5a5a5a;
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.location-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.social-follow {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.social-button.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.social-button.instagram:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.social-button.facebook {
    background: #1877F3;
    color: #fff;
}

.social-button.facebook:hover {
    transform: translateY(-2px);
    background: #166fe5;
}

.wholesale-section {
    background: #f8faf8;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 1px solid #d0e0d0;
}

.wholesale-section h3 {
    color: #3d5a3d;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.wholesale-section h3 i {
    margin-right: 0.5rem;
}

.wholesale-section p {
    color: #4a4a4a;
    margin-bottom: 1rem;
}

.cta-button.secondary {
    background-color: transparent;
    color: #3d5a3d;
    border: 2px solid #3d5a3d;
}

.cta-button.secondary:hover {
    background-color: #3d5a3d;
    color: #fff;
}
