/* ===================================
   MODERN FOOTER & PRE-FOOTER CTA
   Professional, Clean, Premium Design
   =================================== */

/* ===================================
   PRE-FOOTER CTA SECTION
   =================================== */
.pre-footer-cta {
    background: linear-gradient(135deg, #ef97c0 0%, #d6009c 50%, #b8007d 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.pre-footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pre-footer-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pre-footer-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.pre-footer-cta-text {
    flex: 1;
}

.pre-footer-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.pre-footer-cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
}

.pre-footer-cta-action {
    flex-shrink: 0;
}

.pre-footer-cta-btn {
    background: #ffffff;
    color: #d6009c;
    padding: 1.125rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
}

.pre-footer-cta-btn:hover {
    background: #f8f8f8;
    color: #b8007d;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ===================================
   MODERN FOOTER
   =================================== */
.footer-modern {
    background: #1a1a1a;
    color: #ffffff;
    position: relative;
}

.footer-main {
    padding: 3.5rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Company Column */
.footer-company {
    padding-right: 1rem;
}

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

.footer-logo-img {
    max-width: 200px;
    height: auto;
}

.footer-company-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.625rem;
    font-family: 'Playfair Display', serif;
}

.footer-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}

/* Footer Social Media Full Width Section */
.footer-social-full {
    padding: 0rem 0 2rem 0;
    border-top: none;
}

.footer-social-full .footer-social {
    text-align: center;
    margin-top: -4rem;
    padding-top: 0;
    border-top: none;
}

.footer-social-full .footer-social-heading {
    text-align: center;
}

.footer-social-full .footer-social-icons {
    justify-content: center;
}

/* Footer Social Media */
.footer-social {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

.footer-social-icons {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-social-icons a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Instagram */
.footer-social-icons a[aria-label="Instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Facebook */
.footer-social-icons a[aria-label="Facebook"] {
    background: #1877f2;
}

/* YouTube */
.footer-social-icons a[aria-label="YouTube"] {
    background: #ff0000;
}

/* TikTok */
.footer-social-icons a[aria-label="TikTok"] {
    background: #000000;
    border: 2px solid #00f2ea;
}

/* LinkedIn */
.footer-social-icons a[aria-label="LinkedIn"] {
    background: #0077b5;
}

/* Nextdoor */
.footer-social-icons a[aria-label="Nextdoor"] {
    background: #00b246;
}

/* BBB */
.footer-social-icons a[aria-label="Better Business Bureau"] {
    background: transparent;
    padding: 0;
}

/* Image-based social icons */
.footer-social-icons .social-img-link {
    background: #ffffff;
    padding: 4px;
    width: 42px;
    height: 42px;
    overflow: hidden;
}

.footer-social-icons .social-img-link:hover {
    background: #ffffff;
}

.footer-social-icons .social-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-social-icons svg {
    width: 20px;
    height: 20px;
}

/* Footer Headings */
.footer-heading {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 0.625rem;
    letter-spacing: 0.5px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #d6009c 0%, #ff1493 50%, transparent 100%);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #d6009c;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #d6009c;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 6px;
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-icon {
    flex-shrink: 0;
    color: #d6009c;
    filter: drop-shadow(0 2px 4px rgba(214, 0, 156, 0.3));
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-item a:hover {
    color: #d6009c;
    padding-left: 4px;
}

/* Business Hours */
.footer-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 0.875rem;
}

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

.hours-day {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.hours-time {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    white-space: nowrap;
    font-weight: 400;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

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

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-legal-links a:hover {
    color: #d6009c;
}

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

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

/* Tablet */
@media (max-width: 1024px) {
    .pre-footer-cta {
        padding: 3.5rem 0;
    }
    
    .pre-footer-cta-title {
        font-size: 2rem;
    }
    
    .pre-footer-cta-subtitle {
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .footer-company {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .pre-footer-cta {
        padding: 3rem 0;
    }
    
    .pre-footer-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .pre-footer-cta-title {
        font-size: 1.75rem;
    }
    
    .pre-footer-cta-subtitle {
        font-size: 0.9375rem;
    }
    
    .pre-footer-cta-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
    
    .footer-main {
        padding: 4rem 0 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-company {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links,
    .footer-contact-list,
    .footer-hours-list {
        text-align: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-hours-item {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
        padding: 1rem 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .pre-footer-cta {
        padding: 2.5rem 0;
    }
    
    .pre-footer-cta-title {
        font-size: 1.5rem;
    }
    
    .pre-footer-cta-subtitle {
        font-size: 0.875rem;
    }
    
    .pre-footer-cta-btn {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
        width: 100%;
        max-width: 280px;
    }
    
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .footer-logo-img {
        max-width: 150px;
    }
    
    .footer-company-name {
        font-size: 1.25rem;
    }
    
    .footer-description {
        font-size: 0.875rem;
    }
    
    .footer-heading {
        font-size: 1rem;
    }
    
    .footer-links li a,
    .footer-contact-item a,
    .footer-contact-item span {
        font-size: 0.875rem;
    }
    
    .hours-day,
    .hours-time {
        font-size: 0.875rem;
    }
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-modern {
    animation: fadeInUp 0.8s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .footer-modern,
    .pre-footer-cta-btn,
    .footer-links li a,
    .footer-contact-item a {
        animation: none;
        transition: none;
    }
    
    .pre-footer-cta-btn:hover,
    .footer-links li a:hover {
        transform: none;
    }
}
