/* Enhanced Footer Styles - Modern & Attractive Design */

/* ==================== Newsletter Section ==================== */
.bg-dark {
    background: linear-gradient(135deg, var(--primary-color, #8b6179) 0%, var(--text-dark, #000000) 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}

.bg-dark::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="white" opacity="0.03"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="20" r="2"/><circle cx="20" cy="80" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="50" cy="50" r="1"/></svg>') !important;
    background-size: 80px 80px !important;
    pointer-events: none !important;
}

.bg-dark .container {
    position: relative !important;
    z-index: 2 !important;
}

.bg-dark h4 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.5rem !important;
    color: var(--bg-white, #ffffff) !important;
    margin-bottom: 0 !important;
    letter-spacing: 0.5px !important;
}

.subscribe-form {
    display: flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 35px !important;
    padding: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.subscribe-form:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.subscribe-form input {
    background: transparent !important;
    border: none !important;
    color: var(--bg-white, #ffffff) !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    flex: 1 !important;
    border-radius: 35px !important;
    outline: none !important;
    font-family: 'Inter', sans-serif !important;
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
}

.subscribe-form button {
    background: linear-gradient(135deg, var(--secondary-color, #ffbd59) 0%, var(--primary-color, #8b6179) 100%) !important;
    color: var(--bg-white, #ffffff) !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 35px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
}

.subscribe-form button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 189, 89, 0.3) !important;
}

/* ==================== Main Footer ==================== */
footer.border-footer {
    background: linear-gradient(135deg, var(--text-dark, #000000) 0%, #1a1a1a 100%) !important;
    color: var(--bg-white, #ffffff) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

footer.border-footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(circle at 20% 30%, rgba(139, 97, 121, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 189, 89, 0.05) 0%, transparent 50%) !important;
    pointer-events: none !important;
}

footer.border-footer .container {
    position: relative !important;
    z-index: 2 !important;
    padding: 60px 0 40px !important;
}

/* ==================== Footer Widgets ==================== */
.footer-widget {
    margin: 0 !important;
    padding: 0 30px !important;
    position: relative !important;
}

.footer-widget::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 1px !important;
    height: 100% !important;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent) !important;
}

.footer-widget:last-child::before {
    display: none !important;
}

/* ==================== Footer Logo ==================== */
.footer-logo {
    margin-bottom: 2rem !important;
    text-align: left !important;
}

.footer-logo img {
    max-height: 80px !important;
    transition: all 0.3s ease !important;
    filter: brightness(1.2) !important;
}

.footer-logo:hover img {
    transform: scale(1.05) !important;
    filter: brightness(1.4) !important;
}

/* ==================== Contact Information ==================== */
.widget-ecommerce-contact {
    margin-bottom: 2rem !important;
}

.widget-ecommerce-contact span {
    display: block !important;
    color: var(--secondary-color, #ffbd59) !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: 'Inter', sans-serif !important;
}

.widget-ecommerce-contact .h4 {
    color: var(--bg-white, #ffffff) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    font-family: 'Inter', sans-serif !important;
}

.widget-ecommerce-contact .h6 {
    color: var(--secondary-color, #ffbd59) !important;
    font-weight: 600 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: 'Inter', sans-serif !important;
}

.widget-ecommerce-contact .text-general {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    font-family: 'Inter', sans-serif !important;
}

/* ==================== Social Media Links ==================== */
.media-widget {
    margin-bottom: 2rem !important;
}

.media-widget a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: var(--bg-white, #ffffff) !important;
    border-radius: 50% !important;
    margin-right: 12px !important;
    margin-bottom: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.media-widget a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, var(--primary-color, #8b6179) 0%, var(--secondary-color, #ffbd59) 100%) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 0 !important;
}

.media-widget a:hover::before {
    left: 0 !important;
}

.media-widget a i {
    position: relative !important;
    z-index: 1 !important;
    transition: all 0.3s ease !important;
}

.media-widget a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(139, 97, 121, 0.3) !important;
    border-color: transparent !important;
}

.media-widget a:hover i {
    color: var(--bg-white, #ffffff) !important;
}

/* ==================== Widget Titles ==================== */
.widget-title {
    color: var(--bg-white, #ffffff) !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    padding-bottom: 1rem !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.widget-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 50px !important;
    height: 3px !important;
    background: linear-gradient(135deg, var(--secondary-color, #ffbd59) 0%, var(--primary-color, #8b6179) 100%) !important;
    border-radius: 2px !important;
}

/* ==================== Footer Links ==================== */
.footer-widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-widget ul li {
    margin-bottom: 1rem !important;
    position: relative !important;
    padding-left: 0 !important;
}

.footer-widget ul li::before {
    content: '→' !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--secondary-color, #ffbd59) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    transform: translateX(-10px) !important;
}

.footer-widget ul li:hover::before {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    display: block !important;
    padding: 8px 0 !important;
    font-family: 'Inter', sans-serif !important;
    position: relative !important;
    padding-left: 0 !important;
}

.footer-widget ul li:hover a {
    color: var(--secondary-color, #ffbd59) !important;
    padding-left: 20px !important;
}

/* ==================== Recent Posts Widget ==================== */
.widget-nav .post {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    margin-bottom: 1.5rem !important;
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

.widget-nav .post:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

.widget-nav .post-img {
    flex-shrink: 0 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    position: relative !important;
}

.widget-nav .post-img::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(139, 97, 121, 0.3) 0%, rgba(255, 189, 89, 0.3) 100%) !important;
    z-index: 1 !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
}

.widget-nav .post:hover .post-img::before {
    opacity: 1 !important;
}

.widget-nav .post-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.3s ease !important;
}

.widget-nav .post:hover .post-img img {
    transform: scale(1.05) !important;
}

.widget-nav .post-details {
    flex: 1 !important;
}

.widget-nav .post-title {
    color: var(--bg-white, #ffffff) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.3s ease !important;
}

.widget-nav .post-title:hover {
    color: var(--secondary-color, #ffbd59) !important;
}

.widget-nav .post-details a {
    text-decoration: none !important;
}

.widget-nav .date {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
    font-family: 'Inter', sans-serif !important;
}

/* ==================== Copyright Section ==================== */
.copyright-section {
    background: var(--text-dark, #000000) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 20px 0 !important;
    text-align: center !important;
    position: relative !important;
}

.copyright-section span {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', sans-serif !important;
}

/* ==================== Cookie Bar ==================== */
.cookie-bar-wrap {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 9999 !important;
    padding: 20px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    transform: translateY(100%) !important;
    transition: all 0.3s ease !important;
}

.cookie-bar-wrap.show {
    transform: translateY(0) !important;
}

.cookie-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.cookie-bar-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', sans-serif !important;
    flex: 1 !important;
}

.cookie-bar-action .btn {
    background: linear-gradient(135deg, var(--primary-color, #8b6179) 0%, var(--secondary-color, #ffbd59) 100%) !important;
    color: var(--bg-white, #ffffff) !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
}

.cookie-bar-action .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(139, 97, 121, 0.3) !important;
}

/* ==================== Scroll to Top Button ==================== */
.scroller {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, var(--primary-color, #8b6179) 0%, var(--secondary-color, #ffbd59) 100%) !important;
    color: var(--bg-white, #ffffff) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 1.2rem !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(139, 97, 121, 0.3) !important;
}

.scroller.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.scroller:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(139, 97, 121, 0.4) !important;
    color: var(--bg-white, #ffffff) !important;
    text-decoration: none !important;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1199px) {
    .footer-widget {
        padding: 0 20px !important;
    }
    
    .footer-widget::before {
        display: none !important;
    }
    
    footer.border-footer .container {
        padding: 60px 0 30px !important;
    }
}

@media (max-width: 991px) {
    .footer-widget {
        padding: 0 15px !important;
        margin-bottom: 2rem !important;
    }
    
    .footer-widget:last-child {
        margin-bottom: 0 !important;
    }
    
    .subscribe-form {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
        padding: 15px !important;
    }
    
    .subscribe-form input {
        margin-bottom: 10px !important;
    }
    
    .subscribe-form button {
        width: 100% !important;
    }
    
    .cookie-bar {
        text-align: center !important;
    }
    
    .cookie-bar-text {
        margin-bottom: 15px !important;
    }
}

@media (max-width: 767px) {
    footer.border-footer .container {
        padding: 40px 0 20px !important;
    }
    
    .widget-title {
        font-size: 1.2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .widget-ecommerce-contact .h4 {
        font-size: 1.5rem !important;
    }
    
    .media-widget a {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .scroller {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .bg-dark h4 {
        font-size: 1.3rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    .widget-nav .post {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .widget-nav .post-img {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto !important;
    }
    
    .copyright-section span {
        font-size: 0.9rem !important;
    }
}

/* ==================== Animation Keyframes ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== Hover Animations ==================== */
.footer-widget {
    animation: fadeInUp 0.6s ease-out !important;
}

.footer-widget:nth-child(1) {
    animation-delay: 0.1s !important;
}

.footer-widget:nth-child(2) {
    animation-delay: 0.2s !important;
}

.footer-widget:nth-child(3) {
    animation-delay: 0.3s !important;
}

.footer-widget:nth-child(4) {
    animation-delay: 0.4s !important;
}

/* ==================== Performance Optimizations ==================== */
.footer-widget,
.media-widget a,
.scroller {
    will-change: transform !important;
}

/* ==================== Accessibility ==================== */
.media-widget a:focus,
.scroller:focus,
.subscribe-form button:focus {
    outline: 2px solid var(--secondary-color, #ffbd59) !important;
    outline-offset: 2px !important;
}

/* ==================== Print Styles ==================== */
@media print {
    footer.border-footer {
        background: white !important;
        color: black !important;
    }
    
    .scroller,
    .cookie-bar-wrap {
        display: none !important;
    }
    
    .media-widget a::before {
        display: none !important;
    }
}