/* ===== MODERN FOOTER STYLES ===== */

:root {
    --primary-pink: #f8a5c2;
    --light-pink: #fdeff6;
    --dark-pink: #e75480;
    --gold: #d4af37;
    --light-gold: #f7efd9;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --dark-gray: #2c3e50;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Footer Structure */
.site-footer {
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Footer Top Section */
.footer-top {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-pink), var(--gold));
}

/* Footer Brand */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo i {
    font-size: 2.5rem;
    color: var(--primary-pink);
    filter: drop-shadow(0 0 8px rgba(248, 165, 194, 0.3));
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--white), var(--light-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--dark-pink);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(231, 84, 128, 0.4);
    border-color: var(--dark-pink);
}

/* Footer Headings */
.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-pink), transparent);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-weight: 400;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary-pink);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

/* Newsletter Form */
.footer-newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 12px 20px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-control:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--white);
}

.btn-newsletter {
    background: linear-gradient(135deg, var(--dark-pink), #ff6b9d);
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    color: var(--white);
    transition: var(--transition);
}

.btn-newsletter:hover {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #ff6b9d, var(--dark-pink));
}

.form-check-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.form-check-input:checked {
    background-color: var(--dark-pink);
    border-color: var(--dark-pink);
}

/* Contact Info */
.footer-contact {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--primary-pink);
    width: 20px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Footer Middle Section */
.footer-middle {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-download h5,
.footer-awards h5 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 180px;
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: var(--primary-pink);
}

.app-btn i {
    font-size: 1.8rem;
}

.app-text {
    display: flex;
    flex-direction: column;
}

.app-text .small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.app-text .large {
    font-size: 1.1rem;
    font-weight: 600;
}

.app-store i {
    color: var(--white);
}

.google-play i {
    color: #34A853;
}

/* Awards Grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.award-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.award-item i {
    color: var(--gold);
    font-size: 1.2rem;
}

.award-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-pink);
    transition: width 0.3s ease;
}

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

.legal-link:hover::after {
    width: 100%;
}

/* Back to Top Button */
.back-to-top {
    background: linear-gradient(135deg, var(--dark-pink), #ff6b9d);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 10px;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(231, 84, 128, 0.4);
}

/* ===== RESPONSIVE STYLES ===== */

/* Large Screens (Desktop) */
@media (min-width: 1200px) {
    .footer-top {
        padding: 6rem 0 4rem;
    }
    
    .footer-logo i {
        font-size: 3rem;
    }
    
    .footer-logo-text {
        font-size: 2.2rem;
    }
}

/* Medium Screens (Tablets) */
@media (max-width: 991.98px) {
    .footer-top {
        padding: 4rem 0 2rem;
    }
    
    .footer-heading {
        font-size: 1.2rem;
    }
    
    .app-buttons {
        justify-content: flex-start;
    }
    
    .app-btn {
        min-width: 160px;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Screens (Mobile) */
@media (max-width: 767.98px) {
    .footer-top {
        padding: 3rem 0 2rem;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .newsletter-form .input-group {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .app-btn {
        min-width: 200px;
        justify-content: center;
    }
    
    .footer-awards {
        text-align: center;
    }
    
    .award-item {
        justify-content: center;
        text-align: left;
    }
    
    .footer-legal {
        justify-content: center;
        text-align: center;
    }
    
    .copyright {
        text-align: center;
    }
    
    .back-to-top {
        margin: 10px auto 0;
        display: block;
    }
}

/* Extra Small Screens */
@media (max-width: 575.98px) {
    .footer-logo-text {
        font-size: 1.8rem;
    }
    
    .footer-heading {
        font-size: 1.1rem;
    }
    
    .app-btn {
        min-width: 100%;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .awards-grid {
        gap: 10px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .site-footer {
        background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    }
    
    .footer-top {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    .footer-middle {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .footer-bottom {
        background: rgba(0, 0, 0, 0.4);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-brand,
.footer-heading,
.footer-links li,
.newsletter-form,
.contact-item,
.app-download,
.footer-awards,
.copyright,
.footer-legal {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Staggered animations */
.footer-links li:nth-child(1) { animation-delay: 0.1s; }
.footer-links li:nth-child(2) { animation-delay: 0.2s; }
.footer-links li:nth-child(3) { animation-delay: 0.3s; }
.footer-links li:nth-child(4) { animation-delay: 0.4s; }
.footer-links li:nth-child(5) { animation-delay: 0.5s; }
.footer-links li:nth-child(6) { animation-delay: 0.6s; }

/* Wave Divider (Optional) */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--dark-pink) 20%, 
        var(--gold) 50%, 
        var(--dark-pink) 80%, 
        transparent 100%
    );
    opacity: 0.3;
}