/* Modern Footer Styles */

/* Sticky Footer Layout */
.sticky-footer-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.footer-modern {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 3rem 0 0;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

/* Decorative gradient line at top */
.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
    #6366f1 0%,
    #8b5cf6 25%,
    #ec4899 50%,
    #f97316 75%,
    #6366f1 100%);
    background-size: 200% 100%;
    animation: gradient-shift 8s linear infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* Footer container */
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Main footer sections */
.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer section */
.footer-section h3 {
    color: #f1f5f9;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h3 i {
    font-size: 1rem;
    color: #818cf8;
}

/* Footer links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #818cf8;
    transform: translateX(4px);
}

.footer-links a i {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Brand section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
}

.footer-logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-tagline {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Social links */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.125rem;
}

.social-link i {
    font-size: 1.125rem;
}

.social-link:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Specific social platform hover colors */
.social-link[title="Facebook"]:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-link[title="Instagram"]:hover {
    background: linear-gradient(45deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    border-color: #dd2a7b;
    box-shadow: 0 4px 12px rgba(221, 42, 123, 0.3);
}

.social-link[title="X (Twitter)"]:hover {
    background: #000000;
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link[title="YouTube"]:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

/* Quick actions */
.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-cta:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    color: white !important;
}

.footer-cta i {
    font-size: 1.125rem;
}

/* Bottom section */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    align-items: center;
    text-align: center;
}

/* PDGA section */
.footer-pdga {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-pdga img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-pdga span {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Copyright */
.footer-copyright {
    color: #64748b;
    font-size: 0.875rem;
}

.footer-copyright a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #818cf8;
}

/* Newsletter form */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 300px;
}

.newsletter-input {
    flex: 1;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #6366f1;
}

.newsletter-button {
    padding: 0.5rem 1rem;
    background: #6366f1;
    border: none;
    border-radius: 0.375rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

/* Responsive design */
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .footer-modern {
        padding: 2rem 0 0;
    }

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

    .footer-links {
        align-items: center;
    }

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

    .newsletter-form {
        max-width: 100%;
    }

    .footer-pdga {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Hover effects for footer sections */
.footer-section {
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-2px);
}

/* Animated background pattern */
.footer-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}