/*
Theme Name: Astra Botanify Child
Template: astra
Description: A child theme of Astra with custom Botanify styling for plant identification website
Version: 1.0.0
Text Domain: botanify
*/

/* ===================================
   GLOBAL RESETS
   =================================== */

/* Hide all page titles */
.botanify-theme .entry-header {
    display: none !important;
}

/* Reset Astra container */
.botanify-theme .ast-container {
    max-width: 100%;
    padding: 0;
}

/* Remove all default margins/padding */
.botanify-theme .site-main,
.botanify-theme .content-area,
.botanify-theme article {
    padding: 0 !important;
    margin: 0 !important;
}

/* ===================================
   BASE CONTAINER - REUSABLE
   =================================== */

.botanify-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   SECTIONS - ALL USE SAME STRUCTURE
   =================================== */

/* All sections full width with grey background */
.botanify-section,
.botanify-hero,
.botanify-about-hero,
.botanify-page-hero,
.botanify-about-section,
.botanify-about-feature,
.botanify-about-mission,
.botanify-content-section,
.botanify-stats,
.botanify-features,
.botanify-testimonials,
.botanify-cta-banner {
    background-color: #3F3F3F;
    padding: 60px 0;
    width: 100%;
    margin: 0;
}

/* Hero sections get extra padding */
.botanify-hero,
.botanify-about-hero,
.botanify-page-hero {
    padding: 40px 0;
    text-align: center;
}

/* Alternate background */
.botanify-about-feature-alt {
    background-color: #484848;
}

/* Section borders */
.botanify-about-feature,
.botanify-cta-banner {
    border-top: 1px solid rgba(164, 207, 161, 0.1);
}

/* ===================================
   TYPOGRAPHY - REUSABLE
   =================================== */

