/* Import Earthy Theme */
@import url("../../../css/earthy-theme.css");

/* 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);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 72, 88, 0.8) 0%, rgba(139, 115, 85, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--accent-terracotta);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.hero-btn.primary {
    background: var(--accent-terracotta);
    color: var(--white);
}

.hero-btn.primary:hover {
    background: var(--accent-light-brown);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: var(--white);
}

/* Introduction Section */
.introduction-section {
    padding: 6rem 0;
    background: var(--white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.intro-lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent-terracotta);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.intro-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.intro-img:hover {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(42, 72, 88, 0.9));
    color: var(--white);
    padding: 2rem 1.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Farm Tourism Section */
.farm-tourism-section {
    padding: 6rem 0;
    background: var(--neutral-cream);
}

.farm-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.farm-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.farm-benefits h3 {
    font-size: 2rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-left: 4px solid var(--accent-terracotta);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-sage) 100%);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.benefit-content h4 {
    font-size: 1.3rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Gallery Styles */
.farm-gallery,
.cultural-gallery {
    margin-top: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(42, 72, 88, 0.9));
    color: var(--white);
    padding: 2rem 1.5rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Cultural Tourism Section */
.cultural-tourism-section {
    padding: 6rem 0;
    background: var(--neutral-light);
}

.cultural-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.cultural-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.cultural-benefits h3 {
    font-size: 2rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

/* Activities Section */
.activities-section {
    padding: 6rem 0;
    background: var(--white);
}

.activities-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.activities-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--neutral-cream);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-top: 4px solid var(--accent-terracotta);
    text-align: center;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary-green);
}

.activity-icon {
    background: linear-gradient(135deg, var(--accent-terracotta) 0%, var(--primary-brown) 100%);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.activity-content h4 {
    font-size: 1.3rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-weight: 600;
}

.activity-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Impact Table Section */
.impact-table-section {
    padding: 6rem 0;
    background: var(--neutral-light);
}

.table-container {
    max-width: 1000px;
    margin: 0 auto;
}

.impact-table {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.table-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--accent-terracotta) 100%);
    color: var(--white);
}

.header-cell {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
}

.table-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--neutral-beige);
    transition: var(--transition);
}

.table-row:hover {
    background: var(--neutral-cream);
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.level-cell {
    background: var(--neutral-cream);
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--primary-brown);
    border-right: 1px solid var(--neutral-beige);
}

.level-icon {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-sage) 100%);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.level-name {
    font-size: 1.1rem;
}

.content-cell {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-brown) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: #ffffff;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    color: #ffffff;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    color: #ffffff;
}

.cta-btn.primary {
    background: var(--accent-terracotta);
    color: var(--white);
}

.cta-btn.primary:hover {
    background: var(--accent-light-brown);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: var(--white);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    color: #ffffff;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    opacity: 0.9;
}

.cta-feature i {
    font-size: 1.2rem;
    color: var(--accent-terracotta);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
    }

    .level-cell {
        flex-direction: row;
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid var(--neutral-beige);
    }

    .content-cell {
        text-align: center;
        border-bottom: 1px solid var(--neutral-beige);
    }

    .content-cell:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-section {
        height: 80vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

    .intro-text h2 {
        font-size: 2.2rem;
    }

    .intro-lead {
        font-size: 1.2rem;
    }

    .intro-text p {
        font-size: 1rem;
    }

    .intro-img {
        height: 300px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
        text-align: center;
    }

    .benefit-icon {
        margin: 0 auto 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-img {
        height: 200px;
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .activity-card {
        padding: 1.5rem;
    }

    .activity-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .level-cell {
        flex-direction: column;
        gap: 0.8rem;
    }

    .level-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .level-name {
        font-size: 1rem;
    }

    .content-cell {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cta-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .intro-text h2 {
        font-size: 1.8rem;
    }

    .intro-lead {
        font-size: 1.1rem;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .benefit-content h4 {
        font-size: 1.1rem;
    }

    .activity-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .activity-content h4 {
        font-size: 1.1rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .cta-section {
        background: var(--white) !important;
        color: var(--text-dark) !important;
    }

    .hero-overlay {
        display: none;
    }

    .hero-buttons,
    .cta-buttons {
        display: none;
    }

    .benefit-icon,
    .activity-icon,
    .level-icon {
        background: var(--neutral-beige) !important;
        color: var(--text-dark) !important;
    }

    .gallery-overlay {
        position: static;
        background: var(--neutral-light) !important;
        color: var(--text-dark) !important;
        transform: none !important;
    }
}
