/*
* This section contains styles for the PBC Website.
*/

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0; /* Ensure no default body margin */
    overflow-x: hidden; /* Prevent horizontal scrollbars */
    /* Default transition for fade-out/fade-in page effects */
    transition: opacity 1s ease-in-out;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 4rem); 
    perspective: 400px; 
}

@keyframes fade-in-smooth {
    0% {
        opacity: 0; 
    }
    100% {
        opacity: 1; 
    }
}

@keyframes spin-horizontal {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(-360deg); 
    }
}

.spinning-logo {
    width: 800px; 
    height: auto; 
    opacity: 0; 
    animation: 
        fade-in-smooth 3s ease-out forwards, 
        spin-horizontal 8s linear 1.5s infinite;
    transform-style: preserve-3d; 
}


.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    font-size: 0.75rem; 
    color: #fff; 
}

.footer-links {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7); 
}

.footer-links span {
    display: inline; 
}

.footer-links a {
    margin-left: 0.75rem;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
    border-radius: 4px; 
}

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

.social-icons {
    display: flex; 
    justify-content: flex-start; 
    gap: 1rem; 
}

.social-icons a {
    border-radius: 50%; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0; 
}

.social-icons svg {
    width: 1.25rem; 
    height: 1.25rem;
    fill: currentColor;
    color: #fff; 
    transition: color 0.3s;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7)); 
}

.social-icons a:hover svg { 
     color: #ccc; 
}

.fade-out-page {
    opacity: 0;
    animation: pageFadeOut 1s ease-in-out forwards; 
}

.fade-in-page {
    opacity: 0; 
    animation: pageFadeIn 1s ease-in-out forwards; 
}

@keyframes pageFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Responsive adjustments for mobile (max-width: 768px) */
@media (max-width: 768px) {
    .footer {
        flex-direction: column; /* Stack children vertically */
        align-items: center; /* Center items horizontally */
        padding: 1rem; /* Adjust padding for mobile */
    }

    .social-icons {
        order: 1; /* Place icons first (above the text) */
        margin-bottom: 0.75rem; /* Space between icons and text */
        gap: 1.5rem; /* Increase gap between icons on mobile */
        width: 100%; /* Ensure it takes full width for centering */
        justify-content: center; /* Center icons horizontally on mobile */
    }

    .footer-links {
        order: 2; /* Place text second (below the icons) */
        text-align: center; /* Ensure copyright text is centered on mobile */
        width: 100%; /* Ensure it takes full width for centering on mobile */
    }

    .footer-links span {
        display: block; /* Make the span a block element for mobile to center its text */
    }
}
