/* css/ocean-dive.css - Ocean Diving Experience Styles */

/* ===== CSS Variables for Depth Theming ===== */
:root {
    /* Surface colors (sunset) */
    --surface-gradient-start: #ff7e5f;
    --surface-gradient-mid: #feb47b;
    --surface-gradient-end: #4facfe;

    /* Ocean depth colors */
    --shallow-water: #00d4ff;
    --mid-water: #0077b6;
    --deep-water: #023e8a;
    --abyss: #03071e;

    /* Accent colors */
    --bubble-glow: rgba(0, 212, 255, 0.6);
    --bubble-border: rgba(255, 255, 255, 0.3);
    --card-bg: rgba(10, 30, 50, 0.85);
    --card-border: rgba(0, 170, 255, 0.2);

    /* Timing */
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Layout ===== */
html {
    scroll-behavior: smooth;
}

body.ocean-dive {
    overflow-x: hidden;
    background: var(--abyss);
}

.ocean-container {
    position: relative;
    width: 100%;
}

/* ===== Depth Background Layer ===== */
.depth-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    transition: background var(--transition-smooth);
    background: linear-gradient(180deg,
            var(--surface-gradient-start) 0%,
            var(--surface-gradient-mid) 15%,
            var(--surface-gradient-end) 30%,
            var(--shallow-water) 45%,
            var(--mid-water) 60%,
            var(--deep-water) 80%,
            var(--abyss) 100%);
    background-size: 100% 500vh;
    background-attachment: fixed;
}

/* ===== Ocean Sections ===== */
.ocean-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 1;
}

.ocean-section.hero-section {
    min-height: 100vh;
    padding-top: 0;
}

.ocean-section.bubble-nav-section {
    min-height: 60vh;
    padding: 2rem 1.5rem;
}

/* ===== Content Cards (Frosted Glass) ===== */
.section-content-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 900px;
    width: 100%;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-content-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 48px rgba(0, 170, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.section-content-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-content-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--shallow-water);
    margin: 1.5rem 0 1rem;
}

