/*
Theme Name: Pacific Tide Media
Theme URI: https://pacifictidemedia.com
Author: Pacific Tide Media
Author URI: https://pacifictidemedia.com
Description: A lightweight, ultra-fast Bootstrap theme with animated ocean waves for Pacific Tide Media.
Version: 1.4.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pacific-tide
*/

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --ocean-deep: #0a1628;
    --ocean-mid: #0d2137;
    --ocean-light: #1a3a5c;
    --wave-1: #1e6091;
    --wave-2: #1a759f;
    --wave-3: #168aad;
    --wave-4: #34a0a4;
    --foam: rgba(255, 255, 255, 0.15);
    --sand-light: #f5e6d3;
    --sand-mid: #e8d5b7;
    --sand-dark: #d4b896;
    --text-primary: #ffffff;
    --text-glow: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--ocean-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   Ocean Scene - Full Viewport
   ======================================== */
.ocean-scene {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        #0b1a2e 0%,
        #0d2137 20%,
        #112d4e 40%,
        #1a3a5c 55%,
        #1e6091 70%,
        #1a759f 80%,
        #168aad 88%,
        var(--sand-mid) 95%,
        var(--sand-light) 100%
    );
}

/* ========================================
   Sky & Stars
   ======================================== */
.sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: radial-gradient(ellipse at 50% 0%, #1a2a4a 0%, transparent 70%);
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    opacity: 0.4;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

/* ========================================
   Moon / Moonlight
   ======================================== */
.moon {
    position: absolute;
    top: 8%;
    right: 15%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, #f0e6d3 0%, #e8d5b0 40%, rgba(232, 213, 176, 0.3) 100%);
    box-shadow:
        0 0 40px rgba(240, 230, 211, 0.4),
        0 0 80px rgba(240, 230, 211, 0.2),
        0 0 120px rgba(240, 230, 211, 0.1);
}

.moonlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    background: radial-gradient(
        ellipse at 75% 15%,
        rgba(240, 230, 211, 0.08) 0%,
        transparent 60%
    );
    pointer-events: none;
}

/* ========================================
   Moon Reflection on Water
   ======================================== */
.moon-reflection {
    position: absolute;
    top: 45%;
    right: 10%;
    width: 120px;
    height: 35%;
    background: linear-gradient(
        180deg,
        rgba(240, 230, 211, 0.12) 0%,
        rgba(240, 230, 211, 0.06) 30%,
        rgba(240, 230, 211, 0.03) 60%,
        transparent 100%
    );
    filter: blur(8px);
    animation: reflectionShimmer 4s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes reflectionShimmer {
    0%, 100% { transform: scaleX(1); opacity: 0.7; }
    50% { transform: scaleX(1.3); opacity: 1; }
}

/* ========================================
   Ocean Surface Shimmer
   ======================================== */
.ocean-shimmer {
    position: absolute;
    top: 45%;
    left: 0;
    width: 100%;
    height: 40%;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.02) 2px,
            transparent 4px
        );
    animation: shimmerMove 8s linear infinite;
    pointer-events: none;
}

@keyframes shimmerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(40px); }
}

/* ========================================
   Wave Layers - SVG Animated
   ======================================== */
.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    pointer-events: none;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    transform-origin: bottom;
}

/* Wave 1 - Deepest, slowest */
.wave-1 {
    bottom: 18%;
    opacity: 0.5;
    animation: waveRoll 16s linear infinite;
}

.wave-1 svg {
    fill: var(--wave-1);
}

/* Wave 2 */
.wave-2 {
    bottom: 14%;
    opacity: 0.6;
    animation: waveRoll 13s linear infinite;
    animation-delay: -3s;
}

.wave-2 svg {
    fill: var(--wave-2);
}

/* Wave 3 */
.wave-3 {
    bottom: 10%;
    opacity: 0.7;
    animation: waveRoll 10s linear infinite;
    animation-delay: -5s;
}

.wave-3 svg {
    fill: var(--wave-3);
}

/* Wave 4 - Closest, fastest */
.wave-4 {
    bottom: 6%;
    opacity: 0.8;
    animation: waveRoll 8s linear infinite;
    animation-delay: -2s;
}

.wave-4 svg {
    fill: var(--wave-4);
}

@keyframes waveRoll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   Foam / Shore Break
   ======================================== */
.shore {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 30%,
        var(--sand-mid) 85%,
        var(--sand-light) 100%
    );
}

.foam-line {
    position: absolute;
    bottom: 14%;
    left: -10%;
    width: 120%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 20%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 80%,
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(1px);
    animation: foamWash 6s ease-in-out infinite;
}

.foam-line:nth-child(2) {
    bottom: 12%;
    opacity: 0.6;
    animation-delay: -2s;
    animation-duration: 7s;
}

.foam-line:nth-child(3) {
    bottom: 10%;
    opacity: 0.4;
    animation-delay: -4s;
    animation-duration: 8s;
}

