.footer-wrapper {
    background-color: #0a0b10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    color: #a1a1aa;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238b5cf6' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}

.footer-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    pointer-events: none;
}

.footer-glow:nth-child(2) {
    top: 30%;
    right: 10%;
    left: auto;
    width: 150px;
    height: 150px;
    opacity: 0.7;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #8b5cf6;
    border-radius: 3px;
}

.footer-link {
    display: flex;
    align-items: center;
    color: #a1a1aa;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    margin-left: -8px;
    padding-left: 8px;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    background-color: #8b5cf6;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(8px);
}

.footer-link:hover::before {
    width: 4px;
    height: 4px;
    opacity: 1;
}

.footer-link i {
    margin-right: 0.75rem;
    font-size: 1rem;
    color: #8b5cf6;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover i {
    transform: translateX(2px);
    opacity: 1;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(17, 24, 39, 0.7);
    border-radius: 12px;
    color: #a78bfa;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #8b5cf6;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
    transform: translateY(100%);
}

.social-icon:hover::before {
    opacity: 0.2;
    transform: translateY(0);
}

.social-icon i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 5px rgba(139, 92, 246, 0.3);
}

.footer-text-item {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border-left: 2px solid rgba(139, 92, 246, 0.2);
    padding-left: 1rem;
}

.footer-text-item:hover {
    border-left-color: #8b5cf6;
    transform: translateX(3px);
}

.footer-text-item-title {
    font-weight: 600;
    color: #e4e4e7;
    margin-bottom: 0.5rem;
}

.footer-text-item-content {
    color: #a1a1aa;
    font-size: 0.875rem;
    line-height: 1.5;
}

