/* Template 15 - Ocean Depths / Marine Cool */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --ocean-deep: #0c1929;
    --ocean-dark: #152238;
    --ocean-mid: #1e3a5f;
    --ocean-light: #2d5a87;
    --aqua-bright: #00c9b7;
    --aqua-glow: #00e5d0;
    --foam-white: #f0f8ff;
    --sand-light: #e8f1f8;
    --text-primary: #ffffff;
    --text-secondary: #a8c5db;
    --text-muted: #6b8fa8;
}

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

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(180deg, var(--ocean-deep) 0%, var(--ocean-dark) 100%);
    font-weight: 400;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 201, 183, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 229, 208, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

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

/* Header - Floating Glass */
.site-header {
    background: rgba(12, 25, 41, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    position: sticky;
    top: 1rem;
    z-index: 1000;
    margin: 1rem 2rem 0;
    border-radius: 100px;
    border: 1px solid rgba(0, 201, 183, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.site-logo a {
    font-family: 'Instrument Serif', serif;
    font-size: 1.75rem;
    font-weight: 400;
    font-style: italic;
    color: var(--aqua-bright);
    text-decoration: none;
    transition: all 0.4s ease;
    letter-spacing: 1px;
}

.site-logo a:hover {
    color: var(--aqua-glow);
    text-shadow: 0 0 20px var(--aqua-bright);
}

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

.site-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.site-nav a:hover {
    color: var(--ocean-deep);
    background: var(--aqua-bright);
}

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

.section.head::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 201, 183, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

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

.section.head h1 {
    font-family: 'Instrument Serif', serif;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--foam-white);
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.section.head h1 em {
    color: var(--aqua-bright);
    font-style: italic;
}

.section.head p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

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

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

.section header h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 2.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--foam-white);
}

.section header h2 span {
    color: var(--aqua-bright);
    font-style: italic;
}

.section header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Footer - Wave Border */
.footer {
    background: var(--ocean-mid);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50' preserveAspectRatio='none'%3E%3Cpath d='M0,25 C300,50 600,0 900,25 C1050,37.5 1125,12.5 1200,25 L1200,50 L0,50 Z' fill='%231e3a5f'/%3E%3C/svg%3E");
    background-size: cover;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

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

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

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

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

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--aqua-bright);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--aqua-bright);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(168, 197, 219, 0.15);
}

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

/* Animations */
@keyframes waveIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in {
    opacity: 0;
    animation: waveIn 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.25s; }
.fade-in:nth-child(3) { animation-delay: 0.4s; }

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: 'Instrument Serif', serif;
    font-size: 1.6rem;
    color: var(--foam-white);
    margin-top: 18px;
    margin-bottom: 12px;
    text-align: left;
    font-weight: 400;
}
