/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
    background-color: transparent;
    /* Changed based on scroll */
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.header.scrolled .nav-links a {
    color: #cc0000;
    /* Slightly darker red on scrolled white background for contrast */
}

.header.scrolled .mobile-menu-btn {
    color: var(--primary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px;
    transition: var(--transition);
    border-radius: 8px;
    /* Depending on the logo style */
}

.header.scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    /* made slightly bolder for readability with red */
    color: #e60000;
    /* Red color as requested */
    font-size: 1.05rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* better visibility on dark hero */
}

.header.scrolled .nav-links a {
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--text-light);
    /* Default white */
    cursor: pointer;
    background: none;
    border: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header.scrolled .mobile-menu-btn {
    text-shadow: none;
}

/* Sticky Footer CTA */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 999;
    display: flex;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.sticky-footer a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.sticky-footer a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.sticky-footer a:hover::before {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.call-now-btn {
    background-color: var(--primary-color);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.call-now-btn:hover {
    background-color: #002244;
}

.whatsapp-btn {
    background-color: #25D366;
    /* WhatsApp Green */
}

.whatsapp-btn:hover {
    background-color: #20b858;
}

/* Global Footer */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cccccc;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaaaaa;
    font-size: 0.85rem;
}