/* --- Global & Shared Styles --- */
:root {
    --primary-color-site: #0a4d68;
    --secondary-color-site: #088395;
    --light-color-site: #f8f9fa;
    --dark-color-site: #343a40;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f0f2f5;
    font-family: 'Poppins', sans-serif;
}

body.menu-open {
    overflow: hidden;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

#overlay.active {
    display: block;
}

/* --- Header & Navigation --- */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 45px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color-site);
}

.primary-menu .nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.primary-menu a {
    text-decoration: none;
    color: var(--dark-color-site);
    font-weight: 500;
    transition: color 0.3s ease;
}

.primary-menu a:hover {
    color: var(--secondary-color-site);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 260px;
    box-shadow: var(--box-shadow);
    z-index: 1;
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 10px;
    border: 1px solid #eee;
}

.dropdown-content a {
    color: var(--dark-color-site);
    padding: 12px 20px;
    display: block;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: var(--light-color-site);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown .dropbtn i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn i {
    transform: rotate(180deg);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color-site);
    cursor: pointer;
    z-index: 1001;
}

/* --- Estimator Styles --- */
.main-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.card-title {
    font-weight: 600;
    color: #333;
}
.form-label {
    font-weight: 600;
    color: #555;
}
.btn-primary {
    background-color: #d90429;
    border-color: #d90429;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #b30021;
    border-color: #b30021;
    transform: translateY(-2px);
}
.results-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}
#business-summary h3 {
    font-weight: 600;
    color: #333;
}
.analysis-section {
    margin-bottom: 1rem;
}
.analysis-section h5 {
    font-weight: 600;
    color: #343a40;
}
.strength-badge {
    font-size: 0.9rem;
    padding: 0.4em 0.8em;
    border-radius: 50px;
}
.disclaimer {
    background-color: #fff3cd;
    border-color: #ffeeba;
    border-radius: 10px;
}
.total-asset-value {
    border-top: 1px solid #d4d4d4;
    font-weight: 600;
}
.asset-title {
    font-size: 1.1rem;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 1rem;
}

/* --- Footer Styles --- */
.footer {
    background-color: var(--dark-color-site);
    color: #ccc;
    padding: 40px 20px 20px;
    margin-top: 5rem; /* Add some space above the footer */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #555;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.footer-menu a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}
.footer-menu a:hover {
    color: #fff;
}
.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .primary-menu {
        position: fixed; top: 0; right: 0;
        width: min(80vw, 320px); height: 100vh;
        background-color: #fff; z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    .primary-menu.active { transform: translateX(0); }
    .primary-menu .nav-links {
        flex-direction: column; align-items: flex-start;
        gap: 0; padding: 2rem;
    }
    .primary-menu li { width: 100%; }
    .primary-menu a { padding: 1rem 0; display: block; width: 100%; }
    .dropdown:hover .dropdown-content { display: none; }
    .dropdown-content {
        position: static; display: none; box-shadow: none;
        background-color: #f7f7f7; padding-left: 1rem;
    }
    .dropdown.active > .dropdown-content { display: block; }
    .dropdown.active > a > i { transform: rotate(180deg); }
    .dropdown .dropbtn { display: flex; justify-content: space-between; align-items: center; width: 100%; }

    .footer-content { flex-direction: column; text-align: center; }
    .footer-menu a { margin: 0 10px; display: inline-block; padding: 5px 0; }
}