/**
 * Footer Fixes
 * Solves white space issue at bottom
 * Colors app download buttons
 */

/* Fix footer white space issue */
footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

footer .container:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 2rem !important;
}

/* Remove extra white space after newsletter */
.newsletter-section {
    margin-bottom: 0 !important;
}

/* Ensure footer sticks to bottom */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    flex-shrink: 0;
}

/* App Download Buttons - iOS & Android Branding Colors */
.app-download-ios {
    background: linear-gradient(135deg, #000000 0%, #434343 100%);
    color: #ffffff;
    border: 1px solid #000000;
    transition: all 0.3s ease;
}

.app-download-ios:hover {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.app-download-ios svg,
.app-download-ios .icon {
    color: #ffffff;
}

.app-download-android {
    background: linear-gradient(135deg, #3DDC84 0%, #00C853 100%);
    color: #ffffff;
    border: 1px solid #00C853;
    transition: all 0.3s ease;
}

.app-download-android:hover {
    background: linear-gradient(135deg, #00C853 0%, #009624 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 200, 83, 0.3);
}

.app-download-android svg,
.app-download-android .icon {
    color: #ffffff;
}

/* Alternative: Official brand colors with icons */
.app-store-button {
    background: linear-gradient(135deg, #1B1B1B 0%, #000000 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-store-button:hover {
    background: linear-gradient(135deg, #000000 0%, #1B1B1B 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.app-store-button .icon-apple {
    font-size: 1.5rem;
}

.google-play-button {
    background: linear-gradient(135deg, #3DDC84 0%, #00C853 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.google-play-button:hover {
    background: linear-gradient(135deg, #00C853 0%, #009624 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 200, 83, 0.4);
}

.google-play-button .icon-play {
    font-size: 1.5rem;
}

/* App buttons container */
.app-buttons-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .app-buttons-container {
        flex-direction: column;
    }
    
    .app-store-button,
    .google-play-button {
        width: 100%;
        justify-content: center;
    }
}

/* Badge style buttons */
.app-badge {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.app-badge:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Fix any margin/padding issues at page bottom */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.min-h-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ensure newsletter form doesn't create extra space */
form {
    margin-bottom: 0;
}

/* Footer bottom section */
footer .border-t {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
}
