﻿.custom-button {
    width: 80%;
    height: 100%;
    padding: 8px 10px;
    background: var(--secondary-main, #FF0000);
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.20);
    overflow: hidden;
    border-radius: 4px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    text-decoration: none;
    cursor: pointer;
}

.button-content {
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: inline-flex;
    text-decoration: none;
}

.user-icon {
    width: 20px;
    height: 20px;
}

.button-text {
    color: var(--secondary-contrast, white);
    font-size: 15px;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 26px;
    letter-spacing: 0.46px;
    word-wrap: break-word;
}

.custom-outlined-button {
    width: 100%;
    height: 100%;
    padding: 8px 22px;
    overflow: hidden;
    border-radius: 4px;
    outline: 1px var(--primary-_states-outlinedBorder, rgba(17, 17, 17, 0.50)) solid;
    outline-offset: -1px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: inline-flex;
}


.nav-icon-img {
    width: 20px;
    height: 20px;
}

.language-dropdown-btn {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
}

    .language-dropdown-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }

.language-dropdown {
    min-width: 120px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.language-option {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

    .language-option:hover {
        background: #f8f9fa;
    }

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .language-dropdown-btn {
        padding: 6px 10px;
        font-size: 14px;
    }

    .flag-icon {
        width: 18px;
        height: 13px;
    }

    .language-dropdown {
        min-width: 110px;
    }
}

@media (max-width: 576px) {
    .language-dropdown-btn {
        padding: 4px 8px;
        font-size: 13px;
    }

    .flag-icon {
        width: 16px;
        height: 12px;
    }
}

.newsletter-section {
    background-color: #F2F2F2;
    padding: 60px 0;
}

.newsletter-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
}

.newsletter-btn {
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    transition: background-color 0.3s;
}

    .newsletter-btn:hover {
        background-color: #555;
        color: white;
    }

.newsletter-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s;
}

    .social-icon:hover {
        opacity: 0.7;
    }

.cta-banner {
    background: url('/assetsFrontend/adv-cover.png');
    color: white;
    height: 100vh;
}

@media (max-width: 991.98px) {
    .navbar {
        height: auto;
        padding: 10px 0;
    }

    .navbar-nav {
        margin-top: 15px;
        text-align: center;
    }

        .navbar-nav .nav-link {
            padding: 10px 0;
        }

    .custom-button, .custom-outlined-button {
        width: auto;
        margin: 5px;
    }

    .d-flex.align-items-center {
        justify-content: center;
    }

    /* Footer adjustments */
    .footer-row-1 .col-lg-9 .d-flex {
        flex-wrap: wrap;
        justify-content: center !important;
        margin-top: 20px;
    }

    .footer-app-section {
        margin: 10px;
    }

    .footer-separator {
        display: none;
    }

    .footer-row-2 .row {
        text-align: center;
    }

    .footer-vertical-separator {
        height: 2px;
        width: 60px;
        margin: 20px auto;
    }

    .footer-row-3 .d-flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-link {
        padding: 5px 10px;
    }

    .footer-link-separator {
        display: none;
    }

    .newsletter-section .row {
        text-align: center;
    }

    .newsletter-section .d-flex.justify-content-end {
        justify-content: center !important;
        margin-top: 20px;
    }
}

@media (max-width: 575.98px) {

    .notification-card {
        padding: 15px !important;
    }

    .footer-row-1 .col-lg-9 .d-flex {
        flex-direction: column;
    }

    .footer-app-section {
        margin: 15px 0;
    }
}

@media (max-width: 991.98px) {

    .navbar-collapse.show ~ .announcement-popup {
        margin-top: 60px;
        transition: margin-top 0.3s ease;
    }

    .navbar-collapse.show ~ .hero-container {
        padding-top: 25vh;
    }
}

@media (max-width: 375px) {

    .custom-button, .custom-outlined-button {
        padding: 6px 16px;
        font-size: 14px;
    }

    .button-text {
        font-size: 14px;
    }

    .notification-card p {
        font-size: 0.9rem;
    }
}

.navbar {
    z-index: 4;
}

.announcement-popup {
    z-index: 3;
    position: relative;
}

/* Mobile navbar controls */
@media (max-width: 991.98px) {
    /* Remove Bootstrap's default navbar-toggler border */
    .navbar-toggler {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    /* Custom toggler with SVG icons */
    .custom-toggler {
        border: none !important;
        padding: 8px;
        position: relative;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        outline: none !important;
        box-shadow: none !important;
    }

        .custom-toggler:focus {
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
        }

        .custom-toggler .hamburger-icon,
        .custom-toggler .close-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.3s ease;
        }

        .custom-toggler .hamburger-icon,
        .custom-toggler .close-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.3s ease;
        }

        .custom-toggler .hamburger-icon {
            display: block;
        }

        .custom-toggler .close-icon {
            display: none;
        }
}

/* Desktop styles - ensure nothing changes on desktop */
@media (min-width: 992px) {
    .mobile-language-dropdown {
        display: none !important;
    }

    .d-lg-none .custom-toggler {
        display: none !important;
    }
}
