/* gabs.review - Ocean Deep Calming Spa */
/* Palette:
   Surface:  #0c2340 (deep navy)
   Depth:    #081a30 (darker navy)
   Wave:     #1a4a6e (medium blue)
   Text:     #e0ecf4 (light blue-white)
   Bubble:   #38bdf8 (sky blue)
   Accent:   #06b6d4 (cyan)
   Summary:  #164e63 (teal)
*/

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

html {
    scroll-behavior: smooth;
}

body {
    background: #081a30;
    color: #e0ecf4;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.75;
    overflow-x: hidden;
}

/* ─── BUBBLE PARTICLES ─── */

#bubble-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble-dot {
    position: absolute;
    border-radius: 50%;
    background: #38bdf8;
    opacity: 0;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.08;
    }
    100% {
        transform: translateY(-100vh) translateX(30px);
        opacity: 0;
    }
}

/* ─── LIGHT RAYS ─── */

#light-rays {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.5s ease;
}

#light-rays.active {
    opacity: 1;
}

.ray {
    position: absolute;
    top: -20%;
    width: 2px;
    height: 140%;
    background: linear-gradient(to bottom, transparent, rgba(56, 189, 248, 0.06), transparent);
    transform-origin: top center;
}

.ray-1 { left: 15%; transform: rotate(8deg); width: 1px; }
.ray-2 { left: 35%; transform: rotate(-5deg); width: 2px; }
.ray-3 { left: 55%; transform: rotate(3deg); width: 1.5px; }
.ray-4 { left: 72%; transform: rotate(-7deg); width: 1px; }
.ray-5 { left: 88%; transform: rotate(4deg); width: 2px; }

/* ─── SURFACE SECTION (Hero) ─── */

.surface {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(170deg, #1a4a6e 0%, #0c2340 60%, #0c2340 100%);
    z-index: 10;
    overflow: hidden;
}

.surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(26, 74, 110, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.surface-content {
    position: relative;
    text-align: center;
    z-index: 5;
}

.brand {
    font-family: 'Cormorant', serif;
    font-weight: 400;
    font-size: clamp(3.5rem, 10vw, 7rem);
    color: #e0ecf4;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(20px);
    animation: surfaceIn 1.5s ease 0.3s forwards;
}

.tagline {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    color: #38bdf8;
    margin-top: 0.75rem;
    letter-spacing: 0.08em;
    opacity: 0;
    animation: surfaceIn 1.5s ease 0.8s forwards;
}

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

/* Hero waves */
.wave-hero {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 6;
}

.wave-hero path:first-child {
    animation: waveShift 8s ease-in-out infinite alternate;
}

.wave-hero path:nth-child(2) {
    animation: waveShift 6s ease-in-out 1s infinite alternate-reverse;
}

@keyframes waveShift {
    0% { transform: translateX(0); }
    100% { transform: translateX(-30px); }
}

/* ─── DESCENT SECTION ─── */

.descent {
    position: relative;
    background: #0c2340;
    z-index: 10;
}

.depth-layer {
    position: relative;
}

.depth-1 {
    background: linear-gradient(to bottom, #0c2340, #0a2338);
}

.depth-2 {
    background: linear-gradient(to bottom, #0a2338, #081a30);
}

.depth-3 {
    background: #081a30;
}

.wave-divider {
    display: block;
    width: 100%;
    height: 60px;
}

.layer-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.section-title {
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #38bdf8;
    margin-bottom: 0.25rem;
}

.section-title-light {
    color: #e0ecf4;
}

.water-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, #38bdf8, transparent);
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.water-line-light {
    background: linear-gradient(to right, #e0ecf4, transparent);
}

.body-text {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: #b0c4de;
    margin-bottom: 1.25rem;
    line-height: 1.85;
}

.body-text-light {
    color: #e0ecf4;
}

/* ─── BUBBLE QUOTES ─── */

.bubble-quote {
    position: relative;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 50%;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem auto;
    text-align: center;
    padding: 2rem;
}

.bubble-large {
    width: 320px;
    height: 320px;
}

.bubble-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, 0.12);
    pointer-events: none;
}

.bubble-text {
    font-family: 'Cormorant', serif;
    font-style: italic;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: #38bdf8;
    line-height: 1.6;
}

/* ─── DEEP SECTION ─── */

.deep {
    position: relative;
    background: #081a30;
    z-index: 10;
}

/* ─── METRICS ─── */

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2.5rem 0;
    margin: 1rem 0 2rem;
}

.metric {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.metric-value {
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #06b6d4;
    display: block;
}

.metric-bar {
    display: block;
    width: 48px;
    height: 3px;
    background: rgba(6, 182, 212, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.metric-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: #06b6d4;
    border-radius: 2px;
    transition: width 1.2s ease;
}

.metric-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    color: #6b8ea8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ─── ASCENT SECTION ─── */

.ascent {
    position: relative;
    background: linear-gradient(to bottom, #081a30, #164e63, #1a4a6e);
    z-index: 10;
    padding-bottom: 2rem;
}

.wave-ascent {
    display: block;
    width: 100%;
    height: 120px;
}

.ascent-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

/* ─── VERDICT ─── */

.verdict {
    text-align: center;
    margin: 3rem 0 2rem;
    padding: 2rem;
}

.verdict-label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6b8ea8;
    margin-bottom: 0.5rem;
}

.verdict-value {
    display: block;
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #06b6d4;
    letter-spacing: 0.02em;
}

/* ─── CLOSE ─── */

.close {
    text-align: center;
    padding: 3rem 0 2rem;
}

.close-text {
    font-family: 'Cormorant', serif;
    font-size: 1.1rem;
    color: #e0ecf4;
    margin-bottom: 0.75rem;
}

.close-brand {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    color: #6b8ea8;
    letter-spacing: 0.1em;
}

.wave-footer {
    display: block;
    width: 100%;
    height: 80px;
}

/* ─── REVEAL ANIMATIONS ─── */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 600px) {
    .bubble-quote {
        width: 220px;
        height: 220px;
        padding: 1.5rem;
    }

    .bubble-large {
        width: 260px;
        height: 260px;
    }

    .metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }

    .layer-content {
        padding: 2rem 1.25rem 3rem;
    }
}
