/*
Theme Name: From Paddock to Plate
Theme URI: https://example.com/from-paddock-to-plate
Author: Antigravity
Author URI: https://example.com
Description: Food and sustainability education for Melbourne schools
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paddock-to-plate
*/

/* 
 * Material Symbols Outlined Utility
 */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    -webkit-font-feature-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* 
 * Timeline Component
 */
.timeline-container {
    position: relative;
}

/* Horizontal connecting line on desktop */
@media (min-width: 782px) {
    .timeline-step {
        position: relative;
        z-index: 10;
    }

    /* The line that goes behind the steps */
    .timeline-container::before {
        content: '';
        position: absolute;
        top: 24px;
        /* Adjust based on circle size */
        left: 12.5%;
        /* Start from center of first column */
        right: 12.5%;
        /* End at center of last column */
        height: 2px;
        background-color: var(--wp--preset--color--border);
        z-index: 0;
    }
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-weight: bold;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(235, 57, 40, 0.2);
    outline: 8px solid var(--wp--preset--color--white);
    /* Creates the gap effect against the line */
}

/* 
 * Hero Section 
 */
.hero-underline {
    text-decoration: underline;
    text-decoration-color: rgba(235, 57, 40, 0.4);
    text-underline-offset: 8px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: var(--wp--preset--color--primary-light);
    border: 1px solid rgba(235, 57, 40, 0.4);
    color: var(--wp--preset--color--primary);
    width: fit-content;
}

.hero-feature-icon {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section Overrides to fix FSE variable issue */
.hero-section h1.wp-block-heading {
    font-size: var(--wp--preset--font-size--6-xl) !important;
    line-height: 1.1 !important;
}

.hero-form-input {
    width: 100%;
    background-color: #f8fafc;
    /* slate-50 */
    border: 1px solid #e2e8f0;
    /* slate-200 */
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem; /* Increased from 0.875rem */
    outline: none;
    transition: all 0.2s;
}

.hero-form-input:focus {
    box-shadow: 0 0 0 2px var(--wp--preset--color--primary);
    border-color: var(--wp--preset--color--primary);
}

.hero-form-label {
    font-size: 0.75rem; /* Increased from 0.625rem */
    /* 12px */
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    /* slate-400 */
    display: block;
    margin-bottom: 0.25rem;
}

/*
 * Testimonial Section
 */
.testimonial-card {
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.testimonial-quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    opacity: 0.1;
    user-select: none;
    pointer-events: none;
}

.testimonial-avatar {
    border: 2px solid rgba(235, 57, 40, 0.2);
    padding: 0.125rem;
}

/*
 * Alignment Section
 */
.alignment-card {
    border: 1px solid rgba(235, 57, 40, 0.1);
    border-radius: 40px !important;
}

.alignment-tag {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(235, 57, 40, 0.2);
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.partner-logo-card {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.partner-logo-card:hover {
    opacity: 1;
}

.partner-logo-card img {
    opacity: 0.6;
    transition: opacity 0.2s;
    max-width: 100%;
    height: auto;
}

.partner-logo-card:hover img {
    opacity: 1;
}

/*
 * Pricing Section
 */
.pricing-card {
    border: 2px solid var(--wp--preset--color--primary);
    border-radius: 2rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-bottom-left-radius: 1rem;
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-check-icon {
    background-color: rgba(34, 197, 94, 0.1);
    color: rgb(34, 197, 94);
    border-radius: 9999px;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}