/* Sophisticated Professional Footer for EFBA İlaç */

/* ========================================
   Main Footer Container 
   ======================================== */

.footer {
    background: 
        /* Deep pharmaceutical gradient */
        linear-gradient(135deg, #0a1628 0%, #0c4a6e 20%, #0f172a 40%, #1e293b 60%, #0c4a6e 80%, #0a1628 100%),
        /* Scientific overlay gradients */
        radial-gradient(ellipse at 20% 30%, rgba(13, 148, 136, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(12, 74, 110, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    
    color: var(--secondary-white);
    padding: var(--spacing-20) 0 var(--spacing-12);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

/* Simplified background system */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(13, 148, 136, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(12, 74, 110, 0.06) 0%, transparent 45%);
    animation: footerGentlePulse 12s ease-in-out infinite;
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Subtle noise overlay for premium texture */
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.02) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(13, 148, 136, 0.03) 50%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}

/* ========================================
   Hexagonal Background Pattern
   ======================================== */

.footer-hexagonal-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
    
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(13, 148, 136, 0.15) 1px, transparent 2px),
        linear-gradient(30deg, rgba(12, 74, 110, 0.1) 1px, transparent 2px);
    
    background-size: 60px 60px, 30px 30px;
    background-position: 0 0, 0 0;
}

/* ========================================
   Molecular Particle System
   ======================================== */

.footer-molecular-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.molecule {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(13, 148, 136, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(13, 148, 136, 0.2);
    animation: simpleMoleculeFloat 10s ease-in-out infinite;
}

/* Simplified molecular positioning */
.molecule-1 {
    top: 25%;
    left: 20%;
    animation: simpleMoleculeFloat 12s ease-in-out infinite;
    background: rgba(59, 130, 246, 0.3);
    animation-delay: 0s;
}

.molecule-2 {
    top: 70%;
    right: 25%;
    animation: simpleMoleculeFloat 10s ease-in-out infinite;
    animation-delay: -5s;
    background: rgba(13, 148, 136, 0.3);
}

/* ========================================
   Main Content Layout
   ======================================== */

.footer .container {
    position: relative;
    z-index: 5;
    max-width: 1200px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-12);
    margin-bottom: var(--spacing-12);
    align-items: start;
}

/* ========================================
   Brand Identity Section
   ======================================== */

.footer-brand-section {
    /* Clean, minimal styling */
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-8);
    margin-bottom: var(--spacing-8);
}



.footer-brand-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-6);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(13, 148, 136, 0.3));
    border-radius: 8px;
}

.footer-brand-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--secondary-white);
    margin: 0;
    line-height: 1.2;
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-brand-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-base);
}

/* EFBA Values Section */
.footer-values {
    margin-top: var(--spacing-4);
}

.footer-values-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--secondary-white);
    margin-bottom: var(--spacing-4);
    position: relative;
    display: inline-block;
}

.footer-values-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-teal-light), var(--primary-blue-light));
    border-radius: 1px;
}

.footer-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-3);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(2px);
}

.value-item i {
    color: var(--accent-teal-light);
    font-size: var(--font-size-sm);
}

.value-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* ========================================
   Navigation & Services Section
   ======================================== */

.footer-nav-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.footer-nav-group,
.footer-services-group,
.footer-professional-contact {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--spacing-6);
    transition: all 0.3s ease;
}

.footer-nav-group:hover,
.footer-services-group:hover,
.footer-professional-contact:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.footer-section-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--secondary-white);
    margin-bottom: var(--spacing-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.footer-nav-links,
.footer-service-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-links li,
.footer-service-links li {
    margin-bottom: var(--spacing-3);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--font-size-sm);
    line-height: 1.8;
    transition: color 0.2s ease;
    display: block;
}


.footer-link:hover {
    color: var(--secondary-white);
}


/* Professional Contact */
.footer-contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: 500;
    padding: var(--spacing-3);
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(13, 148, 136, 0.2);
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    background: rgba(13, 148, 136, 0.2);
    border-color: rgba(13, 148, 136, 0.4);
    color: var(--secondary-white);
    transform: translateY(-1px);
}

/* ========================================
   Company Info & Legal Section
   ======================================== */

.footer-info-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-5);
}

/* New simple styles for traditional footer */
.footer-contact-group,
.footer-company-info,
.footer-nav-group,
.footer-services-group,
.footer-legal-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: var(--spacing-4);
    margin-bottom: var(--spacing-4);
}

.footer-info-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin: 0 0 var(--spacing-1);
}



/* Legal Links */
.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal-links li {
    margin-bottom: var(--spacing-2);
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--font-size-sm);
    display: block;
    padding: var(--spacing-1) 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--accent-teal-light);
    transition: width 0.3s ease;
}

.footer-legal-link:hover {
    color: var(--secondary-white);
    padding-left: var(--spacing-2);
}

.footer-legal-link:hover::before {
    width: 20px;
}

/* Professional Social Links */
.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: var(--font-size-sm);
    padding: var(--spacing-2);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-white);
    transform: translateX(3px);
}

.footer-social-link i {
    color: var(--accent-teal-light);
    font-size: var(--font-size-base);
    width: 20px;
}

/* ========================================
   Sophisticated Footer Bottom
   ======================================== */

.footer-bottom {
    margin-top: var(--spacing-16);
    padding-top: var(--spacing-10);
    position: relative;
}