.section-content-card p {
    color: #c5d5e5;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ===== Hero Section ===== */
.hero-content {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-size: 1.4rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    margin-top: 0.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ===== Underwater Transition Section ===== */
.underwater-transition {
    min-height: 200vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transition-indicator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
}

/* Animated prefix container */
.direction-prefix {
    position: relative;
    display: inline-block;
    width: 2.8ch;
    /* Width for "De" with letter-spacing */
    overflow: hidden;
    height: 1.2em;
    vertical-align: bottom;
    margin-right: 0.1em;
    /* Space between prefix and "scending" */
}

.prefix-de,
.prefix-a {
    position: absolute;
    left: 0;
    letter-spacing: 3px;
    /* Match parent letter-spacing */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease;
}

/* Default state: Descending (De visible, A hidden) */
.prefix-de {
    transform: translateY(0);
    opacity: 1;
}

.prefix-a {
    transform: translateY(-100%);
    opacity: 0;
}

/* Ascending state: A visible, De hidden */
.transition-indicator.ascending .prefix-de {
    transform: translateY(100%);
    opacity: 0;
}

.transition-indicator.ascending .prefix-a {
    transform: translateY(0);
    opacity: 1;
}

.transition-indicator.ascending .direction-prefix {
    width: 1ch;
    /* Width for just "A" with letter-spacing */
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

/* ===== Sequential Bubble Sections ===== */
.bubble-section {
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Allow positioning */
    padding: 2rem;
    position: relative;
    width: 100%;
}

/* Default positions (will be overridden by JS random positioning) */
.dive-bubble {
    margin-left: 30%;
    transition: margin 0.3s ease, transform 0.5s ease;
}

/* Dive Bubble - Centered navigation bubble in its own section */
.dive-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    text-decoration: none;
    cursor: pointer;

    /* 3D sphere styling */
    background:
        radial-gradient(ellipse 60% 40% at 30% 20%,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.4) 20%,
            transparent 50%),
        radial-gradient(ellipse 40% 30% at 70% 75%,
            rgba(255, 255, 255, 0.3) 0%,
            transparent 50%),
        radial-gradient(circle at 50% 50%,
            rgba(0, 200, 255, 0.4) 0%,
            rgba(0, 150, 220, 0.3) 40%,
            rgba(0, 100, 180, 0.5) 70%,
            rgba(0, 60, 120, 0.6) 100%),
        radial-gradient(circle at 30% 30%,
            rgba(100, 200, 255, 0.6) 0%,
            rgba(0, 119, 182, 0.7) 50%,
            rgba(0, 60, 100, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 0 60px rgba(0, 180, 255, 0.5),
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 -30px 50px rgba(0, 20, 60, 0.5),
        inset 0 20px 30px rgba(255, 255, 255, 0.15),
        inset 0 0 20px rgba(0, 200, 255, 0.2);

    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: gentleFloat 5s ease-in-out infinite;
    position: relative;
}

/* Primary specular highlight */
.dive-bubble::before {
    content: '';
    position: absolute;
    top: 8%;
    left: 15%;
    width: 45%;
    height: 30%;
    background: radial-gradient(ellipse 100% 100% at 50% 50%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.6) 30%,
            rgba(255, 255, 255, 0.2) 60%,
            transparent 100%);
    border-radius: 50%;
    transform: rotate(-15deg);
    filter: blur(1px);
}

/* Secondary reflection */
.dive-bubble::after {
    content: '';
    position: absolute;
    bottom: 12%;
    right: 12%;
    width: 30%;
    height: 18%;
    background: radial-gradient(ellipse,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    border-radius: 50%;
    filter: blur(2px);
}

.dive-bubble:hover {
    transform: scale(1.15) translateY(-15px);
    box-shadow:
        0 0 100px rgba(0, 200, 255, 0.7),
        0 30px 70px rgba(0, 0, 0, 0.35),
        inset 0 -30px 50px rgba(0, 20, 60, 0.4),
        inset 0 25px 35px rgba(255, 255, 255, 0.2),
        inset 0 0 30px rgba(0, 220, 255, 0.3);
}

.dive-bubble:focus {
    outline: 3px solid var(--shallow-water);
    outline-offset: 8px;
}

.dive-bubble .bubble-icon {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(0, 200, 255, 0.5);
    position: relative;
    z-index: 1;
}

.dive-bubble .bubble-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 200, 255, 0.4);
    position: relative;
    z-index: 1;
}

@keyframes gentleFloat {
    0% {
        transform: translateY(35px) translateX(0) rotateY(0deg);
    }

    25% {
        transform: translateY(20px) translateX(8px) rotateY(5deg);
    }

    50% {
        transform: translateY(0) translateX(-5px) rotateY(0deg);
    }

    75% {
        transform: translateY(15px) translateX(6px) rotateY(-5deg);
    }

    100% {
        transform: translateY(35px) translateX(0) rotateY(0deg);
    }
}

/* Contact card specific styling */
.contact-card {
    max-width: 600px;
    text-align: center;
}

/* ===== Floating Navigation Bubbles (Scattered at Different Depths) ===== */
.floating-nav-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.floating-bubble {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;

    /* Start invisible, will fade in via scroll */
    opacity: 0;
    transform: scale(0.5) translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* 3D sphere styling */
    background:
        radial-gradient(ellipse 60% 40% at 30% 20%,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.4) 20%,
            transparent 50%),
        radial-gradient(ellipse 40% 30% at 70% 75%,
            rgba(255, 255, 255, 0.3) 0%,
            transparent 50%),
        radial-gradient(circle at 50% 50%,
            rgba(0, 200, 255, 0.4) 0%,
            rgba(0, 150, 220, 0.3) 40%,
            rgba(0, 100, 180, 0.5) 70%,
            rgba(0, 60, 120, 0.6) 100%),
        radial-gradient(circle at 30% 30%,
            rgba(100, 200, 255, 0.6) 0%,
            rgba(0, 119, 182, 0.7) 50%,
            rgba(0, 60, 100, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 0 40px rgba(0, 180, 255, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 -30px 50px rgba(0, 20, 60, 0.5),
        inset 0 20px 30px rgba(255, 255, 255, 0.15),
        inset 0 0 20px rgba(0, 200, 255, 0.2);

    transform-style: preserve-3d;
}

/* Visible state - applied via JavaScript when scrolled into view */
.floating-bubble.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Position each bubble at different screen locations */
.bubble-personal {
    top: 25%;
    left: 15%;
    animation: floatBubble1 6s ease-in-out infinite;
}

.bubble-projects {
    top: 40%;
    right: 12%;
    left: auto;
    animation: floatBubble2 7s ease-in-out infinite;
    animation-delay: 0.5s;
}

.bubble-resume {
    top: 60%;
    left: 25%;
    animation: floatBubble3 5.5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Primary specular highlight */
.floating-bubble::before {
    content: '';
    position: absolute;
    top: 8%;
    left: 15%;
    width: 40%;
    height: 25%;
    background: radial-gradient(ellipse 100% 100% at 50% 50%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.6) 30%,
            rgba(255, 255, 255, 0.2) 60%,
            transparent 100%);
    border-radius: 50%;
    transform: rotate(-15deg);
    filter: blur(1px);
}

/* Secondary reflection */
.floating-bubble::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 15%;
    width: 25%;
    height: 15%;
    background: radial-gradient(ellipse,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    border-radius: 50%;
    filter: blur(2px);
}

.floating-bubble:hover {
    transform: scale(1.2) translateY(-10px) !important;
    box-shadow:
        0 0 80px rgba(0, 200, 255, 0.7),
        0 30px 50px rgba(0, 0, 0, 0.3),
        inset 0 -30px 50px rgba(0, 20, 60, 0.4),
        inset 0 25px 35px rgba(255, 255, 255, 0.2),
        inset 0 0 30px rgba(0, 220, 255, 0.3);
}

.floating-bubble:focus {
    outline: 3px solid var(--shallow-water);
    outline-offset: 6px;
}

.bubble-icon {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.4rem;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 200, 255, 0.5);
    position: relative;
    z-index: 1;
}

.bubble-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(0, 200, 255, 0.4);
    position: relative;
    z-index: 1;
}

/* Natural floating animations for each bubble */
@keyframes floatBubble1 {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotateY(0deg);
    }

    25% {
        transform: translateY(-15px) translateX(8px) rotateY(5deg);
    }

    50% {
        transform: translateY(-25px) translateX(-5px) rotateY(-3deg);
    }

    75% {
        transform: translateY(-10px) translateX(10px) rotateY(3deg);
    }
}

