/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container Constraint */
.container-fluid {
    max-width: 420px !important;
}

/* Navigation Bar */
.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    letter-spacing: 1px;
}

/* Always show hamburger menu icon on all screen sizes */
.navbar-toggler {
    display: block !important;
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('img/silde-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.8s ease-in;
}

/* Page Header */
.page-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('img/silde-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    border-bottom: 4px solid rgba(255, 255, 255, 0.2);
}

/* Features Section */
.features-section {
    background-color: #FAFAFA;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Screenshot Cards */
.screenshot-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.screenshot-card:hover {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.8s ease-in;
}

/* Cards */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(255, 107, 107, 0.9);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 107, 0.25);
    border-color: rgba(255, 107, 107, 0.5);
}

/* Form Inputs */
.form-control:focus {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

input.form-control,
textarea.form-control,
select.form-control {
    border-radius: 8px;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: #f0f0f0 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    margin-top: 2rem;
    border-top: 1px solid #555;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white !important;
    text-decoration: underline !important;
}

/* Responsive Utilities */
.rounded-lg {
    border-radius: 12px;
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .hero-section {
        min-height: 300px;
    }

    .hero-section h1 {
        font-size: 2rem !important;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .navbar-brand {
        font-size: 1.2rem !important;
    }

    .page-header h1 {
        font-size: 1.5rem !important;
    }

    .cta-section h2 {
        font-size: 1.5rem !important;
    }

    .feature-card {
        padding: 1.2rem !important;
    }
}

/* Utility Classes */
.text-muted {
    color: #6c757d;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-90 {
    opacity: 0.9;
}

.list-unstyled li {
    padding-left: 1.5rem;
}

.list-unstyled li::before {
    content: "✓";
    color: #FF6B6B;
    font-weight: bold;
    margin-left: -1.5rem;
    margin-right: 0.8rem;
}

/* Links */
a {
    transition: color 0.3s ease;
}

/* Message Display */
#formMessage {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

#formMessage.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#formMessage.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Accordion Styling */
.accordion-item {
    border: none !important;
    margin-bottom: 1rem;
}

.accordion-body {
    border-top: none !important;
}

/* Image Placeholder Styles */
.screenshot-card div div {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Form Styling */
#contactForm {
    display: flex;
    flex-direction: column;
}

#contactForm .form-label {
    color: #FF6B6B;
    margin-bottom: 0.5rem;
}

/* Gradient Text (optional) */
.gradient-text {
    color: #FF6B6B;
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

/* Loading Animation (if needed) */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Shadow Effects */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
