/* ============================================
   FOOTER STYLES
   ============================================ */

.footer {
    background: linear-gradient(180deg, #5D4037 0%, #3E2723 100%);
    color: #F5DEB3;
    position: relative;
    margin-top: 80px;
    padding-top: 60px;
    overflow: hidden;
}

/* Chocolate drip decoration */
.chocolate-drip {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M1200 120L0 16.48 0 0 1200 0 1200 120z' fill='%235D4037'/%3E%3C/svg%3E");
    background-size: cover;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px;
    position: relative;
    z-index: 1;
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Footer Brand */
.footer-brand {
    max-width: 300px;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #F5DEB3;
}

.logo-footer i {
    font-size: 32px;
    color: #D2691E;
}

.logo-highlight {
    color: #FFD700;
}

.footer-description {
    color: rgba(245, 222, 179, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #F5DEB3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 222, 179, 0.2);
}

.social-link:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-3px);
    border-color: #8B4513;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

.footer-column {
    margin-bottom: 20px;
}

.footer-title {
    color: #FFD700;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    font-family: 'Playfair Display', serif;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #D2691E, #FFD700);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list li:last-child {
    margin-bottom: 0;
}

.footer-list a {
    color: rgba(245, 222, 179, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-list a:hover {
    color: #FFD700;
    transform: translateX(5px);
}

.footer-list a i {
    font-size: 10px;
    color: #D2691E;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-list i {
    color: #D2691E;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-list span {
    color: rgba(245, 222, 179, 0.8);
}

/* Newsletter Section */
.footer-newsletter {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.2), rgba(94, 38, 17, 0.3));
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    border: 1px solid rgba(210, 105, 30, 0.3);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .footer-newsletter {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 30px;
    }
}

.newsletter-content {
    max-width: 400px;
}

.newsletter-title {
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .newsletter-title {
        justify-content: center;
    }
}

.newsletter-title i {
    color: #D2691E;
}

.newsletter-text {
    color: rgba(245, 222, 179, 0.9);
    line-height: 1.6;
    font-size: 15px;
}

.newsletter-form {
    max-width: 500px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .input-group {
        flex-direction: column;
    }
}

.input-group input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid rgba(210, 105, 30, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: rgba(245, 222, 179, 0.6);
}

.input-group input:focus {
    outline: none;
    border-color: #D2691E;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.2);
}

.btn-newsletter {
    padding: 16px 30px;
    background: linear-gradient(135deg, #D2691E, #8B4513);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-newsletter:hover {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.newsletter-note {
    color: rgba(245, 222, 179, 0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .newsletter-note {
        justify-content: center;
    }
}

.newsletter-note i {
    color: #4CAF50;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(210, 105, 30, 0.3);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}

.copyright {
    color: rgba(245, 222, 179, 0.7);
    font-size: 14px;
}

.copyright i {
    margin: 0 5px;
}

.footer-extra {
    margin-top: 8px;
    font-size: 13px;
}

.footer-extra a {
    color: rgba(245, 222, 179, 0.8);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-extra a:hover {
    color: #FFD700;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 480px) {
    .payment-methods {
        flex-direction: column;
        gap: 15px;
    }
}

.payment-label {
    color: rgba(245, 222, 179, 0.8);
    font-size: 14px;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-icons i {
    font-size: 24px;
    color: rgba(245, 222, 179, 0.7);
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-icons i:hover {
    color: #FFD700;
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #D2691E, #8B4513);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

/* Footer Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.social-link:nth-child(1) { animation: float 4s ease-in-out infinite; }
.social-link:nth-child(2) { animation: float 4s ease-in-out infinite 0.5s; }
.social-link:nth-child(3) { animation: float 4s ease-in-out infinite 1s; }
.social-link:nth-child(4) { animation: float 4s ease-in-out infinite 1.5s; }
.social-link:nth-child(5) { animation: float 4s ease-in-out infinite 2s; }

/* Chocolate Emoji Animation */
@keyframes chocolateSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.copyright .fa-heart {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}