/* Footer Styling - Royal Theme (Green & Gold) */

/* Footer Wrapper - Specificity Boost */
footer .cat-footer-wrapper {
    background: linear-gradient(145deg, #000000 0%, #1B4D3E 50%, #0e1211 100%) !important;
    /* Gradient Metallic Shine Smoky Black & Theme Green */
    padding: 80px 0 50px;
    color: #fff;
    border-bottom: none !important;
}

/* Remove any potential wavy lines caused by pseudo-elements */
footer .cat-footer-wrapper::after,
footer .cat-footer-wrapper::before,
footer .cat-footer-copyright::before,
footer .cat-footer-copyright::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* Footer Titles */
footer .footer-title {
    font-size: 24px;
    font-weight: 700;
    color: #DAA520 !important;
    /* Gold */
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: #DAA520 !important;
    /* Gold */
    border-radius: 0;
}

/* Footer Widget */
footer .cat-widget p {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.8;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

/* Social Media Links */
footer .cat-social-link {
    margin-top: 25px;
}

footer .cat-social-link ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

footer .cat-social-link ul li a {
    width: 45px;
    height: 45px;
    background: rgba(218, 165, 32, 0.1);
    /* Subtle Gold Tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #DAA520 !important;
    /* Gold Icon */
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(218, 165, 32, 0.3);
}

footer .cat-social-link ul li a:hover {
    background: #DAA520 !important;
    /* Gold Background */
    color: #000000 !important;
    /* Black Icon on Hover for contrast against gold */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
    border-color: #DAA520;
}

/* Footer Menu */
footer .footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-menu ul li {
    margin-bottom: 12px;
}

footer .footer-menu ul li a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

footer .footer-menu ul li a::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #DAA520 !important;
}

footer .footer-menu ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

footer .footer-menu ul li a:hover {
    color: #DAA520 !important;
    /* Gold */
    padding-left: 5px;
}

/* Contact Menu */
footer .contact-menu {
    margin-top: 20px;
}

footer .contact-menu li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

footer .contact-menu li a {
    padding: 0 !important;
    display: flex;
    align-items: center;
}

footer .contact-menu li a i {
    color: #DAA520 !important;
    /* Gold */
    font-size: 18px;
    min-width: 30px;
    margin-right: 10px;
}

footer .contact-menu li a p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 0;
}

footer .contact-menu li a:hover p {
    color: #DAA520 !important;
}

/* Social Gallery */
footer .insta-picture {
    margin-top: 20px;
}

footer .footer-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
    aspect-ratio: 1;
    border: 1px solid rgba(218, 165, 32, 0.2);
}

footer .footer-img a {
    display: block;
    height: 100%;
}

footer .footer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

footer .footer-img:hover img {
    transform: scale(1.15);
}

footer .footer-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Black Overlay for better consistency */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

footer .footer-img:hover::before {
    opacity: 1;
}

footer .footer-img::after {
    content: '\f002';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 24px;
    color: #DAA520;
    z-index: 2;
    transition: transform 0.3s ease;
}

footer .footer-img:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Footer Copyright */
footer .cat-footer-copyright {
    background: #000000 !important;
    /* Full Black */
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(218, 165, 32, 0.2);
}

footer .cat-footer-copyright p {
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cat-footer-wrapper {
        padding: 60px 0 30px;
    }

    .cat-widget {
        margin-bottom: 40px;
    }

    .footer-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .cat-social-link ul {
        justify-content: flex-start;
    }
}