/* Titles - Changed to neutral color */
.botanify-about-title,
.botanify-page-title,
.botanify-hero h1 {
    font-size: 3rem;
    color: #E0D9D8;  /* Changed from #A4CFA1 to #E0D9D8 */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

/* Subtitles */
.botanify-about-subtitle,
.botanify-page-subtitle,
.botanify-hero-subtitle {
    font-size: 1.5rem;
    color: #D6CDAE;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* All headings */
h1, h2, h3, h4, h5, h6 {
    color: #E0D9D8;
}

/* Paragraphs */
p {
    color: #D6CDAE;
}

/* Special text classes */
.botanify-lead-text {
    font-size: 1.25rem;
    color: #E0D9D8;
    line-height: 1.8;
    margin-bottom: 30px;
}

.botanify-highlight {
    color: #A4CFA1;
    display: block;
}

.botanify-highlight-text {
    color: #A4CFA1;
    font-size: 1.25rem;
    display: block;
    margin-top: 30px;
    font-weight: 600;
}

/* ===================================
   ABOUT PAGE SPECIFIC ALIGNMENT
   =================================== */

/* Center align about hero section */
.botanify-about-hero {
    text-align: center;
}

/* Left align about content sections by default */
.botanify-about-section,
.botanify-about-feature {
    text-align: left;
}

/* Center align mission section and CTA */
.botanify-about-mission,
.botanify-cta-banner {
    text-align: center;
}

/* Ensure consistent container width for about sections */
.botanify-about-section .botanify-container,
.botanify-about-feature .botanify-container,
.botanify-about-mission .botanify-container {
    max-width: 900px;
}

/* Feature header alignment */
.botanify-about-feature .botanify-feature-header {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.botanify-about-feature .botanify-feature-icon {
    width: 60px;
    height: 60px;
    background-color: #A4CFA1;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.botanify-about-feature .botanify-feature-header h2 {
    color: #E0D9D8;
    font-size: 2rem;
    margin: 0;
}

.botanify-about-feature .botanify-feature-content p {
    color: #D6CDAE;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Mission section specific */
.botanify-mission-content h2 {
    color: #A4CFA1;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.botanify-mission-subtitle {
    color: #E0D9D8;
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-style: italic;
}

.botanify-mission-text {
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   HOMEPAGE SPECIFIC
   =================================== */

.botanify-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.botanify-badge {
    display: inline-block;
    background: rgba(164, 207, 161, 0.1);
    color: #E0D9D8;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #A4CFA1;
    font-size: 14px;
    margin-bottom: 30px;
}

.botanify-hero p {
    font-size: 1.2rem;
    color: #D6CDAE;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons container */
.botanify-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* App buttons */
.botanify-app-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.botanify-app-btn {
    background: transparent;
    border: 2px solid #A4CFA1;
    color: #A4CFA1;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.botanify-app-btn:hover {
    background-color: #A4CFA1;
    color: #366333;
}

/* Stats Section */
.botanify-stats-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.botanify-stats p {
    margin-bottom: 40px;
}

.botanify-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.botanify-stat {
    text-align: center;
}

.botanify-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #E0D9D8;
    display: block;
    margin-bottom: 10px;
}

.botanify-stat-label {
    color: #D6CDAE;
    font-size: 0.9rem;
}

/* Features Grid */
.botanify-features-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.botanify-features h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.botanify-features-subtitle {
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.botanify-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.botanify-feature {
    background: rgba(164, 207, 161, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #366333;
    text-align: center;
}

.botanify-feature-icon {
    width: 60px;
    height: 60px;
    background-color: #A4CFA1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.botanify-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.botanify-feature p {
    line-height: 1.6;
    margin: 0;
}

/* CTA section specific */
.botanify-cta-banner h2 {
    color: #E0D9D8;
    font-size: 2rem;
    margin-bottom: 25px;
}

.botanify-cta-secondary {
    color: #D6CDAE;
    margin-top: 15px;
    font-size: 1rem;
}

/* ===================================
   BUTTONS - REUSABLE
   =================================== */

.botanify-btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.botanify-btn-primary {
    background-color: #A4CFA1 !important;
    color: #366333 !important;
    border: none;
}

.botanify-btn-primary:hover {
    background-color: #366333 !important;
    color: #E0D9D8 !important;
    transform: translateY(-2px);
}

.botanify-btn-secondary {
    background: transparent !important;
    color: #E0D9D8 !important;
    border: 2px solid #6D9AD5;
}

.botanify-btn-secondary:hover {
    background-color: #6D9AD5 !important;
    color: #3F3F3F !important;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.botanify-testimonials-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.botanify-testimonial {
    background: rgba(164, 207, 161, 0.05);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #366333;
}

.botanify-quote {
    font-size: 1.25rem;
    color: #E0D9D8;
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.6;
}

.botanify-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.botanify-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #A4CFA1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.botanify-author-info h4 {
    color: #E0D9D8;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.botanify-author-info p {
    color: #D6CDAE;
    font-size: 0.9rem;
    margin: 0;
}

/* ===================================
   CONTACT FORM STYLES
   =================================== */

.botanify-contact-form-section {
    background-color: #3F3F3F;
    padding: 60px 0;
}

.botanify-form-title {
    color: #E0D9D8;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.botanify-form-subtitle {
    color: #D6CDAE;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 40px;
}

.botanify-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.botanify-form-group {
    margin-bottom: 20px;
}

.botanify-form-group label {
    display: block;
    color: #E0D9D8;
    margin-bottom: 8px;
    font-weight: 600;
}

.botanify-form-group input,
.botanify-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #366333;
    border-radius: 8px;
    background-color: rgba(164, 207, 161, 0.05);
    color: #E0D9D8;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.botanify-form-group input:focus,
.botanify-form-group textarea:focus {
    outline: none;
    border-color: #A4CFA1;
}

.botanify-form-group input::placeholder,
.botanify-form-group textarea::placeholder {
    color: #D6CDAE;
    opacity: 0.7;
}

.botanify-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.botanify-form-message.success {
    background-color: rgba(164, 207, 161, 0.1);
    border: 1px solid #A4CFA1;
    color: #A4CFA1;
}

.botanify-form-message.error {
    background-color: rgba(255, 107, 107, 0.1);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}

/* ===================================
   GRID LAYOUTS
   =================================== */

.botanify-grid {
    display: grid;
    gap: 30px;
}

.botanify-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.botanify-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.botanify-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.botanify-gap-small {
    gap: 15px;
}

.botanify-gap-normal {
    gap: 30px;
}

.botanify-gap-large {
    gap: 45px;
}

/* ===================================
   INFO CARDS
   =================================== */

.botanify-info-card {
    background: rgba(164, 207, 161, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #366333;
    text-align: center;
    transition: transform 0.3s ease;
}

.botanify-info-card:hover {
    transform: translateY(-5px);
}

.botanify-card-icon {
    width: 60px;
    height: 60px;
    background-color: #A4CFA1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.botanify-card-title {
    color: #E0D9D8;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.botanify-card-content {
    color: #D6CDAE;
    line-height: 1.6;
    margin-bottom: 20px;
}

.botanify-card-link {
    color: #A4CFA1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.botanify-card-link:hover {
    color: #E0D9D8;
}

.botanify-card-bordered {
    border: 2px solid #A4CFA1;
}

.botanify-card-featured {
    background: rgba(164, 207, 161, 0.1);
    border: 2px solid #A4CFA1;
}

/* ===================================
   MOBILE RESPONSIVENESS
   =================================== */

@media (max-width: 768px) {
    /* Reduce section padding on mobile */
    .botanify-section,
    .botanify-hero,
    .botanify-about-hero,
    .botanify-page-hero,
    .botanify-about-section,
    .botanify-about-feature,
    .botanify-about-mission,
    .botanify-content-section,
    .botanify-stats,
    .botanify-features,
    .botanify-testimonials,
    .botanify-cta-banner {
        padding: 40px 0;
    }
    
    /* Typography adjustments */
    .botanify-about-title,
    .botanify-page-title,
    .botanify-hero h1 {
        font-size: 2rem;
    }
    
    .botanify-about-subtitle,
    .botanify-page-subtitle,
    .botanify-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .botanify-stat-number {
        font-size: 2rem;
    }
    
    /* Feature adjustments */
    .botanify-about-feature .botanify-feature-header {
        flex-direction: column;
        text-align: center;
    }
    
    .botanify-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Button adjustments */
    .botanify-buttons,
    .botanify-app-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .botanify-btn,
    .botanify-app-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Stats grid on mobile */
    .botanify-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Container padding adjustment */
    .botanify-container {
        padding: 0 15px;
    }
    
    /* Testimonial adjustments */
    .botanify-testimonial {
        padding: 25px;
    }
    
    .botanify-author {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Form adjustments */
    .botanify-contact-form {
        padding: 0 15px;
    }
}