/*
//  Created by Charlie Manning, Little Guy Dev, LLC on April 30, 2025.
//  Copyright © 2025 The Sacred Circle. All rights reserved.
*/

/* Home page specific styles (Material 3 themed) */

.hero {
    position: relative;
    /* Adjust height as needed, vh might not be ideal without content dictating height */
    min-height: 60vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-text-color);
    overflow: hidden;
    padding: 2rem 1rem; /* Add padding */
}

.hero video {
    position: absolute;
    top: 50%; /* Center video */
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; 
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.hero::after { /* Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* MD3 surface overlay with starfield sparkle */
    background: linear-gradient(rgba(14,10,20,0.55), rgba(14,10,20,0.55));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--light-text-color); /* Ensure contrast over video */
    font-family: var(--md-ref-typeface-brand);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text-color); /* Ensure contrast over video */
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: var(--md-sys-shape-corner-extra-large);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: var(--md-sys-elevation-level1);
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--md-sys-elevation-level2);
}

/* Features Section (Refined from styles.css) */
.features-section {
    max-width: 1200px;
    margin: 0 auto; /* Center the section */
    padding: 4rem 2rem;
}

/* Remove chip spacing on home since chips are hidden */
.features-section .chip-set { display: none; }

.features-section ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin-top: 2rem; /* Use margin-top instead of padding */
}

.feature-card { /* MD3 elevated card */
    background-color: var(--md-sys-color-surface);
    border-radius: var(--md-sys-shape-corner-large);
    padding: 2rem;
    box-shadow: var(--md-sys-elevation-level1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 1rem 0; /* Add vertical spacing so adjacent rounded corners don't touch */
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--md-sys-elevation-level2);
}

.feature-icon {
    font-size: 3rem; /* Add back font-size for text/emoji icons */
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1; /* Adjust line-height for text/emoji */
}

.feature-icon img { /* Styles ONLY for image icons */
    max-width: 60px; 
    max-height: 60px; 
    height: auto;
    display: block; /* Ensure image behaves like a block */
    margin: 0 auto; /* Center image if needed within the div */
    line-height: 0; /* Reset line-height specific to image */
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-family: var(--md-ref-typeface-brand);
}

.feature-card p {
    font-size: 1rem; /* Added font size */
    color: var(--text-color);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 4rem 2rem;
    text-align: center;
}

.testimonials-section h2 {
     color: var(--light-text-color); /* Ensure heading is visible */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.testimonial-card {
    background-color: rgba(255,255,255,0.1);
    border-radius: var(--md-sys-shape-corner-large);
    padding: 2rem;
    backdrop-filter: blur(2px);
}

.testimonial-card p:last-child {
    margin-top: 1rem; /* Space before name */
    font-weight: 600;
}

/* App Screenshots Section */
.app-screenshots-section {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.screenshot {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--md-sys-elevation-level1);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Download Section (Refined from styles.css) */
.download-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--light-text-color);
    padding: 4rem 2rem;
    text-align: center;
}

.download-section h2,
.download-section p {
    color: var(--light-text-color); /* Ensure text visibility */
}

.app-buttons {
    display: flex;
    justify-content: center;
    align-items: center; /* Align buttons */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 1rem;
    margin-top: 2rem;
}

/* Re-using .cta-button for consistency, or define .app-store-button if different */
/* Example using .cta-button styling: */
.app-buttons .cta-button {
     background-color: var(--accent-color);
     color: var(--primary-color);
}
.app-buttons .cta-button.google-play {
     /* Add specific styles for Google Play if needed */
     background-color: #fff; /* Example */
     color: #333;
}

/* Re-style placeholder buttons from styles.css */
/* Remove or adapt these if .cta-button is used above */
/*
.download-section button {
    margin: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-color); 
    color: var(--primary-color);
    border: none;
    border-radius: 50px; 
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s;
}

.download-section button:hover {
    transform: scale(1.05);
}
*/

/* Indie Dev Section */
.indie-dev-section {
    background-color: var(--background-color); /* Use defined bg color */
    padding: 4rem 2rem;
    text-align: center;
}

.indie-dev-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Coming Soon Section */
.coming-soon-section {
    background-color: #fff; /* White background for contrast */
    padding: 4rem 2rem;
    text-align: center;
}

.coming-soon-content {
     max-width: 800px;
     margin: 0 auto;
}

.coming-soon-section ul {
    list-style: disc; /* Use standard bullets */
    text-align: left;
    display: inline-block; /* Center the list block */
    margin-top: 1.5rem; 
    padding-left: 20px; /* Indent list items */
}

.coming-soon-section li {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments for home page */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem; /* Adjust hero heading size */
    }
    
    .hero p {
        font-size: 1.1rem; /* Adjust hero paragraph size */
    }

    .features-section ul {
        grid-template-columns: 1fr; /* Stack features */
    }

    .testimonial-grid {
         grid-template-columns: 1fr; /* Stack testimonials */
    }

    .screenshot-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust screenshot layout */
    }
    
    .app-buttons {
        flex-direction: column; /* Stack download buttons */
        align-items: center;
    }

    .indie-dev-section,
    .coming-soon-section {
        padding: 3rem 1rem;
    }
}