@keyframes floatBubble2 {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotateY(0deg);
    }

    33% {
        transform: translateY(-20px) translateX(-10px) rotateY(-5deg);
    }

    66% {
        transform: translateY(-12px) translateX(12px) rotateY(4deg);
    }
}

@keyframes floatBubble3 {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotateY(0deg);
    }

    20% {
        transform: translateY(-18px) translateX(6px) rotateY(3deg);
    }

    40% {
        transform: translateY(-8px) translateX(-8px) rotateY(-4deg);
    }

    60% {
        transform: translateY(-22px) translateX(4px) rotateY(2deg);
    }

    80% {
        transform: translateY(-14px) translateX(-6px) rotateY(-2deg);
    }
}

/* Bubble visibility controlled by scroll - these are the thresholds */
/* Hide bubbles when at very top (surface) */
body[data-depth="surface"] .floating-bubble {
    opacity: 0;
    pointer-events: none;
}

/* ===== Legacy Bubble Navigation (keeping for backwards compatibility) ===== */
.bubble-nav-container {
    display: none;
    /* Hidden - using floating bubbles now */
}

/* ===== Ambient Rising Bubbles ===== */
.ambient-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    transition: opacity 0.4s ease;
}

.ambient-bubble {
    position: absolute;
    bottom: -50px;
    background: radial-gradient(ellipse at 30% 30%,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(0, 212, 255, 0.2) 50%,
            transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: rise linear infinite;
    opacity: 0;
}

.ambient-bubble::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 25%;
    width: 25%;
    height: 15%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

@keyframes rise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-110vh) translateX(30px);
        opacity: 0;
    }
}

