/* ============================================
   globaltonecare.com - Ocean Deep Calming Spa
   Fonts: Cormorant, Lato, Inter (Google Fonts)
   ============================================ */

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

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

body {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    line-height: 1.8;
    color: #0c4a6e;
    background-color: #ffffff;
    background: linear-gradient(to bottom, #e0f2fe 0%, #7dd3fc 30%, #0ea5e9 70%, #0c4a6e 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 60%, #7dd3fc 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.brand-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #06b6d4;
    animation: pulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.6);
    }
}

.brand {
    font-family: "Cormorant", serif;
    font-weight: 400;
    font-size: clamp(3rem, 8vw, 6.5rem);
    color: #0c4a6e;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.tagline {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: #0c4a6e;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

/* --- Waves --- */
.wave-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.wave-hero {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 120px;
}

.wave-svg {
    display: block;
    width: 200%;
    height: 100%;
}

.wave-path {
    fill: #bae6fd;
}

.wave-path-1 {
    fill: #bae6fd;
    opacity: 0.6;
    animation: waveMove1 8s ease-in-out infinite;
}

.wave-path-2 {
    fill: #7dd3fc;
    opacity: 0.4;
    animation: waveMove2 10s ease-in-out infinite;
}

@keyframes waveMove1 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-25%); }
}

@keyframes waveMove2 {
    0%, 100% { transform: translateX(-10%); }
    50% { transform: translateX(10%); }
}

/* --- Care Section --- */
.care {
    position: relative;
    padding: 80px 0 40px;
    background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 40%, #0ea5e9 100%);
}

.care-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 50px 48px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.care-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.care-title {
    font-family: "Cormorant", serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #0c4a6e;
    margin-bottom: 16px;
}

.care-text {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #0c4a6e;
    line-height: 1.8;
}

/* --- Wave Dividers --- */
.wave-divider {
    height: 80px;
    margin: 20px 0;
}

.wave-divider .wave-svg {
    width: 200%;
    height: 100%;
}

.wave-path-divider-1 {
    fill: #7dd3fc;
    opacity: 0.3;
    animation: waveMove1 12s ease-in-out infinite;
}

.wave-path-divider-2 {
    fill: #bae6fd;
    opacity: 0.25;
    animation: waveMove2 14s ease-in-out infinite;
}

.wave-path-divider-3 {
    fill: #7dd3fc;
    opacity: 0.2;
    animation: waveMove1 16s ease-in-out infinite;
}

/* --- Ripple Decoration --- */
.ripple-container {
    position: absolute;
    pointer-events: none;
}

.ripple-hero {
    bottom: 140px;
    right: 10%;
    width: 200px;
    height: 200px;
}

.ripple-testimonials {
    top: 60px;
    left: 5%;
    width: 160px;
    height: 160px;
}

.ripple-rest {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 40px auto 0;
}

.ripple-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(186, 230, 253, 0.4);
    animation: rippleExpand 4s ease-out infinite;
}

.ripple-1 {
    width: 40px;
    height: 40px;
    animation-delay: 0s;
}

.ripple-2 {
    width: 80px;
    height: 80px;
    animation-delay: 1s;
}

.ripple-3 {
    width: 120px;
    height: 120px;
    animation-delay: 2s;
}

.ripple-4 {
    width: 160px;
    height: 160px;
    animation-delay: 3s;
}

@keyframes rippleExpand {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8);
    }
}

/* --- Testimonials Section --- */
.testimonials {
    position: relative;
    padding: 100px 20px 120px;
    background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
    overflow: hidden;
}

.testimonials-heading {
    font-family: "Cormorant", serif;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #e0f2fe;
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.bubble {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.bubble-text {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    color: #e0f2fe;
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

.bubble-author {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #bae6fd;
    letter-spacing: 0.03em;
}

/* --- Rest Section --- */
.rest {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0369a1 0%, #0c4a6e 60%, #082f49 100%);
    padding: 80px 20px 40px;
}

.rest-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rest-text {
    font-family: "Cormorant", serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: #e0f2fe;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.rest-text.visible {
    opacity: 0.8;
    transform: translateY(0);
}

/* --- Footer --- */
.site-footer {
    width: 100%;
    text-align: center;
    padding: 40px 20px 30px;
    position: relative;
}

.sine-wave {
    display: block;
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.sine-path {
    stroke: #bae6fd;
    stroke-width: 1.5;
}

.footer-brand {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #bae6fd;
    opacity: 0.5;
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

/* --- Fade-in utility --- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .care-card {
        margin: 0 20px;
        padding: 36px 28px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .ripple-hero {
        display: none;
    }

    .ripple-testimonials {
        display: none;
    }

    .wave-hero {
        height: 80px;
    }

    .wave-divider {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .brand {
        font-size: 2.4rem;
    }

    .care-card {
        margin: 0 12px;
        padding: 28px 20px;
    }

    .bubble {
        padding: 24px 20px;
    }
}
