/* Professional Background Images - Using professional-bg-2.jpg as subtle backdrop */

/* Global body background for all pages */
body {
    background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), url('../images/professional-bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Hero section with darker overlay */
.hero {
    background: linear-gradient(rgba(44, 44, 44, 0.8), rgba(44, 44, 44, 0.8)), url('../images/professional-bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Features section with light overlay */
.features {
    background: linear-gradient(rgba(248, 249, 250, 0.92), rgba(248, 249, 250, 0.92)), url('../images/professional-bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* UK Map section */
.uk-map-section {
    background: linear-gradient(rgba(233, 236, 239, 0.92), rgba(233, 236, 239, 0.92)), url('../images/professional-bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Page-specific backgrounds - all using the same subtle backdrop */
.companies-page,
.methodology-page,
.research-page,
.contaptia-page,
.news-archive-page,
.board-alert-page,
.data-completeness-page,
.next-steps-page,
.company-details-page {
    background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), url('../images/professional-bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Banner backgrounds matching main menu color */
.banner, .page-header {
    background: rgb(20, 53, 64) !important;
    background-color: rgb(20, 53, 64) !important;
}

/* Section backgrounds with light overlay */
.section {
    background: linear-gradient(rgba(248, 249, 250, 0.92), rgba(248, 249, 250, 0.92)), url('../images/professional-bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Ensure content readability over backgrounds */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.container {
    position: relative;
    z-index: 2;
}

/* Tab content backgrounds */
.tab-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

/* Modal and popup backgrounds */
.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Navigation backgrounds */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Footer backgrounds */
.footer {
    background: linear-gradient(rgba(44, 44, 44, 0.9), rgba(44, 44, 44, 0.9)), url('../images/professional-bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Subtle overlay for better text readability */
.content-overlay {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(1px);
}

/* Ensure all main content areas have proper background */
main, .main-content, .page-content {
    background: transparent;
    position: relative;
    z-index: 1;
}


/* Aptia Footer - Fixed Layout with Bold White Title and Equal Spacing */
.aptia-footer-fixed {
    background: white !important;
    border-top: 3px solid var(--aptia-green) !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.footer-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    min-height: 50px !important;
}

.quick-links-title {
    color: white !important;
    background: var(--aptia-green) !important;
    font-weight: bold !important;
    font-size: 16px !important;
    padding: 8px 15px !important;
    border-radius: 4px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.quick-links-nav {
    display: flex !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 20px !important;
}

.quick-links-nav a {
    color: var(--aptia-green) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
    border-radius: 20px !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.quick-links-nav a:hover {
    color: white !important;
    background: var(--aptia-green) !important;
    border-color: var(--aptia-green) !important;
    transform: translateY(-2px) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column !important;
        padding: 10px !important;
    }
    
    .quick-links-title {
        margin-bottom: 10px !important;
    }
    
    .quick-links-nav {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 0 !important;
    }
    
    .quick-links-nav a {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }
}
