/* Components CSS - Header and Footer Styles */

:root {
    --primary: #274C77;
    --secondary: #E7ECEF;
    --accent: #6096BA;
    --text-primary: #000000;
    --text-secondary: #8B8C89;
    --bg-primary: #E7ECEF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #A3CEF1;
    --bg-dark: #274C77;
    --border-color: #DEE2E6;
    --placeholder-bg: #F8F9FA;
    --placeholder-border: #8B8C89;
    --placeholder-text: #8B8C89;
    --header-height: 80px;
    --header-separator-color: #8B8C89;
    --header-shadow-color: rgba(139, 140, 137, 0.1);
}

/* Header Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--placeholder-border);
    box-shadow: 0 1px 3px rgba(139, 140, 137, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10vw;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-text {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-login {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-login:hover {
    background: var(--primary);
    color: white;
}

.nav-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 3px;
    padding: 5px;
}

.nav-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
}

/* Footer Styles */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
    position: relative;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h5 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.footer-column a:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

.footer-column p {
    color: white;
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: white;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

.credits {
    color: white;
    font-size: 0.75rem;
    margin: 0.5rem 0 0 0;
}

.footer-corner-logo {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    opacity: 0.3;
}

.store-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: stretch;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.875rem;
    height: 36px;
    box-sizing: border-box;
}

.newsletter-form input::placeholder {
    color: var(--placeholder-text);
}

.newsletter-form button {
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 36px;
    box-sizing: border-box;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-menu-toggle {
        display: flex;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .footer .container {
        padding: 0 0.5rem;
    }
}