@keyframes foamWash {
    0% { transform: translateX(-5%) scaleX(0.95); opacity: 0.3; }
    30% { opacity: 0.8; }
    50% { transform: translateX(2%) scaleX(1.05); opacity: 0.6; }
    100% { transform: translateX(-5%) scaleX(0.95); opacity: 0.3; }
}

/* ========================================
   Particles (Spray / Mist)
   ======================================== */
.mist {
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.04) 0%,
        transparent 100%
    );
    animation: mistDrift 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes mistDrift {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 0.6; transform: translateX(20px); }
}

/* ========================================
   Logo / Brand
   ======================================== */
.brand-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding-bottom: 15%;
}

.brand-name {
    font-size: clamp(2.2rem, 6vw, 5rem);
    font-weight: 200;
    letter-spacing: clamp(0.3em, 1.5vw, 0.6em);
    text-transform: uppercase;
    color: var(--text-primary);
    text-shadow:
        0 0 30px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1);
    animation: brandFadeIn 2s ease-out;
    text-align: center;
    padding: 0 1rem;
    user-select: none;
}

.brand-tagline {
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    font-weight: 300;
    letter-spacing: clamp(0.2em, 1vw, 0.5em);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
    animation: brandFadeIn 2s ease-out 0.5s both;
    text-align: center;
}

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

/* ========================================
   Scroll Indicator
   ======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand-dark);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--sand-dark);
    border-bottom: 2px solid var(--sand-dark);
    transform: rotate(45deg);
}

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

/* ========================================
   Navigation
   ======================================== */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.6) 0%, transparent 100%);
    transition: background 0.3s ease;
}

