/* Footer CSS - Luxury Footer Styles for Ziyorate */

/* Newsletter Section */
.newsletter {
    padding: var(--space-20) 0;
    background: var(--green-800);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: gradientMove 15s ease-in-out infinite;
}

.newsletter-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-text {
    margin-bottom: var(--space-10);
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--font-light);
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.newsletter-description {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: var(--space-2);
}

.form-group {
    position: relative;
    width: 100%;
}

.newsletter-input {
    width: 100%;
    padding: var(--space-4) var(--space-6);
    padding-right: 160px;
    font-size: var(--text-lg);
    background: var(--white);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    color: var(--neutral-800);
    outline: none;
    transition: all var(--transition-luxury);
    font-family: var(--font-body);
}

.newsletter-input:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.newsletter-input::placeholder {
    color: var(--neutral-500);
}

.newsletter-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--gold-500);
    color: var(--white);
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-luxury);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.newsletter-btn:hover {
    background: var(--gold-600);
    transform: translateX(-2px);
}

.newsletter-btn i {
    font-size: var(--text-sm);
    transition: transform var(--transition-luxury);
}

.newsletter-btn:hover i {
    transform: translateX(2px);
}

.newsletter-privacy {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-4);
    text-align: center;
}

/* Footer */
.footer {
    background: var(--green-900);
    color: var(--white);
    padding: var(--space-20) 0 var(--space-8);
    position: relative;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

/* Brand Section */
.brand-section {
    max-width: 400px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-light);
    color: var(--white);
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--gold-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.footer-description {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-4);
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-xl);
    transition: all var(--transition-luxury);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--gold-500);
    transform: translateY(-2px);
    color: var(--white);
}

/* Footer Sections */
.footer-section h4 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-medium);
    color: var(--gold-500);
    margin-bottom: var(--space-6);
}

.footer-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-medium);
    color: var(--gold-500);
    margin-bottom: var(--space-6);
}

/* Footer Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-luxury);
    font-size: var(--text-base);
    position: relative;
    padding-left: var(--space-1);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--gold-500);
    transition: width var(--transition-luxury);
}

.footer-links a:hover {
    color: var(--gold-400);
    padding-left: var(--space-4);
}

.footer-links a:hover::before {
    width: var(--space-3);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-base);
    line-height: 1.6;
}

.contact-item i {
    color: var(--gold-500);
    font-size: var(--text-lg);
    width: 20px;
    flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-8);
}

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

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-luxury);
}

.footer-bottom-links a:hover {
    color: var(--gold-400);
}

/* Animations */
@keyframes gradientMove {
    0% {
        transform: translateX(-100%) rotate(0deg);
    }
    50% {
        transform: translateX(100%) rotate(180deg);
    }
    100% {
        transform: translateX(-100%) rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-10);
    }
    
    .brand-section {
        grid-column: span 2;
        max-width: none;
        margin-bottom: var(--space-8);
    }
}

@media (max-width: 768px) {
    .newsletter {
        padding: var(--space-16) 0;
    }
    
    .newsletter-title {
        font-size: var(--text-3xl);
    }
    
    .newsletter-description {
        font-size: var(--text-lg);
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .newsletter-input {
        padding-right: var(--space-6);
    }
    
    .newsletter-btn {
        position: static;
        width: 100%;
        justify-content: center;
    }
    
    .footer {
        padding: var(--space-16) 0 var(--space-6);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .brand-section {
        grid-column: span 1;
        margin-bottom: var(--space-6);
        max-width: none;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .newsletter-title {
        font-size: var(--text-2xl);
    }
    
    .newsletter-description {
        font-size: var(--text-base);
    }
    
    .footer-brand {
        font-size: var(--text-2xl);
    }
    
    .social-links {
        gap: var(--space-3);
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: var(--text-lg);
    }
    
    .footer-bottom-links {
        gap: var(--space-4);
    }
}

/* Large Screens */
@media (min-width: 1200px) {
    .newsletter-title {
        font-size: var(--text-5xl);
    }
    
    .footer-content {
        gap: var(--space-16);
    }
    
    .footer-brand {
        font-size: var(--text-4xl);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .newsletter {
        background: var(--black);
    }
    
    .footer {
        background: var(--black);
        border-top: 2px solid var(--white);
    }
    
    .social-link {
        background: var(--white);
        color: var(--black);
    }
    
    .social-link:hover {
        background: var(--gold-500);
        color: var(--white);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .newsletter::before {
        animation: none;
    }
    
    .newsletter-btn:hover i,
    .social-link:hover {
        transform: none;
    }
}