/* ===========================
   HEADER & FOOTER STYLES
   =========================== */

/* HEADER & NAVIGATION */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2C3E50;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: #C41E3A;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    color: #C41E3A;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #2C3E50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
}

.nav-link:hover {
    color: #C41E3A;
}

.nav-link.nav-cta {
    background-color: #C41E3A;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link.nav-cta:hover {
    background-color: #a01828;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    margin: 10px 0 0 0;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
}

.nav-item.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.nav-item.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #2C3E50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background-color: #f0f0f0;
    color: #C41E3A;
    padding-left: 25px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2C3E50;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* FOOTER */
.footer {
    background-color: #2C3E50;
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    border-bottom: 2px solid #C41E3A;
    padding-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #C41E3A;
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact strong {
    color: white;
    font-weight: 600;
}

.contact-phone a,
.contact-email a {
    color: #C41E3A;
    font-weight: 600;
    text-decoration: none;
}

.contact-phone a:hover,
.contact-email a:hover {
    text-decoration: underline;
    color: #ff5a6e;
}

.contact-btwid {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #C41E3A;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-links-bottom a:hover {
    color: #C41E3A;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: #f8f9fa;
        margin: 10px 0 0 0;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
}

/* Mobile dropdown fix */
@media (max-width: 768px) {
    .nav-item.dropdown.active .dropdown-menu {
        display: block !important;
    }
}

/* Mobile menu visibility */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block !important;
        position: static;
        box-shadow: none;
        background: #f8f9fa;
    }
}

/* Sticky contact button */
.sticky-contact-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: none;
    background-color: #C41E3A;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
    transition: all 0.3s ease;
}

.sticky-contact-btn:hover {
    background-color: #a01828;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(196, 30, 58, 0.4);
}

@media (max-width: 768px) {
    .sticky-contact-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        bottom: 15px;
        right: 15px;
    }
}
