/* General Styles */
:root {
    --primary-color: #ff0000;
    --secondary-color: #000;
    --text-color: #fff;
    --hover-glow: 0 0 15px rgba(255, 0, 0, 0.7);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-align: center;
}

/* Footer Styles */
.footer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Footer Top */
.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand {
    margin-bottom: 30px;
    text-align: center;
}

.logo .sitename {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    transition: var(--transition);
    display: inline-block;
}

.logo:hover .sitename {
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    transform: scale(1.02);
}

.footer-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 800px;
}

.footer-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.contact-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: center;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 10px;
    transition: var(--transition);
}

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.contact-link:hover {
    color: var(--primary-color);
    text-shadow: var(--hover-glow);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
    justify-content: center;
    max-width: 500px;
    width: 100%;
}

.email-field {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    outline: none;
    transition: var(--transition);
    max-width: 400px;
}

.email-field:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.newsletter-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn i {
    font-size: 1.2rem;
}

.newsletter-btn:hover {
    background-color: #ff3333;
    box-shadow: var(--hover-glow);
    transform: translateX(5px);
}

/* Footer Middle */
.footer-middle {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-link-list {
    list-style: none;
    columns: 2;
    column-gap: 30px;
    padding: 0;
    text-align: center;
}

.quick-link-item {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
    text-align: center;
}

.quick-link-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.quick-link-item:hover {
    color: var(--primary-color);
    padding-right: 0;
    padding-left: 15px;
}

.quick-link-item:hover::before {
    width: 10px;
    box-shadow: var(--hover-glow);
}

.social-list {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    opacity: 0;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-glow);
}

.social-link:hover::before {
    opacity: 0.3;
}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1DA1F2; }
.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.whatsapp { background-color: #25D366; }
.youtube { background-color: #FF0000; }

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    text-align: center;
    width: 100%;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.6;
}

.copyright-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.copyright-link:hover {
    text-shadow: var(--hover-glow);
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0;
}

.bottom-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.bottom-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.bottom-link:hover {
    color: var(--primary-color);
}

.bottom-link:hover::after {
    width: 100%;
    box-shadow: var(--hover-glow);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-top .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-top .container {
        grid-template-columns: 1fr;
    }
    
    .quick-link-list {
        columns: 1;
    }
    
    .logo .sitename {
        font-size: 2rem;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .footer-middle .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .social-list {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .email-field {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    .newsletter-btn {
        border-radius: 30px;
        padding: 12px;
    }
    
    .quick-link-item:hover {
        padding-left: 0;
    }
}

.footer-top {
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

@keyframes textGlow {
    0% { color: #ff0000; }
    50% { color: #ff6b6b; }
    100% { color: #ff0000; }
}

.footer-title {
    animation: textGlow 3s infinite;
}