/* Global shell styles (header + footer).
   Kept as a single file to reduce CSS requests. */

/* --- header.css --- */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    height: 80px;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'signika bold';
}

.logo img {
    height: 35px;
    width: auto;
    display: block;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #d4af37; /* Using the gold color from your theme */
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #ffffff;
}

/* Dropdown Menu Styles */
.nav-menu .dropdown {
    position: relative;
}

.dropdown-toggle i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0px);
    background-color: #000000;
    min-width: 280px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid #d4af37;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 5px;
}

/* Responsive dropdown positioning */
@media screen and (max-width: 1200px) {
    .dropdown-menu {
        min-width: 260px;
    }
}

@media screen and (max-width: 991px) {
    .dropdown-menu {
        min-width: 240px;
        left: auto;
        right: 0;
        transform: translateY(0px);
        margin-top: 5px;
    }
}

@media screen and (max-width: 768px) {
    .dropdown-menu {
        min-width: 220px;
        right: 0;
        transform: translateY(0px);
        margin-top: 5px;
    }
}

@media screen and (max-width: 600px) {
    .dropdown-menu {
        min-width: 200px;
        right: -10px;
        transform: translateY(0px);
        margin-top: 5px;
    }
}

@media screen and (max-width: 480px) {
    .dropdown-menu {
        min-width: 190px;
        right: -15px;
        transform: translateY(0px);
        margin-top: 5px;
    }
}

@media screen and (max-width: 380px) {
    .dropdown-menu {
        min-width: 180px;
        right: -20px;
        transform: translateY(0px);
        margin-top: 5px;
    }

    .dropdown-menu a {
        font-size: 13px;
        padding: 12px 15px;
    }
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Responsive hover states */
@media screen and (max-width: 991px) {
    .dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }
}

@media screen and (max-width: 600px) {
    .dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }
}

@media screen and (max-width: 480px) {
    .dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }
}

@media screen and (max-width: 380px) {
    .dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: none;
    transition: all 0.3s ease;
    background-color: #000000;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: #d4af37;
    color: #000000;
}

.dropdown-menu li:first-child a {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.dropdown-menu li:last-child a {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Nested Dropdown (Submenu) Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-submenu > a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown-submenu:hover > a i {
    transform: rotate(90deg);
}

.dropdown-submenu-content {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #000000;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid #d4af37;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 5px;
}

/* Position submenu to the left if it would go off-screen */
.dropdown-submenu:last-child .dropdown-submenu-content,
.dropdown-submenu.position-left .dropdown-submenu-content {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 5px;
}

.dropdown-submenu:hover .dropdown-submenu-content {
    opacity: 1;
    visibility: visible;
}

.dropdown-submenu-content li {
    margin: 0;
}

.dropdown-submenu-content a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: none;
    transition: all 0.3s ease;
    background-color: #000000;
}

.dropdown-submenu-content a::after {
    display: none;
}

.dropdown-submenu-content a:hover {
    background-color: #d4af37;
    color: #000000;
}

.dropdown-submenu-content li:first-child a {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.dropdown-submenu-content li:last-child a {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #e1e1e1;
    border-radius: 3px;
    left: 0;
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

.hamburger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 101;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #141414; /* Using the secondary background color */
        flex-direction: column;
        padding-top: 80px;
        transition: 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 15px 30px;
        width: 100%;
        border-bottom: 1px solid #333;
    }

    .nav-menu a {
        font-size: 18px;
        display: block;
        width: 100%;
    }

    /* Mobile dropdown styles */
    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #111;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin-left: 20px;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu .dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .nav-menu .dropdown-menu li {
        padding: 8px 15px;
        border-bottom: 1px solid #222;
    }

    .nav-menu .dropdown-menu a {
        font-size: 16px;
        color: #d4af37;
        padding: 5px 0;
    }

    .nav-menu .dropdown-menu a:hover {
        background-color: transparent;
        color: #ffffff;
    }

    /* Mobile nested dropdown styles */
    .nav-menu .dropdown-submenu-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #0a0a0a;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin-left: 40px;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu .dropdown-submenu.active .dropdown-submenu-content {
        max-height: 300px;
    }

    .nav-menu .dropdown-submenu-content li {
        padding: 5px 10px;
        border-bottom: 1px solid #1a1a1a;
    }

    .nav-menu .dropdown-submenu-content a {
        font-size: 15px;
        color: #d4af37;
        padding: 3px 0;
    }

    .nav-menu .dropdown-submenu-content a:hover {
        background-color: transparent;
        color: #ffffff;
    }

    .logo {
        font-size: 28px;
    }

    .logo img {
        height: 45px;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 24px;
    }

    .logo img {
        height: 35px;
    }
}

/* --- footer.css --- */
/* Footer styles */
.footer-section {
    background-color: #000000;
    color: #d6d9db;
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding: 70px 0 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-heading {
    color: #f5d742;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #f5d742;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.social-links {
    display: flex !important;
    gap: 15px !important;
}

.social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px;
    height: 40px;
    background-color: rgba(245, 215, 66, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #f5d742;
    color: #1e2124;
    transform: translateY(-3px);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #d6d9db;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-menu a::before {
    content: '->';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #f5d742;
    padding-left: 20px;
}

.footer-menu a:hover::before {
    opacity: 1;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: #f5d742;
    margin-right: 10px;
    min-width: 20px;
    margin-top: 4px;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-info a:hover {
    color: #f5d742;
    text-decoration: underline;
    text-decoration-color: rgba(245, 215, 66, 0.8);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #111; /* optional background */
}

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

.footer-bottom .copyright {
    flex: 1;
    text-align: left;
}

.footer-bottom .footer-legal {
    flex: 1;
    text-align: right;
}

.footer-legal .rights ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-legal .rights p {
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom .copyright,
    .footer-bottom .footer-legal {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
    }

    .copyright, .footer-legal {
        text-align: center;
        flex: auto;
        width: 100%;
    }
}

.footer-legal a:hover {
    color: #f5d742;
}

/* Animation for footer elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer-column {
        min-width: calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 50px 0 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .footer-column {
        min-width: 100%;
    }

    .subscribe-form {
        max-width: 100%;
    }

    .footer-content {
        gap: 40px;
    }
}

@media (max-width: 320px) {
    .footer-top {
        padding: 40px 0 20px;
    }

    .footer-heading {
        font-size: 1.2rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