/* ===== Depth Indicator ===== */
.depth-indicator {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
    padding: 1rem 0.5rem;
    background: rgba(0, 20, 40, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Hide initially, show when scrolling */
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Show depth meter when user has scrolled */
body.has-scrolled .depth-indicator {
    opacity: 1;
}

.depth-meter {
    width: 4px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
    margin: 0.5rem 0;
}

.depth-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, var(--shallow-water), var(--deep-water));
    border-radius: 2px;
    transition: height 0.3s ease;
}

.depth-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

/* ===== Timeline Styles ===== */
.timeline {
    position: relative;
    margin: 2rem 0;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--shallow-water), var(--deep-water));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0.5rem;
    width: 15px;
    height: 15px;
    background: var(--shallow-water);
    border: 3px solid var(--card-bg);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--bubble-glow);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--shallow-water);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: #a0b5c5;
    line-height: 1.6;
}

/* ===== Project Cards ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.project-card {
    background: rgba(20, 40, 60, 0.8);
    border: 1px solid rgba(0, 170, 255, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 170, 255, 0.2);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 170, 255, 0.2);
}

.project-card-content {
    padding: 1.25rem;
}

.project-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 0.9rem;
    color: #8aa8c0;
    line-height: 1.5;
}

/* ===== Resume Section ===== */
.resume-section {
    max-width: 800px;
}

.resume-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 170, 255, 0.2);
}

.resume-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--shallow-water), var(--mid-water));
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.resume-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 170, 255, 0.3);
}

.resume-content {
    display: grid;
    gap: 2rem;
}

.resume-block h3 {
    font-size: 1.3rem;
    color: var(--shallow-water);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resume-item {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(0, 170, 255, 0.3);
}

.resume-item-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.resume-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.resume-item .date {
    font-size: 0.9rem;
    color: var(--shallow-water);
}

.resume-item .company {
    font-size: 1rem;
    color: #8aa8c0;
    margin-bottom: 0.5rem;
}

.resume-item ul {
    list-style: none;
    padding: 0;
}

.resume-item li {
    color: #a0b5c5;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.resume-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--shallow-water);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(0, 170, 255, 0.15);
    color: var(--shallow-water);
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 170, 255, 0.3);
}

/* ===== Contact Section ===== */
.contact-content {
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--shallow-water);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 2rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(0, 170, 255, 0.15);
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 1.2rem;
}

/* ===== Footer ===== */
.ocean-footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-name {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.1rem;
    }

    .bubble-nav-container {
        gap: 1.5rem;
    }

    .nav-bubble {
        width: 120px;
        height: 120px;
    }

    .nav-bubble-icon {
        font-size: 1.5rem;
    }

    .nav-bubble-label {
        font-size: 0.85rem;
    }

    .section-content-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .section-content-card h2 {
        font-size: 1.8rem;
    }

    .depth-indicator {
        right: 0.5rem;
        padding: 0.5rem 0.3rem;
    }

    .depth-meter {
        height: 100px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .resume-item-header {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .ocean-section {
        padding: 2rem 1rem;
    }

    .nav-bubble {
        width: 100px;
        height: 100px;
    }

    .nav-bubble-label {
        font-size: 0.75rem;
    }

    .hero-avatar {
        width: 100px;
        height: 100px;
    }
}

/* ===== Lazy Loading Image Placeholder ===== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

img.lazy-placeholder {
    background: linear-gradient(90deg, rgba(30, 50, 70, 0.5) 25%, rgba(40, 60, 80, 0.5) 50%, rgba(30, 50, 70, 0.5) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== Deep Abyss Section (Easter Eggs) ===== */
.deep-abyss {
    position: relative;
    overflow: hidden;
}

/* Bioluminescent Plankton Container */
.bioluminescent-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.plankton {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(0, 255, 200, 1) 0%,
            rgba(0, 255, 180, 0.8) 30%,
            rgba(0, 200, 255, 0.4) 60%,
            transparent 100%);
    box-shadow:
        0 0 8px rgba(0, 255, 200, 0.8),
        0 0 15px rgba(0, 255, 180, 0.5),
        0 0 25px rgba(0, 200, 255, 0.3);
    animation: planktonGlow 4s ease-in-out infinite, planktonDrift 12s linear infinite;
    opacity: 0;
}