.footer-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(13, 148, 136, 0.4) 20%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(12, 74, 110, 0.4) 80%, 
        transparent
    );
    box-shadow: 0 0 10px rgba(13, 148, 136, 0.3);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-8);
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-base);
    font-weight: 500;
}

.footer-copyright p strong {
    color: var(--secondary-white);
    font-weight: 700;
}

.footer-tagline-small {
    font-size: var(--font-size-sm) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 400 !important;
    margin-top: var(--spacing-1) !important;
}

.footer-trust-badges {
    display: flex;
    gap: var(--spacing-4);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    background: rgba(255, 255, 255, 0.12);
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(0px);
}

.trust-badge i {
    color: var(--accent-teal-light);
    font-size: var(--font-size-sm);
}

.trust-badge span {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Simplified Animation Keyframes
   ======================================== */

@keyframes footerGentlePulse {
    0%, 100% { 
        opacity: 0.4;
    }
    50% { 
        opacity: 0.6;
    }
}

@keyframes simpleMoleculeFloat {
    0%, 100% { 
        transform: translateY(0px);
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-10px);
        opacity: 0.4;
    }
}



/* ========================================
   Responsive Design - Mobile First
   ======================================== */

/* Large desktop screens */
@media (min-width: 1400px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: var(--spacing-16);
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-10);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-16) 0 var(--spacing-8);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .footer-brand-section,
    .footer-nav-section,
    .footer-info-section {
        text-align: center;
    }
    
    .footer-brand-header {
        justify-content: center;
    }
    
    .footer-values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-2);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-6);
    }
    
    .footer-trust-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: var(--spacing-12) 0 var(--spacing-6);
    }
    
    .footer-brand-section {
        padding: var(--spacing-6);
    }
    
    .footer-brand-header {
        flex-direction: column;
        gap: var(--spacing-3);
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .footer-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-trust-badges {
        flex-wrap: wrap;
        gap: var(--spacing-2);
    }
    
    .trust-badge {
        padding: var(--spacing-1) var(--spacing-2);
    }
}

/* ========================================
   Performance Optimizations
   ======================================== */

/* Reduce animations on mobile for performance */
@media (max-width: 768px) {
    .footer::before,
    .footer-hexagonal-grid,
    .molecule {
        animation-duration: 60s;
    }
    
    .molecularPulse,
    .molecularOrbit {
        animation-duration: 8s;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .footer::before,
    .footer-hexagonal-grid,
    .molecule,
    .molecule::before,
    .molecule::after {
        animation: none;
    }
    
    .footer-brand-section:hover,
    .footer-link:hover,
    .trust-badge:hover {
        transform: none;
    }
}

/* ========================================
   Footer Scroll Animations
   ======================================== */

/* Footer section animations - Higher specificity */
.footer .footer-brand-section.scroll-animate,
.footer .footer-nav-section.scroll-animate,
.footer .footer-info-section.scroll-animate,
.footer .footer-bottom.scroll-animate,
.footer .footer-bottom-content.scroll-animate,
.footer .footer-copyright.scroll-animate,
.footer .footer-trust-badges.scroll-animate {
    opacity: 0 !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer .footer-brand-section.scroll-animate.animate,
.footer .footer-nav-section.scroll-animate.animate,
.footer .footer-info-section.scroll-animate.animate,
.footer .footer-bottom.scroll-animate.animate,
.footer .footer-bottom-content.scroll-animate.animate,
.footer .footer-copyright.scroll-animate.animate,
.footer .footer-trust-badges.scroll-animate.animate {
    opacity: 1 !important;
}

.footer .footer-brand-section.fade-up,
.footer .footer-nav-section.fade-up,
.footer .footer-info-section.fade-up,
.footer .footer-bottom.fade-up {
    transform: translateY(40px) !important;
}

.footer .footer-brand-section.fade-up.animate,
.footer .footer-nav-section.fade-up.animate,
.footer .footer-info-section.fade-up.animate,
.footer .footer-bottom.fade-up.animate {
    transform: translateY(0) !important;
}

.footer .footer-copyright.fade-left {
    transform: translateX(-50px) !important;
}

.footer .footer-copyright.fade-left.animate {
    transform: translateX(0) !important;
}

.footer .footer-trust-badges.fade-right {
    transform: translateX(50px) !important;
}

.footer .footer-trust-badges.fade-right.animate {
    transform: translateX(0) !important;
}

.footer .footer-bottom-content.scale-in {
    transform: scale(0.8) !important;
}

.footer .footer-bottom-content.scale-in.animate {
    transform: scale(1) !important;
}

/* Footer specific stagger delays */
.footer .stagger-1 { 
    animation-delay: 0.1s; 
    transition-delay: 0.1s; 
}

.footer .stagger-2 { 
    animation-delay: 0.2s; 
    transition-delay: 0.2s; 
}

.footer .stagger-3 { 
    animation-delay: 0.3s; 
    transition-delay: 0.3s; 
}

.footer .stagger-4 { 
    animation-delay: 0.4s; 
    transition-delay: 0.4s; 
}

.footer .stagger-5 { 
    animation-delay: 0.5s; 
    transition-delay: 0.5s; 
}

.footer .stagger-6 { 
    animation-delay: 0.6s; 
    transition-delay: 0.6s; 
}
