/* Common CSS for A • ONE website */

/* Variables CSS for consistency across pages */
:root {
    --primary-color: #040309;
    --secondary-color: PINK ;
    --accent-color: yELLOW;
    --dark-bg: BLUE ;
    --light-text: #ffffff;
    --glow-effect: 0 0 50px rgba(106, 79, 224, 0.5);
    --transition-slow: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    --border-radius-full: 50%;
}

/* Keyframes and animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 30px rgba(106, 79, 224, 0.5); }
    50% { box-shadow: 0 0 70px rgba(106, 79, 224, 0.8); }
    100% { box-shadow: 0 0 30px rgba(106, 79, 224, 0.5); }
}

@keyframes float {
    0% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -55%); }
    100% { transform: translate(-50%, -50%); }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes slideInFromBottom {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility classes */
.gradient-bg {
    background: linear-gradient(-45deg, #3a2cad, #F7D51E);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Base styles */
@font-face {
    font-family: 'Centaur';
    src: url('../CENTAUR.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Centaur', Arial, sans-serif;
    min-height: 100vh;
    color: var(--light-text);
    background-color: var(--dark-bg);
    position: relative;
    overflow-x: hidden;
}

/* Logo styling */
.logo-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    z-index: 100;
    animation: pulse 3s infinite ease-in-out;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition-fast);
    box-shadow: var(--glow-effect);
}

.logo-container:hover img {
    transform: scale(1.1);
}

/* Navigation button */
.nav-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(58, 44, 173, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Centaur', serif;
    transition: var(--transition-fast);
    font-size: 1rem;
    backdrop-filter: blur(5px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
    background: rgba(106, 79, 224, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Page title */
.page-title {
    font-size: 3rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: normal;
    color: white;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* Particle effects */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius-full);
    pointer-events: none;
    mix-blend-mode: screen;
    box-shadow: 0 0 8px rgba(106, 79, 224, 0.6);
    filter: blur(1px);
}

/* Page transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a14 0%, #3a2cad 50%, #6a4fe0 100%);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-animation {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

.loading-animation:before {
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: white;
    border-right-color: white;
    position: absolute;
    animation: spin 1s linear infinite;
}

/* Responsive styles */
@media (max-width: 768px) {
    .logo-container {
        width: 60px;
        height: 60px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .nav-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo-container {
        width: 50px;
        height: 50px;
        bottom: 10px;
        right: 10px;
    }
    
    /* For gallery page only - align logo with buttons on mobile */
    body.gallery-page .logo-container {
        bottom: 70px;
        right: 15px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .nav-button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
