/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eef1f5 !important; /* Light grayish blue background - added important */
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #4a6fa5; /* Muted blue header */
    color: white;
    padding: 2.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    font-size: 2.5rem;
}

header p {
    margin: 0;
    font-weight: 300;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* App Grid Section */
.app-grid h2 {
    text-align: center;
    font-size: 2rem;
    color: #3b5998; /* Slightly darker blue for section heading */
    margin-bottom: 2rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 2rem;
}

/* App Card Styling */
.app-card {
    background-color: #ffffff !important; /* White background - added important */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.app-image-placeholder {
    background-color: #dbe4f0; /* Lighter blue placeholder background */
    height: 250px; /* Increased height for better image fit */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8fa6c4; /* Muted text color for placeholder */
    font-weight: bold;
    overflow: hidden; /* Prevent cutoff */
    position: relative; /* Needed for absolute positioning of img if used */
    padding: 15px; /* Moderate padding for safety */
}

/* Style the actual image inside the placeholder */
.app-image-placeholder img.app-icon {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 75% !important;
    max-height: 75% !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    border-radius: 22% !important;
    /* Optional: Add a subtle background if images have transparency */
    /* background-color: #fff; */
}

/* Remove or comment out the specific styling for the placeholder span if no longer needed */
/*
.app-image-placeholder span {
     font-weight: bold;
     color: #8fa6c4;
}
*/

/* Remove the general img uncomment rule, we added a specific one */
/*
.app-image-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/

.app-info {
    padding: 1.5rem;
    flex-grow: 1; /* Allows info section to fill space */
    display: flex;
    flex-direction: column;
}

.app-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: #4a6fa5;
}

.app-info p {
    margin-bottom: 1rem;
    flex-grow: 1; /* Pushes button to the bottom */
    color: #555;
}

.btn-view-app {
    display: inline-block;
    background-color: #5d8ac7; /* Button color */
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Aligns button to bottom */
}

.btn-view-app:hover {
    background-color: #4a6fa5; /* Darker blue on hover */
    text-decoration: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #d1d9e6; /* Subtle border top */
}

/* Carousel Styles for AwesomeCopy Mobile */
.carousel-container {
    text-align: center;
    margin-bottom: 2rem;
}

.carousel-container h2 {
    color: #4a6fa5;
    margin-bottom: 1rem;
}

.carousel {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 15px;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-image.active {
    display: block;
}

/* Features container styling */
.features-container {
    max-width: 600px;
    margin: 2rem auto;
}

.features-container h2 {
    color: #4a6fa5;
    text-align: center;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    background-color: #ffffff;
    margin-bottom: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #5d8ac7;
}

/* Carousel features section layout */
#carousel-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* App Store button styling */
.app-store-btn {
    display: inline-block;
    background-color: #000;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.app-store-btn:hover {
    background-color: #333;
    text-decoration: none;
}

/* Back button styling */
.back-btn {
    color: #4a6fa5;
    text-decoration: none;
    font-weight: bold;
    margin-left: 1rem;
}

.back-btn:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }
    header p {
        font-size: 1rem;
    }
    .app-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
    
    /* Stack carousel and features on mobile */
    #carousel-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .carousel {
        max-width: 250px;
    }
} 