/* Footer styles for GD Professional Practice - Redesigned */

.site-footer {
    background: #ffffff;
    color: #111111;
    padding: 40px 120px;
    position: relative;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Intro text section */
.footer-intro {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #111111;
}

.footer-intro p {
    margin: 0 0 16px 0;
}

.footer-intro p:last-child {
    margin-bottom: 0;
}

.footer-explore-link {
    color: #ed6a59;
    text-decoration: underline;
    text-decoration-color: #ed6a59;
    transition: opacity 0.2s ease;
}

.footer-explore-link:hover {
    opacity: 0.8;
}

/* Dividers */
.footer-divider {
    width: 100%;
    height: 0;
    border-top: 1px solid #bdbdbd;
    transform: rotate(180deg);
}

.footer-bottom-divider {
    width: 100%;
    height: 0;
    border-top: 1px solid #111111;
}

/* Main footer content with columns (5 columns on desktop) */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

/* Footer column sections */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 0 0 auto;
}

.footer-column-title {
    font-family: 'IvyOra Display', serif;
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: #111111;
    margin: 0;
}

.footer-column-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column-links li {
    margin: 0;
    padding: 0;
}

.footer-column-links a {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-column-links a:hover {
    color: #ed6a59;
}

/* Social media section */
.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social-link:hover {
    color: #ed6a59;
}

.footer-social-icon {
    width: 19.959px;
    height: 19.959px;
    flex-shrink: 0;
}

/* Disclaimer */
.footer-disclaimer {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    color: #111111;
    margin: 0;
}

/* Footer bottom section */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 1;
}

.footer-logo-first {
    font-family: 'Hurricane', cursive;
    font-size: 26.196px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 1.5717px;
    color: #111111;
    margin: 0;
}

.footer-logo-last {
    font-family: 'Cinzel', serif;
    font-size: 22.374px;
    font-weight: 400;
    line-height: 1;
    color: #111111;
    margin: 0;
    margin-top: 4px;
}

.footer-copyright {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #111111;
    margin: 0;
    text-align: right;
}

.footer-copyright-name {
    font-family: 'IvyOra Display', serif;
    font-style: italic;
    font-weight: 400;
}

/* Responsive layout */
@media (max-width: 1199px) {
    .site-footer {
        padding: 40px 60px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-column {
        width: 100%;
    }

    /* Two column layout for certain sections */
    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 16px;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

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

@media (max-width: 768px) {
    .site-footer {
        padding: 0 16px;
    }

    .site-footer-inner {
        gap: 48px;
    }

    .footer-intro {
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 16px;
    }

    /* Social links in mobile grid layout */
    .footer-column:last-child {
        grid-column: 1 / -1;
    }

    .footer-social-links {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        gap: 44px 32px;
        width: fit-content;
    }

    .footer-bottom-content {
        gap: 19px;
    }

    .footer-branding {
        order: 1;
    }

    .footer-copyright {
        order: 2;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-social-links {
        grid-template-columns: repeat(2, max-content);
    }
}
