/**
 * Footer CSS for Sona Pulp theme
 * This file contains styles specific to the footer section of the Sona Pulp WordPress theme.
 * It ensures a cohesive design and responsive layout for the footer across all devices.
 */
/* Footer Container */
/* ============================================================
   SONA PULP FOOTER
   BOOTSTRAP STRUCTURE + CUSTOM DESIGN
============================================================ */
/* ============================================================
   SONA PULP FOOTER
   BOOTSTRAP STRUCTURE + CUSTOM DESIGN
============================================================ */
.sona_pulp_footer {
    --sona-green: #176b4d;
    --sona-green-dark: #10523b;
    --sona-bg: #f4f5f1;
    --sona-text: #151515;
    --sona-muted: #6b6b6b;
    --sona-border: #dcded9;
    position: relative;
    width: 100%;
    background: var(--sona-bg);
    color: var(--sona-text);
    overflow: hidden;
}

/* ============================================================
   SUBTLE GREEN GLOW
============================================================ */
.sona_pulp_footer::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -250px;
    bottom: -300px;
    background: radial-gradient(circle,
            rgba(23, 107, 77, 0.08),
            transparent 70%);
    pointer-events: none;
}

/* ============================================================
   CONTAINER
============================================================ */
.sona_pulp_footer_container {
    position: relative;
    padding-top: 80px;
    padding-bottom: 30px;
    z-index: 2;
}

/* ============================================================
   MAIN ROW
============================================================ */
.sona_pulp_footer_main {
    align-items: flex-start;
}

/* ============================================================
   LOGO
============================================================ */
.sona_pulp_footer_logo {
    display: inline-block;
    color: var(--sona-green);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
    text-decoration: none;
    transition: 0.3s ease;
}

.sona_pulp_footer_logo:hover {
    color: var(--sona-green-dark);
    transform: translateY(-2px);
}

/* ============================================================
   DESCRIPTION
============================================================ */
.sona_pulp_footer_description {
    max-width: 360px;
    margin: 28px 0 30px;
    color: var(--sona-muted);
    font-size: 18px;
    line-height: 1.7;
}

/* ============================================================
   SOCIAL
============================================================ */
.sona_pulp_footer_social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sona_pulp_footer_social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sona-border);
    border-radius: 50%;
    background: #ffffff;
    color: #222;
    text-decoration: none;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.sona_pulp_footer_social a:hover {
    background: var(--sona-green);
    border-color: var(--sona-green);
    color: #ffffff;
    transform: translateY(-4px);
}

/* ============================================================
   HEADINGS
============================================================ */
.sona_pulp_footer_heading {
    margin: 0 0 24px;
    color: var(--sona-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

/* ============================================================
   WORDPRESS MENUS
============================================================ */
.sona_pulp_footer_menu,
.sona_pulp_footer_bottom_links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sona_pulp_footer_menu li {
    margin: 0 0 14px;
}

.sona_pulp_footer_menu li:last-child {
    margin-bottom: 0;
}

.sona_pulp_footer_menu a {
    position: relative;
    display: inline-block;
    color: var(--sona-muted);
    font-size: 18px;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.sona_pulp_footer_menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--sona-green);
    transition: width 0.3s ease;
}

.sona_pulp_footer_menu a:hover {
    color: var(--sona-green);
    transform: translateX(4px);
}

.sona_pulp_footer_menu a:hover::after {
    width: 100%;
}

/* ============================================================
   SUBMENU
============================================================ */
.sona_pulp_footer_menu .sub-menu {
    list-style: none;
    margin: 12px 0 0;
    padding: 0 0 0 14px;
    border-left: 1px solid rgba(23, 107, 77, 0.25);
}

.sona_pulp_footer_menu .sub-menu li {
    margin-bottom: 9px;
}

.sona_pulp_footer_menu .sub-menu a {
    font-size: 18px;
}

/* ============================================================
   NEWSLETTER
============================================================ */
.sona_pulp_footer_newsletter_text {
    max-width: 450px;
    margin: 0 0 24px;
    color: var(--sona-muted);
    font-size: 15px;
    line-height: 1.65;
}

/* ============================================================
   NEWSLETTER FORM
============================================================ */
.sona_pulp_footer_form_group {
    display: flex;
    width: 100%;
    max-width: 450px;
    height: 52px;
}

.sona_pulp_footer_form_group input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 16px;
    border: 1px solid var(--sona-border);
    border-right: none;
    outline: none;
    background: #ffffff;
    color: var(--sona-text);
    font-size: 18px;
    border-radius: 0;
}

