/* ============================================
   DUBLIN PAIN CLINIC - FOOTER STYLES
   ============================================ */

/* ============================================
   FOOTER BRANDING STYLES
   ============================================ */
.dpc-footer {
    background: linear-gradient(135deg, var(--primary-color, #5BA3D0), var(--primary-dark, #4A8BC2));
    color: white;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.dpc-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #5BA3D0), var(--primary-light, #9BC4E2));
}

.dpc-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}

.dpc-footer-branding {
    margin-bottom: 3.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dpc-branding-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.dpc-footer-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition, 300ms ease);
    padding: 8px 0;
    border-radius: 10px;
}

.dpc-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dpc-logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition, 300ms ease);
}

.dpc-footer-logo:hover .dpc-logo-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.dpc-logo-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    transition: all var(--transition, 300ms ease);
}

.dpc-brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
    color: white;
}

.dpc-logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dpc-mission-statement {
    max-width: 700px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
}

/* ============================================
   FOOTER CONTENT GRID STYLES
   ============================================ */
.dpc-footer-content-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
}

.dpc-footer-module {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dpc-module-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 0.75rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dpc-module-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light, #9BC4E2), transparent);
    border-radius: 2px;
}

.dpc-module-title i {
    color: var(--primary-light, #9BC4E2);
    font-size: 1rem;
}

/* Contact Information Styles */
.dpc-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dpc-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: transform 0.2s ease;
}

.dpc-contact-item:hover {
    transform: translateX(5px);
}

.dpc-contact-item i {
    color: var(--primary-light, #9BC4E2);
    font-size: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.dpc-contact-text {
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
    line-height: 1.5;
    margin: 0;
}

.dpc-contact-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.dpc-contact-link:hover {
    color: white;
    text-decoration: none;
}

.dpc-contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light, #9BC4E2);
    transition: width 0.3s ease;
}

.dpc-contact-link:hover::after {
    width: 100%;
}

/* Quick Navigation Styles */
.dpc-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dpc-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.dpc-nav-link::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.dpc-nav-link:hover::before {
    left: 100%;
}

.dpc-nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.dpc-nav-link i {
    color: var(--primary-light, #9BC4E2);
    font-size: 0.875rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.dpc-nav-link:hover i {
    transform: scale(1.2);
}

/* Opening Hours Styles */
.dpc-hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dpc-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.dpc-hours-item:last-child {
    border-bottom: none;
}

.dpc-hours-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.dpc-day {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.dpc-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 400;
}

.dpc-closed {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ============================================
   FOOTER BOTTOM STYLES
   ============================================ */
.dpc-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dpc-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.dpc-social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.dpc-social-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.dpc-social-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dpc-social-link {
    position: relative;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.dpc-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color, #5BA3D0), var(--primary-light, #9BC4E2));
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.dpc-social-link:hover::before {
    transform: scale(1);
}

.dpc-social-link i {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.dpc-social-link:hover i {
    transform: scale(1.2);
}

.dpc-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.dpc-social-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.dpc-social-tooltip::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
}

.dpc-social-link:hover .dpc-social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.dpc-legal-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.dpc-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.dpc-legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.dpc-legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.dpc-legal-link:hover {
    color: white;
    text-decoration: underline;
}

.dpc-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.dpc-credit {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-weight: 400;
    transition: color 0.3s ease;
}

.dpc-credit:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   BACK TO TOP BUTTON STYLES
   ============================================ */
.dpc-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-color, #5BA3D0), var(--primary-dark, #4A8BC2));
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
}

.dpc-back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-light, #9BC4E2), var(--primary-color, #5BA3D0));
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.dpc-back-to-top:hover::before {
    transform: scale(1);
}

.dpc-back-to-top.dpc-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dpc-back-to-top i {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.dpc-back-to-top:hover i {
    transform: translateY(-2px);
}

.dpc-back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.dpc-back-to-top:focus {
    outline: 2px solid var(--primary-light, #9BC4E2);
    outline-offset: 2px;
}

.dpc-back-tooltip {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.dpc-back-tooltip::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.9) transparent;
}

.dpc-back-to-top:hover .dpc-back-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 768px) {
    .dpc-branding-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .dpc-logo-section {
        justify-content: flex-start;
    }
    
    .dpc-mission-statement {
        max-width: 50%;
        text-align: left;
    }

    .dpc-footer-content-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dpc-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .dpc-social-section {
        align-items: flex-start;
    }
    
    .dpc-legal-section {
        align-items: flex-end;
    }
}

@media (min-width: 992px) {
    .dpc-footer-content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .dpc-footer-container {
        padding: 3rem 1rem 1.5rem;
    }
    
    .dpc-brand-name {
        font-size: 1.4rem;
    }
    
    .dpc-mission-statement {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .dpc-logo-text-container {
        display: none;
    }
    
    .dpc-footer-logo {
        gap: 0;
        justify-content: center;
    }
    
    .dpc-logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .dpc-logo-image {
        width: 38px;
        height: 38px;
    }

    .dpc-back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .dpc-back-to-top i {
        font-size: 0.9rem;
    }
} 