/* ===== ROZA GAYRIMENKUL - SHARED FOOTER STYLES ===== */

/* ===== FOOTER BASE STYLES ===== */
.roza-footer {
    background: var(--primary-900, #0f172a);
    color: var(--white, #ffffff);
    padding: var(--space-20, 5rem) 0 var(--space-8, 2rem);
    position: relative;
    overflow: hidden;
}

.roza-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(at 40% 20%, hsla(348, 83%, 47%, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(32, 95%, 44%, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(180, 84%, 17%, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 50%, hsla(348, 83%, 47%, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(32, 95%, 44%, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 100%, hsla(180, 84%, 17%, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 0%, hsla(348, 83%, 47%, 0.1) 0px, transparent 50%);
    opacity: 0.1;
    z-index: 0;
}

/* ===== FOOTER CONTENT ===== */
.footer-content {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-16, 4rem);
}

.footer-section {
    height: 100%;
}

/* ===== BRAND SECTION ===== */
.footer-brand .brand-container {
    display: flex;
    align-items: center;
    gap: var(--space-4, 1rem);
    margin-bottom: var(--space-6, 1.5rem);
    text-decoration: none;
    transition: all var(--transition-base, 250ms cubic-bezier(0.4, 0, 0.2, 1));
}

.footer-brand .brand-container:hover {
    transform: scale(1.02);
}

.footer-brand .brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-rose, #e11d48) 0%, var(--accent-gold, #d97706) 100%);
    border-radius: var(--radius-2xl, 1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white, #ffffff);
    font-size: var(--text-xl, 1.25rem);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1), 
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 20px rgba(225, 29, 72, 0.3);
    transition: all var(--transition-base, 250ms cubic-bezier(0.4, 0, 0.2, 1));
    position: relative;
    overflow: hidden;
}

.footer-brand .brand-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: var(--radius-2xl, 1rem);
}

.footer-brand .brand-icon:hover {
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(59, 130, 246, 0.5);
    transform: rotate(5deg) scale(1.05);
}

.footer-brand .brand-text {
    font-size: var(--text-3xl, 1.875rem);
    font-weight: var(--font-extrabold, 800);
    color: var(--white, #ffffff);
    letter-spacing: -0.05em;
    position: relative;
}

.footer-description {
    font-size: var(--text-base, 1rem);
    color: var(--primary-300, #cbd5e1);
    line-height: 1.6;
    margin-bottom: var(--space-8, 2rem);
    max-width: 320px;
}

/* ===== SOCIAL LINKS ===== */
.footer-social {
    display: flex;
    gap: var(--space-4, 1rem);
}

.footer-social .social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl, 0.75rem);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white, #ffffff);
    text-decoration: none;
    transition: all var(--transition-base, 250ms cubic-bezier(0.4, 0, 0.2, 1));
    position: relative;
    overflow: hidden;
}

.footer-social .social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-rose, #e11d48) 0%, var(--accent-gold, #d97706) 100%);
    border-radius: var(--radius-xl, 0.75rem);
    opacity: 0;
    transition: all var(--transition-base, 250ms cubic-bezier(0.4, 0, 0.2, 1));
    z-index: -1;
}

.footer-social .social-link:hover::before {
    opacity: 1;
}

.footer-social .social-link:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1), 
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 20px rgba(59, 130, 246, 0.4);
}

/* ===== FOOTER TITLES ===== */
.footer-title {
    font-size: var(--text-lg, 1.125rem);
    font-weight: var(--font-bold, 700);
    color: var(--white, #ffffff);
    margin-bottom: var(--space-6, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-rose, #e11d48) 0%, var(--accent-gold, #d97706) 100%);
    border-radius: var(--radius-full, 9999px);
}

/* ===== FOOTER LINKS ===== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-3, 0.75rem);
}

.footer-links a {
    color: var(--primary-300, #cbd5e1);
    text-decoration: none;
    font-size: var(--text-base, 1rem);
    font-weight: var(--font-medium, 500);
    transition: all var(--transition-fast, 150ms cubic-bezier(0.4, 0, 0.2, 1));
    display: flex;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    position: relative;
    padding-left: var(--space-4, 1rem);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-rose, #e11d48);
    border-radius: 50%;
    opacity: 0;
    transition: all var(--transition-base, 250ms cubic-bezier(0.4, 0, 0.2, 1));
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.5);
}

.footer-links a:hover {
    color: var(--white, #ffffff);
    transform: translateX(8px);
    padding-left: var(--space-6, 1.5rem);
}

/* ===== CONTACT INFO ===== */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-4, 1rem);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3, 0.75rem);
    transition: all var(--transition-base, 250ms cubic-bezier(0.4, 0, 0.2, 1));
    padding: var(--space-2, 0.5rem);
    border-radius: var(--radius-lg, 0.5rem);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.contact-item i {
    color: var(--accent-rose, #e11d48);
    font-size: var(--text-lg, 1.125rem);
    margin-top: var(--space-1, 0.25rem);
    flex-shrink: 0;
    transition: all var(--transition-base, 250ms cubic-bezier(0.4, 0, 0.2, 1));
}

.contact-item:hover i {
    color: var(--accent-rose-light, #f43f5e);
    transform: scale(1.1);
}

.contact-item p {
    color: var(--primary-300, #cbd5e1);
    margin: 0;
    line-height: 1.5;
    font-weight: var(--font-medium, 500);
}

.contact-item a {
    color: var(--primary-300, #cbd5e1);
    text-decoration: none;
    transition: all var(--transition-fast, 150ms cubic-bezier(0.4, 0, 0.2, 1));
}

.contact-item a:hover {
    color: var(--white, #ffffff);
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-8, 2rem);
    position: relative;
    z-index: 1;
}

.copyright {
    color: var(--primary-400, #94a3b8);
    margin: 0;
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-medium, 500);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-6, 1.5rem);
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--primary-400, #94a3b8);
    text-decoration: none;
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-medium, 500);
    transition: all var(--transition-fast, 150ms cubic-bezier(0.4, 0, 0.2, 1));
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white, #ffffff);
    transition: all var(--transition-base, 250ms cubic-bezier(0.4, 0, 0.2, 1));
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

.footer-bottom-links a:hover {
    color: var(--white, #ffffff);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .roza-footer {
        padding: var(--space-16, 4rem) 0 var(--space-6, 1.5rem);
    }

    .footer-content {
        margin-bottom: var(--space-12, 3rem);
    }

    .footer-social {
        justify-content: center;
        margin-top: var(--space-4, 1rem);
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: var(--space-4, 1rem);
    }

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

@media (max-width: 768px) {
    .roza-footer {
        padding: var(--space-12, 3rem) 0 var(--space-4, 1rem);
    }

    .footer-brand .brand-container {
        justify-content: center;
        margin-bottom: var(--space-4, 1rem);
    }

    .footer-description {
        text-align: center;
        max-width: 100%;
        margin-bottom: var(--space-6, 1.5rem);
    }

    /* Hızlı Linkler ve Hizmetler yan yana olması için */
    .footer-content .row > .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-title {
        text-align: left;
        margin-bottom: var(--space-4, 1rem);
        font-size: var(--text-base, 1rem);
    }

    .footer-title::after {
        left: 0;
        transform: none;
    }

    .footer-links {
        text-align: left;
    }

    .footer-links a {
        justify-content: flex-start;
        padding-left: var(--space-4, 1rem);
        font-size: var(--text-sm, 0.875rem);
    }

    .footer-links a::before {
        display: block;
    }

    .footer-links a:hover {
        transform: translateX(8px);
        padding-left: var(--space-6, 1.5rem);
    }

    .contact-item {
        justify-content: flex-start;
        text-align: left;
    }

    .footer-bottom-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-4, 1rem);
        justify-content: center;
    }
}

@media (max-width: 576px) {
    /* Hızlı Linkler ve Hizmetler yan yana kalması için */
    .footer-content .row > .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: var(--space-2, 0.5rem);
        padding-right: var(--space-2, 0.5rem);
    }

    .footer-brand .brand-icon {
        width: 40px;
        height: 40px;
        font-size: var(--text-lg, 1.125rem);
    }

    .footer-brand .brand-text {
        font-size: var(--text-2xl, 1.5rem);
    }

    .footer-social .social-link {
        width: 40px;
        height: 40px;
    }

    .footer-section {
        margin-bottom: var(--space-8, 2rem);
    }

    .footer-bottom-links {
        gap: var(--space-3, 0.75rem);
        font-size: var(--text-xs, 0.75rem);
    }

    .footer-bottom-links a {
        font-size: var(--text-xs, 0.75rem);
        white-space: nowrap;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    .roza-footer *,
    .roza-footer *::before,
    .roza-footer *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.footer-links a:focus,
.footer-social .social-link:focus,
.footer-bottom-links a:focus,
.contact-item a:focus {
    outline: 2px solid var(--accent-rose, #e11d48);
    outline-offset: 2px;
    border-radius: var(--radius-sm, 0.25rem);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .roza-footer {
        background: var(--black, #000000);
        border-top: 2px solid var(--white, #ffffff);
    }

    .footer-links a,
    .contact-item p,
    .footer-description {
        color: var(--white, #ffffff);
    }

    .footer-social .social-link {
        border: 2px solid var(--white, #ffffff);
    }
}

/* Print styles */
@media print {
    .roza-footer {
        background: transparent !important;
        color: var(--black, #000000) !important;
        box-shadow: none !important;
    }

    .roza-footer::before {
        display: none !important;
    }

    .footer-social {
        display: none !important;
    }

    .footer-links a,
    .contact-item p,
    .footer-description,
    .copyright,
    .footer-bottom-links a {
        color: var(--black, #000000) !important;
    }
}