/* ============================================
   FOOTER STYLES - SUN SOLAR
   ============================================ */

/* Base Footer Styles */
.footer {
    background: linear-gradient(to bottom right, #0f172a, #581c87, #0f172a);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Newsletter Section */
.newsletter-section {
    background: #009A4E;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-intro {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 112%;
    max-width: 108px;
    border-radius: 10px;
}

.footer-description {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 640px;
}

.newsletter-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.newsletter-subtitle {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.newsletter-input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px #a855f7;
}

.newsletter-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    border-radius: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(251, 191, 36, 0.5);
}

/* Main Footer Content */
.footer-main {
    padding: 4rem 0;
    background-color: forestgreen;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.column-header {
    margin-bottom: 0.5rem;
}

.column-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    border-radius: 9999px;
}

/* Contact Section */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-icon i {
    font-size: 1.25rem;
    color: #ffffff;
}

.phone-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.email-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.address-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.contact-info {
    flex: 1;
}

.contact-label {
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #fbbf24;
}

.contact-email {
    word-break: break-all;
}

.contact-text {
    color: #ffffff;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: flex;
    align-items: center;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link i {
    margin-right: 0.5rem;
    color: #fbbf24;
}

.footer-link:hover {
    color: #fbbf24;
    transform: translateX(5px);
}

/* News Section */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    display: flex;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    flex: 1;
}

.news-date {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.news-date i {
    margin-right: 0.25rem;
}

.news-title {
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.news-title:hover {
    color: #fbbf24;
}

/* Social Media Section */
.social-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    background: brown;
}

.social-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.social-header {
    text-align: center;
}

.social-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.social-subtitle {
    color: #9ca3af;
    font-size: 0.875rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
    background: #25d366;
}

.whatsapp-icon:hover {
    background: #128c7e;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.facebook-icon {
    background: #1877f2;
}

.facebook-icon:hover {
    background: #0c63d4;
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.instagram-icon {
    background: linear-gradient(135deg, #833ab4, #e1306c, #fd8d32);
}

.instagram-icon:hover {
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    text-align: center;
}

.copyright-text,
.designer-text {
    color: #9ca3af;
    font-size: 0.875rem;
}

.brand-name,
.designer-name {
    font-weight: 600;
    color: #ffffff;
}

/* Decorative Sun Icon */
.decorative-sun {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    opacity: 0.1;
    pointer-events: none;
    display: none;
}

.decorative-sun i {
    font-size: 9rem;
    color: #fde68a;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .newsletter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-wrapper {
        flex-direction: row;
    }
    
    .social-header {
        text-align: left;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .decorative-sun {
        display: block;
    }
}

/* ============================================
   ADDITIONAL ANIMATIONS
   ============================================ */

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(251, 191, 36, 0.6);
    }
}

.newsletter-btn:hover {
    animation: pulse-glow 2s infinite;
}