/* ========================================
   CUSTOM HEADER STYLES
   ======================================== */

/* Header Container */
.custom-site-header {
    background-color: rgba(0, 0, 0, 0);
    padding: 15px 0;
    position: relative;
    z-index: 999;
}

.custom-header-container {
    max-width: 92.1%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.custom-header-left {
    display: flex;
    align-items: center;
}

.custom-site-logo img {
    max-height: 40px;
    width: auto;
}

.custom-site-title {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

/* Header Right */
.custom-header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Navigation Menu */
.custom-main-navigation {
    display: flex;
    align-items: center;
}

.custom-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.custom-menu-list li {
    margin: 0;
    padding: 0;
}

.custom-menu-list a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.custom-menu-list a:hover {
    color: #7c3aed;
}

/* Contact Button */
.custom-header-cta {
    display: flex;
}

.custom-btn-contacto {
    background: #7c3aed;
    color: #fff;
    padding: 10px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.custom-btn-contacto:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    color: #7c3aed;
    border: 2px solid #7c3aed;
    background: transparent;
}

/* Mobile Menu Toggle */
.custom-mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.custom-mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.custom-mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.custom-mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.custom-mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.custom-mobile-menu {
    display: none;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.custom-mobile-menu.active {
    max-height: 500px;
}

.custom-mobile-navigation {
    padding: 20px;
}

.custom-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-mobile-menu-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.custom-mobile-menu-list li:last-child {
    border-bottom: none;
}

.custom-mobile-menu-list a {
    display: block;
    padding: 15px 10px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-mobile-menu-list a:hover {
    color: #7c3aed;
    background-color: #f9f9f9;
    padding-left: 20px;
}

.custom-mobile-menu-list a.mobile-contacto {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff !important;
    border-radius: 10px;
    margin-top: 10px;
    text-align: center;
}

.custom-mobile-menu-list a.mobile-contacto:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
    padding-left: 10px;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .custom-menu-list {
        gap: 20px;
    }

    .custom-menu-list a {
        font-size: 15px;
    }

    .custom-header-right {
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .custom-site-header {
        padding: 12px 0;
    }

    .custom-header-container {
        padding: 0 15px;
    }

    /* Hide desktop menu and show mobile toggle */
    .custom-main-navigation,
    .custom-header-cta {
        display: none;
    }

    .custom-mobile-menu-toggle {
        display: flex;
    }

    .custom-mobile-menu {
        display: block;
    }

    .custom-site-logo img {
        max-height: 35px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .custom-header-container {
        padding: 0 10px;
    }

    .custom-site-logo img {
        max-height: 30px;
    }

    .custom-mobile-menu-toggle {
        width: 28px;
        height: 22px;
    }
}

/* ========================================
   FILTER STYLES
   ======================================== */

.blue-filter{
    filter: brightness(0) saturate(100%) invert(16%) sepia(96%) saturate(4140%) hue-rotate(259deg) brightness(87%) contrast(115%);
}

.pink-filter{
    filter: brightness(0) saturate(100%) invert(25%) sepia(73%) saturate(6144%) hue-rotate(328deg) brightness(98%) contrast(107%);
}

.purple-filter{
    filter: brightness(0) saturate(100%) invert(11%) sepia(27%) saturate(5530%) hue-rotate(261deg) brightness(113%) contrast(140%);
}

/* ========================================
   CUSTOM FOOTER STYLES
   ======================================== */

/* Footer Container */
.custom-footer {
    margin: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* CTA Section - Purple background with decorative shapes */
.footer-cta-section {
    position: relative;
    background-image: url('./assets/images/bg-footer-desk.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    width: 80%;
    border-radius: 50px;
}

.footer-cta-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Decorative Phone Icon */
.footer-phone-icon {
    position: absolute;
    top: -10%;
    right: -1%;
    z-index: 3;
}

.footer-phone-icon img {
    width: 120px;
    height: auto;
}

/* CTA Content */
.footer-cta-content {
    text-align: center;
    color: #ffffff;
}

.footer-cta-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.footer-cta-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.footer-cta-button {
    display: inline-block;
    background: #ffffff;
    color: #6B21A8;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.footer-cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Social Icons */
.footer-social-icons {
    margin-top: 40px;
}

.social-icons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons-list li {
    margin: 0;
}

.social-icons-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 0;
}

.social-icons-list a:hover {
    transform: translateY(-3px);
}



/* Bottom Footer Section */
.footer-bottom-section {
    background: #F4F7FA;
    padding: 40px 20px;
    width: 80%;
    box-shadow: 0px 10px 21px -9px rgba(0, 0, 0, 0.3);
    border-radius: 40px;
}

.footer-bottom-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Footer Navigation */
.footer-navigation {
    margin-bottom: 30px;
}

.footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-menu-list li {
    margin: 0;
}

.footer-menu-list a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-menu-list a:hover {
    color: #6B21A8;
}

/* Copyright Text */
.footer-copyright {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Mobile Background */
    .footer-cta-section {
        background-image: url('./assets/images/bg-footer-mob.webp');
        padding: 60px 20px;
        position: relative;
    }

    /* Phone Icon - Smaller on mobile */
    .footer-phone-icon {
        top: -5%;
        right: 0;
    }

    .footer-phone-icon img {
        width: 80px;
    }

    /* Title - Smaller on mobile */
    .footer-cta-title {
        font-size: 28px;
    }

    .footer-cta-text {
        font-size: 14px;
    }

    /* Button */
    .footer-cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* Social Icons - 2x2 grid */
    .social-icons-list {
        max-width: 150px;
        margin: 0 auto;
        flex-wrap: wrap;
        gap: 15px;
    }



    /* Footer Menu - Stack on mobile */
    .footer-menu-list {
        gap: 15px;
    }

    .footer-menu-list a {
        font-size: 14px;
    }

    /* Copyright */
    .footer-copyright {
        font-size: 12px;
    }

    .footer-bottom-section {
        padding: 30px 20px;
    }
}