/* ========================================
   FOOTER SECTION - PREMIUM STYLE
   ======================================== */

.footer-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../image/bg/wall.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 4rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ---- FOOTER UPPER ---- */
.footer-upper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f59e0b;
}

/* Contact Info Column */
.contact-info {
    padding-left: 0;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-info i {
    color: #f59e0b;
    margin-right: 0.3rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Footer Logo Section */
.footer-logo-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f59e0b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.footer-logo img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

.footer-logo-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons a:hover {
    background-color: #f59e0b;
    color: #000;
    border-color: #f59e0b;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* Quick Links Column */
.quick-links {
    padding-right: 0;
    text-align: right;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 1rem;
}

.quick-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.3rem 0.5rem;
}

.quick-links a:hover {
    color: #f59e0b;
    padding-left: 0.8rem;
}

/* ---- FOOTER DIVIDER ---- */
.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 2.5rem 0;
}

/* ---- FOOTER LOWER ---- */
.footer-lower {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    visibility: visible !important;
    opacity: 1 !important;
}

/* Newsletter Form */
.newsletter-form {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.newsletter-form label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.input-group {
    display: flex;
    gap: 0;
}

.input-group input {
    flex-grow: 1;
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: background 0.3s ease;
}

.input-group input::placeholder {
    color: #999;
}

.input-group input:focus {
    outline: none;
    background: #ffffff;
}

.input-group button {
    padding: 0.9rem 2rem;
    border: none;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.input-group button:hover {
    background: linear-gradient(135deg, #f8b44b 0%, #e08607 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.subscription-message {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Landscape - 1024px and below */
@media (max-width: 1024px) {
    .footer-section {
        padding: 3.5rem 2rem;
    }

    .footer-upper {
        gap: 2.5rem;
    }

    .footer-column h4 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
}

/* Tablet Portrait - 768px to 1024px */
@media (max-width: 768px) and (min-width: 601px) {
    .footer-section {
        padding: 3rem 1.5rem;
    }

    .footer-upper {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .footer-logo-section {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        font-size: 1.1rem;
        display: block;
        margin-bottom: 1rem;
    }

    .contact-info li,
    .quick-links li {
        justify-content: center;
        margin-bottom: 0.9rem;
    }

    .quick-links a:hover {
        padding-left: 0.5rem;
    }

    .footer-logo img {
        width: 110px;
        height: 110px;
    }

    .footer-lower {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        order: -1;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group input {
        border-radius: 8px 8px 0 0;
        margin-bottom: 0.5rem;
    }

    .input-group button {
        border-radius: 0 0 8px 8px;
        width: 100%;
    }
}

/* Mobile Landscape / Tablet - 600px */
@media (max-width: 768px) {
    .footer-section {
        padding: 2.5rem 1.2rem;
    }

    .footer-upper {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .footer-logo-section {
        grid-column: 1;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1.5rem;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .contact-info li,
    .quick-links li {
        justify-content: center;
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .footer-logo img {
        width: 100px;
        height: 100px;
    }

    .footer-logo-section p {
        font-size: 0.9rem;
    }

    .social-icons {
        gap: 0.8rem;
    }

    .social-icons a {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .footer-divider {
        margin: 2rem 0;
    }

    .footer-lower {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .copyright {
        font-size: 0.85rem;
    }

    .newsletter-form label {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .input-group input {
        border-radius: 6px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .input-group button {
        border-radius: 6px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    .footer-section {
        padding: 2rem 1rem;
    }

    .footer-upper {
        gap: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .footer-column h4 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .contact-info li,
    .quick-links li {
        font-size: 0.85rem;
        margin-bottom: 0.7rem;
    }

    .footer-logo img {
        width: 90px;
        height: 90px;
    }

    .footer-logo-section p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .footer-divider {
        margin: 1.5rem 0;
    }

    .footer-lower {
        gap: 1.2rem;
    }

    .copyright {
        font-size: 0.8rem;
    }

    .newsletter-form label {
        font-size: 0.8rem;
    }

    .input-group input {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }

    .input-group button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile - 360px and below */
@media (max-width: 360px) {
    .footer-section {
        padding: 1.5rem 0.75rem;
    }

    .footer-column h4 {
        font-size: 0.9rem;
    }

    .contact-info li,
    .quick-links li {
        font-size: 0.8rem;
    }

    .footer-logo img {
        width: 80px;
        height: 80px;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}