.site-nav.scrolled {
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-brand {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.nav-brand:hover {
    opacity: 1;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a:hover,
.nav-links .current-menu-item a,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links .current-menu-item a::after,
.nav-links a.active::after {
    width: 100%;
}

/* ========================================
   Ocean Scene - Short (Contact Page)
   ======================================== */
.ocean-scene--short {
    height: auto;
    min-height: 100vh;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8rem 1.5rem 6rem;
    min-height: 100vh;
}

.contact-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 200;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    animation: brandFadeIn 1.5s ease-out;
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    animation: brandFadeIn 1.5s ease-out 0.3s both;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form-wrap {
    width: 100%;
    max-width: 560px;
    background: rgba(13, 33, 55, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: clamp(2rem, 4vw, 3rem);
    animation: brandFadeIn 1.5s ease-out 0.5s both;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-notice {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    font-size: 0.9rem;
}

/* ========================================
   Contact Form 7 Styling
   ======================================== */
.wpcf7 {
    width: 100%;
}

.wpcf7-form p {
    margin-bottom: 1.25rem;
}

.wpcf7-form label {
    display: block;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

/* Text & Email Inputs */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    outline: none;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form select:focus {
    border-color: var(--wave-4);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(52, 160, 164, 0.15);
}

.wpcf7-form input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

/* Textarea */
.wpcf7-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 300;
    min-height: 140px;
    resize: vertical;
    transition: all 0.3s ease;
    outline: none;
}

.wpcf7-form textarea:focus {
    border-color: var(--wave-4);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(52, 160, 164, 0.15);
}

.wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

/* Submit Button */
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--wave-3), var(--wave-4));
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
    background: linear-gradient(135deg, var(--wave-4), #3dbdb0);
    box-shadow: 0 4px 20px rgba(52, 160, 164, 0.35);
    transform: translateY(-1px);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form .wpcf7-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(52, 160, 164, 0.25);
}

/* CF7 Spinner */
.wpcf7-spinner {
    margin: 0.5rem auto 0;
    display: block;
}

/* Validation - Invalid Fields */
.wpcf7-not-valid {
    border-color: #e07070 !important;
    box-shadow: 0 0 0 3px rgba(224, 112, 112, 0.15) !important;
}

.wpcf7-not-valid-tip {
    color: #f0a0a0;
    font-size: 0.75rem;
    font-weight: 300;
    margin-top: 0.4rem;
    display: block;
}

/* Response Messages */
.wpcf7-response-output {
    margin: 1.5rem 0 0 !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    font-size: 0.85rem;
    font-weight: 300;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(52, 160, 164, 0.15) !important;
    border-color: rgba(52, 160, 164, 0.3) !important;
    color: #7dd8d0 !important;
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background: rgba(224, 112, 112, 0.1) !important;
    border-color: rgba(224, 112, 112, 0.2) !important;
    color: #f0a0a0 !important;
}

.wpcf7 form.failed .wpcf7-response-output {
    background: rgba(224, 112, 112, 0.1) !important;
    border-color: rgba(224, 112, 112, 0.2) !important;
    color: #f0a0a0 !important;
}

/* Checkboxes & Radio */
.wpcf7-list-item {
    margin-left: 0 !important;
    display: block;
    margin-bottom: 0.5rem;
}

.wpcf7-list-item label {
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

/* Acceptance checkbox */
.wpcf7-acceptance label {
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0.02em;
}

/* ========================================
   Content Container (Pages & Posts)
   ======================================== */
.content-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8rem 1.5rem 6rem;
    min-height: 100vh;
}

.content-article {
    width: 100%;
    max-width: 720px;
    animation: brandFadeIn 1.5s ease-out 0.3s both;
}

/* Page & Post Title */
.content-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 200;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.3;
}

/* Post Meta (date, category) */
.post-meta-top {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.meta-separator {
    margin: 0 0.5rem;
}

/* Featured Image */
.content-featured-image {
    margin-bottom: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Body - Typography */
.content-body {
    background: rgba(13, 33, 55, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.content-body h2 {
    font-size: 1.6rem;
    font-weight: 200;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
}

.content-body h3 {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
}

.content-body h4 {
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.5rem 0 0.5rem;
}

.content-body p {
    margin-bottom: 1.25rem;
}

.content-body a {
    color: var(--wave-4);
    text-decoration: none;
    border-bottom: 1px solid rgba(52, 160, 164, 0.3);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.content-body a:hover {
    color: #3dbdb0;
    border-bottom-color: #3dbdb0;
}

.content-body ul,
.content-body ol {
    margin: 0 0 1.25rem 1.5rem;
}

.content-body li {
    margin-bottom: 0.4rem;
}

.content-body blockquote {
    border-left: 3px solid var(--wave-4);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.content-body pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.content-body code {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.88em;
}

.content-body pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

.content-body hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.content-body th,
.content-body td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.content-body th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

.post-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-tag:hover {
    background: rgba(52, 160, 164, 0.15);
    border-color: rgba(52, 160, 164, 0.3);
    color: var(--wave-4);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-decoration: none;
    max-width: 48%;
    transition: opacity 0.2s ease;
}

.post-nav-link:hover {
    opacity: 0.8;
}

.post-nav-next {
    text-align: right;
    margin-left: auto;
}

.post-nav-label {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--wave-4);
}

.post-nav-title {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--ocean-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-logo:hover {
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.4rem;
}

.footer-nav {
    flex-shrink: 0;
}

.footer-nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-links a {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-links a:hover {
    color: var(--wave-4);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.25);
    margin: 0;
    text-align: center;
}

/* ========================================
   Fish
   ======================================== */
.fish {
    position: absolute;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    animation: fishSwim var(--fish-duration, 6s) linear forwards;
    animation-delay: var(--fish-delay, 0s);
}

.fish svg {
    width: var(--fish-size, 24px);
    height: auto;
    fill: var(--fish-color, rgba(255, 255, 255, 0.12));
    filter: blur(0.5px);
}

.fish--right svg {
    transform: scaleX(-1);
}

/* Fish body bob while swimming */
.fish-inner {
    animation: fishBob 1.2s ease-in-out infinite;
}

@keyframes fishSwim {
    0% {
        opacity: 0;
        transform: translateX(var(--fish-start, -40px));
    }
    5% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        opacity: 0;
        transform: translateX(var(--fish-end, calc(100vw + 40px)));
    }
}

@keyframes fishBob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-2deg); }
    75% { transform: translateY(3px) rotate(2deg); }
}

/* ========================================
   Shooting Star
   ======================================== */
.shooting-star {
    position: absolute;
    z-index: 3;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: shootingStar var(--star-duration, 1.2s) ease-in forwards;
    animation-delay: var(--star-delay, 0s);
    box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.6);
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: var(--tail-length, 60px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
    transform: translateY(-50%);
}

@keyframes shootingStar {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(var(--star-angle, -35deg));
    }
    10% { opacity: 1; }
    70% { opacity: 0.8; }
    100% {
        opacity: 0;
        transform: translate(var(--star-dx, 300px), var(--star-dy, 180px)) rotate(var(--star-angle, -35deg));
    }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .moon {
        width: 50px;
        height: 50px;
        top: 5%;
        right: 10%;
    }

    .brand-name {
        letter-spacing: 0.3em;
    }

    .waves-container {
        height: 40%;
    }

    .site-nav {
        padding: 1rem 1.25rem;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .contact-container {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .contact-form-wrap {
        border-radius: 12px;
    }

    .content-container {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .content-body {
        border-radius: 12px;
    }

    .post-navigation {
        flex-direction: column;
    }

    .post-nav-link {
        max-width: 100%;
    }

    .post-nav-next {
        text-align: left;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        letter-spacing: 0.2em;
    }

    .brand-tagline {
        letter-spacing: 0.15em;
    }
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .wave,
    .foam-line,
    .mist,
    .moon-reflection,
    .ocean-shimmer,
    .star,
    .scroll-indicator,
    .fish,
    .shooting-star {
        animation: none;
    }

    .fish,
    .shooting-star {
        display: none;
    }

    .brand-name,
    .brand-tagline {
        animation: none;
        opacity: 1;
    }
}