/* Randomize plankton positions */
.plankton:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s, 0s;
}

.plankton:nth-child(2) {
    left: 25%;
    top: 60%;
    animation-delay: 0.5s, 1s;
}

.plankton:nth-child(3) {
    left: 45%;
    top: 35%;
    animation-delay: 1s, 2s;
}

.plankton:nth-child(4) {
    left: 65%;
    top: 70%;
    animation-delay: 1.5s, 0.5s;
}

.plankton:nth-child(5) {
    left: 80%;
    top: 25%;
    animation-delay: 2s, 3s;
}

.plankton:nth-child(6) {
    left: 15%;
    top: 80%;
    animation-delay: 2.5s, 1.5s;
}

.plankton:nth-child(7) {
    left: 55%;
    top: 15%;
    animation-delay: 3s, 2.5s;
}

.plankton:nth-child(8) {
    left: 90%;
    top: 50%;
    animation-delay: 3.5s, 0.8s;
}

@keyframes planktonGlow {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes planktonDrift {
    0% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(15px);
    }

    50% {
        transform: translateY(-10px) translateX(-10px);
    }

    75% {
        transform: translateY(-30px) translateX(20px);
    }

    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Giant Squid Easter Egg */
.giant-squid {
    position: absolute;
    bottom: 10%;
    right: -200px;
    width: 300px;
    height: 150px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(30, 20, 40, 0.3) 20%,
            rgba(40, 30, 50, 0.4) 40%,
            rgba(50, 40, 60, 0.3) 60%,
            transparent 100%);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 150'%3E%3Cpath d='M50,75 Q80,40 120,50 Q160,30 200,60 Q240,40 280,75 Q250,90 220,85 Q180,110 140,95 Q100,120 60,90 Q40,95 50,75' fill='black'/%3E%3Cellipse cx='230' cy='65' rx='15' ry='20' fill='black'/%3E%3Cpath d='M40,80 Q20,100 5,130 M60,90 Q45,115 35,140 M80,95 Q70,120 65,145' stroke='black' stroke-width='8' fill='none'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 150'%3E%3Cpath d='M50,75 Q80,40 120,50 Q160,30 200,60 Q240,40 280,75 Q250,90 220,85 Q180,110 140,95 Q100,120 60,90 Q40,95 50,75' fill='black'/%3E%3Cellipse cx='230' cy='65' rx='15' ry='20' fill='black'/%3E%3Cpath d='M40,80 Q20,100 5,130 M60,90 Q45,115 35,140 M80,95 Q70,120 65,145' stroke='black' stroke-width='8' fill='none'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    opacity: 0;
    animation: squidSwim 30s ease-in-out infinite;
    animation-delay: 5s;
    pointer-events: none;
    z-index: 0;
}

@keyframes squidSwim {
    0% {
        right: -200px;
        opacity: 0;
        transform: translateY(0);
    }

    10% {
        opacity: 0.6;
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(20px);
    }

    90% {
        opacity: 0.6;
    }

    100% {
        right: 120%;
        opacity: 0;
        transform: translateY(0);
    }
}