/* ═══════════════════════════════════════════════════════
   VIKINGONKETO.COM - CATHEDRAL TRANSFORMATION
   Feather V animation, color morphing, full vitality
   ═══════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────
   RESET & BASE
   ────────────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Cormorant Garamond', serif;
    background: #000;
    color: #fff;
}

/* ──────────────────────────────────────────────────────
   THE PAINTING - FULL VITALITY BACKGROUND
   ────────────────────────────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('desktop.jpg') center/cover no-repeat fixed;
    z-index: -1;
    opacity: 1; /* FULL COLOR - no dulling */
}

/* Mobile painting swap */
@media (max-width: 768px) {
    body::before {
        background-image: url('mobile.jpg');
    }
}

/* ──────────────────────────────────────────────────────
   THE FLYING V - FEATHER DRIFT ANIMATION
   ────────────────────────────────────────────────────── */
#flying-v-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
}

#the-v-logo {
    width: 300px;
    height: auto;
    animation: featherDrift 3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* The Feather Drift - Organic tumbling from painting depth */
@keyframes featherDrift {
    0% {
        transform: translateZ(-2000px) translateX(-100px) translateY(-150px) rotate(-15deg) scale(0.1);
        opacity: 0;
        filter: blur(20px);
    }
    30% {
        transform: translateZ(-500px) translateX(40px) translateY(-20px) rotate(8deg) scale(0.5);
        opacity: 0.6;
        filter: blur(8px);
    }
    60% {
        transform: translateZ(-100px) translateX(-20px) translateY(10px) rotate(-3deg) scale(0.9);
        opacity: 0.95;
        filter: blur(2px);
    }
    85% {
        transform: translateZ(0) translateX(5px) translateY(-5px) rotate(2deg) scale(1.05);
        opacity: 1;
        filter: blur(0);
    }
    100% {
        transform: translateZ(0) translateX(0) translateY(0) rotate(0deg) scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

/* The Meditative Breath - 6s cycle (triggered by JavaScript) */
#the-v-logo.breathing {
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.92;
    }
    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}

/* ──────────────────────────────────────────────────────
   COLOR MORPHING ENGINE - LIQUID LIGHT
   ────────────────────────────────────────────────────── */
#the-v-logo {
    transition: filter 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* VIGORE - Crimson Red (#D32F2F) */
body.section-vigore #the-v-logo {
    filter: 
        brightness(0) saturate(100%) 
        invert(26%) sepia(89%) saturate(2476%) 
        hue-rotate(346deg) brightness(84%) contrast(97%);
}

/* VIRTŪS - Rich Gold (#D4AF37) */
body.section-virtus #the-v-logo {
    filter: 
        brightness(0) saturate(100%) 
        invert(64%) sepia(57%) saturate(458%) 
        hue-rotate(3deg) brightness(92%) contrast(87%);
}

/* VOCARE - Vibrant Turquoise (#40E0D0) */
body.section-vocare #the-v-logo {
    filter: 
        brightness(0) saturate(100%) 
        invert(71%) sepia(56%) saturate(2878%) 
        hue-rotate(130deg) brightness(96%) contrast(85%);
}

/* VITÆ - Earth Green (#4CAF50) */
body.section-vitae #the-v-logo {
    filter: 
        brightness(0) saturate(100%) 
        invert(64%) sepia(26%) saturate(1214%) 
        hue-rotate(73deg) brightness(91%) contrast(85%);
}

/* ──────────────────────────────────────────────────────
   HEADER - TRANSPARENT, NO BOXES
   ────────────────────────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    z-index: 100;
    background: transparent;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* ──────────────────────────────────────────────────────
   FLOATING NAVIGATION - BOTTOM THIRD
   ────────────────────────────────────────────────────── */
#cathedral-nav {
    position: fixed;
    bottom: 8vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2.5rem;
    z-index: 100;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#cathedral-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

#cathedral-nav a:hover {
    color: #fff;
    transform: scale(1.08);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* ──────────────────────────────────────────────────────
   SECTIONS - CATHEDRAL ARCHITECTURE
   ────────────────────────────────────────────────────── */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem;
    position: relative;
}

.section-content {
    max-width: 900px;
    text-align: center;
}

/* Cathedral Typography */
section h1 {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
}

section .tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    margin-bottom: 3rem;
}

.pillar-description {
    background: transparent;
    padding: 2rem 3rem;
    margin-top: 2rem;
}

.pillar-description h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.pillar-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

/* ──────────────────────────────────────────────────────
   theVOX SHOWCASE (VOCARE Section)
   ────────────────────────────────────────────────────── */
.thevox-showcase {
    margin-top: 4rem;
    padding: 2rem;
    background: transparent;
}

.thevox-showcase h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #40E0D0;
    margin-bottom: 0.5rem;
}

.vox-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* ──────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────── */
footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.thev-footer-logo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #D32F2F;
}

.footer-link-text {
    font-size: 0.85rem;
}

/* ──────────────────────────────────────────────────────
   MOBILE RESPONSIVENESS
   ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    #the-v-logo {
        width: 200px;
    }
    
    section h1 {
        font-size: 3rem;
    }
    
    section .tagline {
        font-size: 1.1rem;
    }
    
    #cathedral-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    
    #cathedral-nav a {
        font-size: 0.9rem;
    }
    
    .pillar-description {
        padding: 1.5rem 2rem;
    }
    
    header {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    section h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    #the-v-logo {
        width: 150px;
    }
}
