/* ============================================
   layout.css — Navigation, Footer, Top Bar
   ============================================ */

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Main Navigation */
.main-nav {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link .arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

/* Dropdown */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    padding: 8px 0;
    z-index: 1001;
}

.nav-item:hover .submenu {
    display: block;
}

.submenu-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.submenu-link:hover {
    background: var(--gray-light);
    color: var(--primary-blue);
    padding-left: 28px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--footer-bg, #1a1a2e);
    color: var(--gray-light);
    padding: 60px 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.footer-column p,
.footer-column a {
    color: var(--gray-medium);
    font-size: 14px;
    line-height: 2;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: var(--gray-medium);
    font-size: 13px;
}
