/* ANSAI Creative Platform Styling */

/* Hero Section - Make it pop */
.hero-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white !important;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(25, 118, 210, 0.3);
}

/* Force ALL text in hero to white - maximum specificity */
.hero-section *,
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Removed - now using specific hero h1 rule below */

.hero-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 1 !important;
}

.hero-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p,
.hero-section strong {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 1 !important;
    color: white !important;
}

/* Building Examples - Creative tabs */
.building-examples {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 5px solid #1976d2;
}

.building-examples h3 {
    color: #1976d2;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Community Gallery Cards - Blue and White */
.admonition.success {
    border-left: 5px solid #1976d2;
    background: linear-gradient(to right, #e3f2fd 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.admonition.success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.2);
}

.admonition.success .admonition-title {
    background: #1976d2;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Grid Cards - More playful */
.md-typeset .grid.cards>:-webkit-any(ol,ul)>li {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.md-typeset .grid.cards>:-webkit-any(ol,ul)>li:hover {
    border-color: #1976d2;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.15);
}

.md-typeset .grid.cards>:is(ol,ul)>li {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.md-typeset .grid.cards>:is(ol,ul)>li:hover {
    border-color: #1976d2;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.15);
}

/* Icons in cards - Make them colorful */
.md-typeset .grid.cards .lg {
    color: #1976d2;
}

/* Community CTA */
.community-cta {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(25, 118, 210, 0.3);
}

.community-cta h1,
.community-cta h2,
.community-cta h3,
.community-cta h4,
.community-cta p,
.community-cta strong {
    color: white !important;
}

.community-cta h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Cards inside Community CTA - White with blue accents */
.community-cta .grid.cards li {
    background: white !important;
    border: 2px solid rgba(255,255,255,0.3);
    text-align: left;
}

.community-cta .grid.cards li:hover {
    border-color: #bbdefb;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.community-cta .grid.cards li .lg {
    color: #1976d2 !important;
}

.community-cta .grid.cards li h3,
.community-cta .grid.cards li p {
    color: #333 !important;
}

.community-cta a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 600;
}

.community-cta a:hover {
    color: #1565c0;
    text-decoration: underline;
}

/* Stats section */
.stats {
    background: linear-gradient(to right, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #1976d2;
}

.stats ul {
    list-style: none;
    padding: 0;
}

.stats li {
    font-size: 1.2rem;
    padding: 0.5rem 0;
    font-weight: 600;
}

/* Final CTA - Blue and White */
.final-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(25, 118, 210, 0.3);
}

.final-cta h1,
.final-cta h2,
.final-cta h3,
.final-cta h4,
.final-cta p,
.final-cta strong {
    color: white !important;
}

.final-cta p {
    font-size: 1.4rem;
    line-height: 2;
    margin: 0.5rem 0;
    font-weight: 600;
}

/* Tagline */
.tagline {
    text-align: center;
    padding: 2rem;
    font-style: italic;
    opacity: 0.7;
}

.tagline p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

/* Build Inspiration Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.grid li {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    font-weight: 600;
    transition: all 0.3s ease;
}

.grid li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

/* Buttons - More prominent */
.md-button {
    border-radius: 8px;
    font-weight: 700;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.md-button--primary {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    border: none;
}

.md-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

.md-button--large {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

/* Quote blocks - More creative */
.md-typeset blockquote {
    border-left: 5px solid #1976d2;
    background: linear-gradient(to right, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 8px;
    font-style: italic;
}

/* Admonitions - Playful styling */
.md-typeset .admonition {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.md-typeset .admonition.quote {
    background: linear-gradient(to right, #e3f2fd 0%, #ffffff 100%);
    border-left: 5px solid #1976d2;
}

/* Code blocks - Softer styling */
.md-typeset pre>code {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Navigation - Emphasize creative sections */
.md-nav__link[href*="show-and-tell"],
.md-nav__link[href*="community"] {
    color: #1976d2;
    font-weight: 700;
}

/* Page title - Make it bigger */
.md-typeset h1:not(.hero-section h1) {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero h1 - Keep it solid white and bold */
.hero-section h1 {
    font-size: 3rem;
    font-weight: 900;
    color: white !important;
    /* Remove gradient effect for hero */
    background: none !important;
    -webkit-text-fill-color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Section headers - More colorful */
.md-typeset h2 {
    color: #1976d2;
    font-weight: 800;
    border-bottom: 3px solid #1976d2;
    padding-bottom: 0.5rem;
}

/* Horizontal rules - More stylish */
.md-typeset hr {
    border: none;
    height: 3px;
    background: linear-gradient(to right, transparent 0%, #1976d2 50%, transparent 100%);
    margin: 3rem 0;
}

/* Link styling - More prominent */
.md-typeset a {
    color: #1976d2;
    font-weight: 600;
    transition: all 0.2s ease;
}

.md-typeset a:hover {
    color: #1565c0;
    text-decoration: underline;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .md-typeset h1 {
        font-size: 2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Add playful emoji sizing */
.md-typeset h1:before,
.md-typeset h2:before,
.md-typeset h3:before {
    font-size: 1.2em;
}

/* Make the docs feel alive with subtle animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-section {
    animation: float 6s ease-in-out infinite;
}

/* Community showcase special styling */
.md-typeset .admonition.success::before {
    content: "🎨";
    font-size: 2rem;
    float: left;
    margin-right: 1rem;
}

/* Community cards hover effects */
.md-typeset div[style*="border: 2px solid #e0e0e0"]:hover {
    border-color: #1976d2 !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.15);
}

