/* Template 50 - Underwater Abyss / Deep Sea Mystery */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Nunito:wght@300;400;600&display=swap');

:root {
    --abyss-deep: #0a0e1a;
    --abyss-dark: #0d1525;
    --ocean-midnight: #152238;
    --ocean-dark: #1a3050;
    --biolum-cyan: #00e5ff;
    --biolum-blue: #4dd0e1;
    --biolum-green: #64ffda;
    --biolum-purple: #b388ff;
    --coral-pink: #ff6b9d;
    --text-light: #e0f7fa;
    --text-dim: #80cbc4;
    --text-muted: #4db6ac;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.75;
    color: var(--text-light);
    background: linear-gradient(180deg, var(--abyss-deep) 0%, var(--ocean-midnight) 50%, var(--abyss-dark) 100%);
    background-attachment: fixed;
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
}

/* Animated bubbles background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 229, 255, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(100, 255, 218, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(179, 136, 255, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header - Submarine Window */
.site-header {
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
}

.site-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--biolum-cyan), var(--biolum-green), var(--biolum-purple), transparent);
    animation: sonarPulse 3s ease-in-out infinite;
}

@keyframes sonarPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--biolum-cyan);
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.5s ease;
    position: relative;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.site-logo a::before {
    content: '◉';
    margin-right: 10px;
    font-size: 0.8rem;
    animation: biolumPulse 2s ease-in-out infinite;
}

@keyframes biolumPulse {
    0%, 100% { opacity: 0.5; text-shadow: 0 0 5px var(--biolum-cyan); }
    50% { opacity: 1; text-shadow: 0 0 20px var(--biolum-cyan), 0 0 40px var(--biolum-cyan); }
}

.site-logo a:hover {
    color: var(--biolum-green);
    text-shadow: 0 0 30px rgba(100, 255, 218, 0.7);
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.site-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    padding: 0.5rem 0;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--biolum-cyan), var(--biolum-green));
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--biolum-cyan);
}

.site-nav a:hover {
    color: var(--text-light);
}

.site-nav a:hover::after {
    width: 100%;
}

/* Hero Section - Ocean Depths */
.section.head {
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.section.head::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: depthGlow 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes depthGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.section.head h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
}

.section.head h1::first-letter {
    font-size: 5rem;
    color: var(--biolum-cyan);
    text-shadow: 0 0 30px var(--biolum-cyan);
}

.section.head p {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section header {
    text-align: center;
    margin-bottom: 3rem;
}

.section header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section header h2::before,
.section header h2::after {
    content: '~';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--biolum-cyan);
    font-size: 1.5rem;
    animation: wave 2s ease-in-out infinite;
}

.section header h2::before { left: -2rem; animation-delay: 0s; }
.section header h2::after { right: -2rem; animation-delay: 0.5s; }

@keyframes wave {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(5px); }
}

.section header p {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 550px;
    margin: 0 auto;
}

/* Footer - Ocean Floor */
.footer {
    background: linear-gradient(180deg, var(--abyss-dark) 0%, var(--abyss-deep) 100%);
    padding: 0;
    margin-top: 5rem;
    position: relative;
    border-top: 1px solid rgba(0, 229, 255, 0.15);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--biolum-cyan), var(--biolum-purple), var(--biolum-green), transparent);
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4rem 2rem 2rem;
    gap: 3rem;
}

.footer-about {
    flex: 1;
    max-width: 400px;
}

.footer-tagline {
    color: var(--text-dim);
    line-height: 1.9;
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    position: relative;
}

.footer-links a::before {
    content: '◦';
    margin-right: 8px;
    color: var(--biolum-cyan);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--biolum-cyan);
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.footer-links a:hover::before {
    content: '●';
    text-shadow: 0 0 10px var(--biolum-cyan);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.copyright a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Floating bubbles animation */
.bubble {
    position: fixed;
    bottom: -20px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.8), rgba(0, 229, 255, 0.2));
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: bubbleRise 8s ease-in-out infinite;
}

@keyframes bubbleRise {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: deepFadeIn 0.8s ease forwards;
}

@keyframes deepFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--text-light);
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
}