.info-strip {
    background-color: rgba(17, 24, 39, 0.7);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.info-strip-title {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 30px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.info-card {
    background-color: rgba(31, 41, 55, 0.7);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.info-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.1);
    transform: translateY(-5px);
}

.info-card-title {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card-title i {
    color: #8b5cf6;
    font-size: 1.5rem;
    margin-right: 0.75rem;
    padding: 0.75rem;
    background-color: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    margin-right: 0.75rem;
    color: #8b5cf6;
    margin-top: 0.25rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

.info-item-label {
    color: #d4d4d8;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.info-item-value {
    color: #a1a1aa;
    transition: all 0.3s ease;
}

.info-item:hover .info-item-value {
    color: #f9fafb;
}

.info-item:hover i {
    opacity: 1;
}

.bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 4rem;
}

.bottom-link {
    color: #a1a1aa;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.bottom-link:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

.bottom-links {
    display: flex;
    gap: 1.5rem;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Footer images - clean style without card */
.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 32px;
    width: auto;
    max-height: 40px;
    object-fit: contain;
    opacity: 0.85;
    /* No background, border or padding - clean look */
}

.payment-icon:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
}

/* Payment Icons Container - Ödeme Yöntemleri */
.payment-icon-item {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.payment-icon-item a {
    display: inline-flex;
    align-items: center;
}

.footer-column .payment-icon-item:first-of-type {
    margin-top: 0.5rem;
}

/* Payment icons layout for image type items in footer columns */
.footer-column .space-y-2:has(.payment-icon-item),
.footer-column .space-y-1:has(.payment-icon-item) {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Payment Icons Container */
.payment-icons-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.payment-icons-container::-webkit-scrollbar {
    display: none;
}

.payment-icon-item {
    flex-shrink: 0;
}

.payment-icon {
    height: 24px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-right: 0.75rem;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-about {
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact-item i {
    color: #8b5cf6;
    margin-right: 0.75rem;
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .footer-wrapper {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .bottom-bar {
        text-align: left;
    }

    .bottom-bar .flex {
        flex-direction: column;
        gap: 1.5rem;
    }

    .payment-methods {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .bottom-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* Desktop Chat Widget Button Styles - Force to bottom right */
.desktop-chat-widget-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    z-index: 10000 !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    display: block !important;
}

/* Desktop Responsive Positioning for Chat Widget Button */
@media (min-width: 769px) and (max-width: 1024px) {
    .desktop-chat-widget-button {
        bottom: 15px !important;
        right: 15px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1366px) {
    .desktop-chat-widget-button {
        bottom: 20px !important;
        right: 20px !important;
    }
}

@media (min-width: 1367px) and (max-width: 1600px) {
    .desktop-chat-widget-button {
        bottom: 25px !important;
        right: 25px !important;
    }
}

@media (min-width: 1601px) and (max-width: 1920px) {
    .desktop-chat-widget-button {
        bottom: 30px !important;
        right: 30px !important;
    }
}

@media (min-width: 1921px) {
    .desktop-chat-widget-button {
        bottom: 40px !important;
        right: 40px !important;
    }
}

/* Override any conflicting chat widget button styles */
.desktop-chat-widget-button,
.desktop-chat-widget-button * {
    box-sizing: border-box !important;
}

/* Ensure the button inside is also positioned correctly */
.desktop-chat-widget-button .chat-widget-trigger-icon,
#desktop-chat-widget-btn {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
}

/* Modern Chat Widget Button */
.modern-chat-widget {
    position: relative;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    z-index: 1000;
}

/* Responsive Chat Widget Button Sizes */
@media (min-width: 769px) and (max-width: 1024px) {
    .modern-chat-widget {
        width: 65px;
        height: 65px;
    }

    .chat-widget-icon-container {
        font-size: 26px;
    }

    .chat-widget-pulse-ring,
    .chat-widget-pulse-ring-2 {
        width: 65px;
        height: 65px;
    }
}

@media (min-width: 1367px) and (max-width: 1600px) {
    .modern-chat-widget {
        width: 75px;
        height: 75px;
    }

    .chat-widget-icon-container {
        font-size: 30px;
    }

    .chat-widget-pulse-ring,
    .chat-widget-pulse-ring-2 {
        width: 75px;
        height: 75px;
    }
}

@media (min-width: 1601px) and (max-width: 1920px) {
    .modern-chat-widget {
        width: 80px;
        height: 80px;
    }

    .chat-widget-icon-container {
        font-size: 32px;
    }

    .chat-widget-pulse-ring,
    .chat-widget-pulse-ring-2 {
        width: 80px;
        height: 80px;
    }
}

@media (min-width: 1921px) {
    .modern-chat-widget {
        width: 85px;
        height: 85px;
    }

    .chat-widget-icon-container {
        font-size: 34px;
    }

    .chat-widget-pulse-ring,
    .chat-widget-pulse-ring-2 {
        width: 85px;
        height: 85px;
    }
}

.modern-chat-widget:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.modern-chat-widget:active {
    transform: translateY(-2px) scale(1.02);
}

.chat-widget-icon-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 28px;
    z-index: 3;
}

/* Pulse Animations */
.chat-widget-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: 3px solid rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
    z-index: 1;
}

.chat-widget-pulse-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: 3px solid rgba(118, 75, 162, 0.4);
    border-radius: 50%;
    animation: pulse-ring 2s infinite 1s;
    z-index: 2;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}



@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* FINAL OVERRIDE - Force desktop chat widget to bottom right corner */
.desktop-chat-widget-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    z-index: 99999 !important;
    transform: translateX(0) translateY(0) !important;
}

/* Ensure no other chat widget button interferes */
.chat-widget-button:not(#desktop-chat-widget-btn) {
    display: none !important;
}

/* Responsive - Hide on mobile and tablet */
@media (max-width: 1023px) {
    .desktop-chat-widget-button {
        display: none !important;
    }
}

/* =================================================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES FOR FOOTER
   ================================================================= */

/* Mobile First - Small Devices (up to 480px) */
@media (max-width: 480px) {
    .footer-wrapper {
        padding: 2rem 0 !important;
        padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0)) !important;
    }

    .footer-wrapper .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Footer grid - 2 columns on mobile */
    .footer-wrapper .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    /* Footer column styling */
    .footer-column {
        text-align: left;
        padding: 0.5rem 0;
        border-bottom: none;
    }

    .footer-column:last-child {
        border-bottom: none;
    }

    .footer-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        display: block;
        text-align: left;
    }

    .footer-title::after {
        left: 0;
        transform: none;
    }

    /* Links list - left aligned */
    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .footer-link {
        justify-content: flex-start;
        padding: 0.5rem 0;
        background: transparent;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding-left: 0;
    }

    .footer-link:hover {
        transform: none;
        background: rgba(139, 92, 246, 0.1);
    }

    /* Social media items */
    .social-media-item {
        justify-content: flex-start;
    }

    .social-media-item a {
        justify-content: flex-start;
        padding: 0.75rem 0;
        background: transparent;
        border-radius: 0;
        width: auto;
        max-width: none;
    }

    /* Payment icons - wrap nicely */
    .payment-icons-container {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 0.75rem !important;
        overflow-x: visible !important;
    }

    .payment-icon-item {
        flex-shrink: 0;
    }

    .payment-icon {
        height: 28px;
    }

    /* Footer buttons */
    .footer-button-item {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .footer-button-item a {
        width: auto;
        max-width: none;
        justify-content: flex-start;
    }

    /* Newsletter form */
    .footer-newsletter-item {
        text-align: left;
    }

    .footer-newsletter-item h4 {
        text-align: left;
    }

    .newsletter-form {
        flex-direction: column !important;
        gap: 0.75rem !important;
        max-width: 100%;
        margin: 0;
    }

    .newsletter-form input[type="email"] {
        text-align: left;
        padding: 0.875rem 1rem;
    }

    .newsletter-form button {
        width: 100%;
        justify-content: center;
        padding: 0.875rem;
    }

    /* Logo item */
    .footer-logo-item {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 1rem;
    }

    .footer-logo-item img {
        max-width: 150px;
        height: auto;
    }

    /* Text items */
    .footer-text-item {
        text-align: left;
        border-left: 2px solid rgba(139, 92, 246, 0.2);
        padding-left: 1rem;
        border-top: none;
        padding-top: 0;
    }

    .footer-text-item:hover {
        transform: none;
    }

    /* Contact info section */
    .footer-wrapper .border-t {
        padding-top: 1.5rem !important;
    }

    .footer-wrapper .border-t .grid {
        gap: 1.5rem !important;
    }

    .footer-wrapper .border-t div {
        text-align: left;
    }

    /* Copyright section */
    .footer-wrapper .text-center {
        padding-top: 1.5rem !important;
    }

    .footer-wrapper .text-center p {
        font-size: 0.813rem;
        line-height: 1.6;
    }
}

/* Tablets - Medium Devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .footer-wrapper {
        padding: 2.5rem 0 !important;
    }

    .footer-wrapper .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* 2 columns on tablet */
    .footer-wrapper .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }

    .footer-column {
        padding: 0.5rem;
    }

    .footer-title {
        font-size: 1.15rem;
    }

    /* Payment icons */
    .payment-icons-container {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
    }

    /* Newsletter form - horizontal on tablet */
    .newsletter-form {
        flex-direction: row !important;
    }

    .newsletter-form input[type="email"] {
        flex: 1;
    }

    /* Footer buttons */
    .footer-button-item a {
        width: auto;
    }

    /* Logo */
    .footer-logo-item img {
        max-width: 160px;
    }
}

/* Small Tablets to Laptops (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-wrapper .grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
    }

    .footer-column {
        padding: 0.5rem;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    .payment-icons-container {
        flex-wrap: wrap !important;
    }
}

/* Width utility classes for flexible footer layout */
.w-full {
    width: 100% !important;
}

.w-1\/2 {
    width: 50% !important;
}

.w-1\/3 {
    width: 33.333% !important;
}

.w-1\/4 {
    width: 25% !important;
}

.w-1\/5 {
    width: 20% !important;
}

/* Mobile override for width classes */
@media (max-width: 640px) {

    .w-1\/2,
    .w-1\/3,
    .w-1\/4,
    .w-1\/5 {
        width: 100% !important;
    }
}

/* Tablet override for width classes */
@media (min-width: 641px) and (max-width: 768px) {

    .w-1\/3,
    .w-1\/4,
    .w-1\/5 {
        width: 50% !important;
    }
}

/* New Footer Item Type Styles */
.footer-button-item {
    margin-bottom: 0.75rem;
}

.footer-newsletter-item {
    margin-bottom: 1rem;
}

.footer-logo-item {
    margin-bottom: 1rem;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {

    .footer-link,
    .social-media-item a,
    .footer-button-item a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}