/**
 * File: assets/css/spotlight-landing-styles.css
 * Styles for the Aquarist Spotlight landing page shortcode.
 */

.as-landing-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.as-landing-hero {
    /* REMOVED: background-image property is now set inline via PHP */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 80px 40px;
    border-radius: 24px;
    text-align: center;
    color: #ffffff; /* Fallback text color */
    margin-bottom: 60px;
    box-shadow: 0 20px 50px rgba(24, 23, 67, 0.3);
}

/* Using a more specific selector to override theme styles */
.as-landing-page-container .as-landing-hero .as-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 16px 0;
    text-shadow: 0 3px 15px rgba(0,0,0,0.4);
    color: #ffffff; /* Explicitly set text color to white */
}

/* Using a more specific selector to override theme styles */
.as-landing-page-container .as-landing-hero .as-hero-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    color: #ffffff; /* Explicitly set text color to white */
}

/* Main Content Layout */
.as-landing-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Dynamic Form Container */
#as-landing-form-container {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.as-form-loading-spinner {
    text-align: center;
    color: #646970;
}

.as-form-loading-spinner i {
    font-size: 48px;
    color: #f38221;
    margin-bottom: 16px;
}

/* Info Section */
.as-landing-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.as-info-box {
    text-align: center;
}

.as-info-box i {
    font-size: 32px;
    color: #f38221;
    margin-bottom: 16px;
}

.as-info-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #181743;
    margin: 0 0 8px 0;
}

.as-info-box p {
    font-size: 16px;
    color: #646970;
    line-height: 1.5;
    margin: 0;
}

/* Example Spotlights Section */
.as-landing-examples-section {
    margin-top: 80px;
}

.as-landing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Responsive */
@media (max-width: 992px) {
    .as-landing-main-content {
        grid-template-columns: 1fr;
    }
    .as-landing-info-section {
        margin-top: 60px;
        flex-direction: row;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .as-hero-title {
        font-size: 36px;
    }
    .as-hero-subtitle {
        font-size: 18px;
    }
    .as-landing-info-section {
        flex-direction: column;
    }
}