.sona_pulp_footer_form_group input::placeholder {
    color: #888;
}

.sona_pulp_footer_form_group input:focus {
    border-color: var(--sona-green);
    box-shadow: 0 0 0 3px rgba(23, 107, 77, 0.08);
}

.sona_pulp_footer_form_group button {
    width: 60px;
    flex: 0 0 60px;
    border: none;
    background: var(--sona-green);
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.sona_pulp_footer_form_group button:hover {
    background: var(--sona-green-dark);
}

.sona_pulp_footer_form_group button i {
    transition: transform 0.3s ease;
}

.sona_pulp_footer_form_group button:hover i {
    transform: translateX(4px);
}

/* ============================================================
   FOOTER BOTTOM
============================================================ */
.sona_pulp_footer_bottom {
    align-items: center;
    margin-top: 75px;
    padding-top: 25px;
    border-top: 1px solid var(--sona-border);
}

/* ============================================================
   COPYRIGHT
============================================================ */
.sona_pulp_footer_copyright {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

/* ============================================================
   BOTTOM MENU
============================================================ */
.sona_pulp_footer_bottom_menu {
    display: flex;
    justify-content: flex-end;
}

.sona_pulp_footer_bottom_links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.sona_pulp_footer_bottom_links li {
    margin: 0;
}

.sona_pulp_footer_bottom_links a {
    color: #777;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sona_pulp_footer_bottom_links a:hover {
    color: var(--sona-green);
}

/* ============================================================
   TABLET
============================================================ */
@media (max-width: 991px) {
    .sona_pulp_footer_container {
        padding-top: 65px;
    }

    .sona_pulp_footer_description {
        font-size: 15px;
    }

    .sona_pulp_footer_heading {
        font-size: 16px;
    }
}

/* ============================================================
   MOBILE
============================================================ */
@media (max-width: 767px) {
    .sona_pulp_footer_container {
        padding-top: 60px;
        padding-bottom: 25px;
    }

    .sona_pulp_footer_main {
        row-gap: 42px !important;
    }

    .sona_pulp_footer_logo {
        font-size: 27px;
    }

    .sona_pulp_footer_description {
        margin-top: 20px;
        font-size: 14px;
    }

    .sona_pulp_footer_heading {
        margin-bottom: 18px;
    }

    .sona_pulp_footer_menu a {
        font-size: 14px;
    }

    .sona_pulp_footer_newsletter_text {
        font-size: 14px;
    }

    .sona_pulp_footer_bottom {
        margin-top: 55px;
        padding-top: 22px;
    }

    .sona_pulp_footer_bottom_menu {
        justify-content: flex-start;
        margin-top: 5px;
    }

    .sona_pulp_footer_bottom_links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px 20px;
    }
}

/* ============================================================
   SMALL MOBILE
============================================================ */
@media (max-width: 480px) {
    .sona_pulp_footer_container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sona_pulp_footer_logo {
        font-size: 25px;
    }

    .sona_pulp_footer_social a {
        width: 39px;
        height: 39px;
    }

    .sona_pulp_footer_form_group {
        height: 50px;
    }

    .sona_pulp_footer_form_group button {
        width: 54px;
        flex-basis: 54px;
    }

    .sona_pulp_footer_copyright {
        font-size: 12px;
    }

    .sona_pulp_footer_bottom_links a {
        font-size: 12px;
    }
}