/* ===== FOOTER SECTION ===== */
.footer-section {
    background: linear-gradient(135deg, #2c2c2c 0%, #1e1e1e 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

/* ===== FOOTER CONTENT ===== */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
    position: relative;
    z-index: 2;
}

/* ===== FOOTER BRAND ===== */
.footer-brand {
    max-width: 350px;
}

.brand-logo h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-beige);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.brand-tagline {
    display: block;
    font-size: 0.9rem;
    color: #b0b0b0;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.brand-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: var(--radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-beige);
    text-decoration: none;
    transition: var(--transition-medium);
}

.footer-social-link:hover {
    background: var(--accent-beige);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.footer-social-link i {
    font-size: 1.2rem;
}

/* ===== FOOTER LINKS ===== */
.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--accent-beige);
    border-radius: var(--radius-small);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding-left: 0;
}

.footer-nav a:hover {
    color: var(--accent-beige);
    padding-left: 0.5rem;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--accent-beige);
    transition: var(--transition-fast);
}

.footer-nav a:hover::before {
    width: 0.3rem;
}

/* ===== FOOTER CONTACT ===== */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.1rem;
    color: var(--accent-beige);
    margin-top: 0.2rem;
    width: 20px;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item span {
    display: block;
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent-beige);
}

.contact-item p {
    color: #d0d0d0;
    font-size: 0.95rem;
    margin: 0;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: var(--radius-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-medium);
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem;
    color: var(--text-white);
    font-size: 1rem;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: #888;
}

.newsletter-input-group button {
    background: linear-gradient(135deg, var(--accent-beige), var(--dark-beige));
    color: var(--text-white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-small);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-input-group button:hover {
    background: linear-gradient(135deg, var(--dark-beige), #b8825a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.newsletter-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.newsletter-note i {
    color: var(--accent-beige);
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.meta-links {
    display: flex;
    gap: 1.5rem;
}

.meta-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.meta-links a:hover {
    color: var(--accent-beige);
}

.back-to-top button {
    width: 45px;
    height: 45px;
    background: var(--accent-beige);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-medium);
    cursor: pointer;
    transition: var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top button:hover {
    background: var(--dark-beige);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.back-to-top button i {
    font-size: 1.2rem;
}

/* ===== FOOTER DECORATION ===== */
.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-element {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.03;
}

.element-1 {
    top: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-beige) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.element-2 {
    bottom: 20%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--dark-beige) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite reverse;
}

.element-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-beige) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 2.5rem;
    }
    
    .newsletter-content {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 0 2rem;
    }
    
    .newsletter-section {
        padding: 2rem 0;
        margin: 1.5rem 0;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        padding: 0;
        background: transparent;
        border: none;
        gap: 1rem;
    }
    
    .newsletter-input-group input {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--radius-medium);
    }
    
    .newsletter-input-group button {
        align-self: center;
        min-width: 150px;
    }
    
    .bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 2rem 0 1.5rem;
        gap: 2rem;
    }
    
    .brand-logo h3 {
        font-size: 2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-social-link i {
        font-size: 1.1rem;
    }
    
    .newsletter-section {
        padding: 1.5rem 0;
    }
    
    .newsletter-text h3 {
        font-size: 1.5rem;
    }
    
    .meta-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .back-to-top button {
        width: 40px;
        height: 40px;
    }
    
    .back-to-top button i {
        font-size: 1.1rem;
    }
}

/* ===== LOADING ANIMATIONS ===== */
.footer-section.loading .footer-brand {
    animation: fadeInLeft 1s ease-out forwards;
    opacity: 0;
}

.footer-section.loading .footer-links {
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.footer-section.loading .footer-services {
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.footer-section.loading .footer-contact {
    animation: fadeInRight 1s ease-out 0.6s forwards;
    opacity: 0;
}

.footer-section.loading .newsletter-section {
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

/* ===== SCROLL ANIMATIONS ===== */
.footer-section.animate .footer-content > * {
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}