/* ============================================
   gabs.reviews - Watercolor Artistic Gallery
   ============================================ */

/* --- Design Palette ---
   Background: #fefefe | Text: #2c2c2c | Accent: #6366f1
   Wash Blue: #dbeafe | Wash Pink: #fce7f3 | Wash Green: #dcfce7
   Star Amber: #f59e0b
   Fonts: Playfair Display, Lora, Inter
--- */

:root {
    --bg: #fefefe;
    --text: #2c2c2c;
    --accent: #6366f1;
    --wash-blue: #dbeafe;
    --wash-pink: #fce7f3;
    --wash-green: #dcfce7;
    --star: #f59e0b;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    line-height: 1.75;
    color: #2c2c2c;
    background-color: #fefefe;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

.review-meta, .review-date, .featured-label, .review-stars {
    font-family: 'Inter', -apple-system, sans-serif;
}

/* --- Watercolor Wash Blobs --- */
.wash {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.wash.visible {
    opacity: 1;
}

.wash-blue {
    background: radial-gradient(ellipse at 30% 50%, rgba(219, 234, 254, 0.6) 0%, transparent 70%);
}

.wash-pink {
    background: radial-gradient(ellipse at 50% 40%, rgba(252, 231, 243, 0.6) 0%, transparent 70%);
}

.wash-green {
    background: radial-gradient(ellipse at 40% 60%, rgba(220, 252, 231, 0.6) 0%, transparent 70%);
}

/* --- Paint Splatter Blobs --- */
.splatter {
    position: absolute;
    border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.splatter.visible {
    opacity: 1;
}

.splatter-1 {
    width: 80px;
    height: 60px;
    background: rgba(219, 234, 254, 0.4);
    top: 15%;
    left: 8%;
}

.splatter-2 {
    width: 50px;
    height: 70px;
    background: rgba(252, 231, 243, 0.35);
    top: 60%;
    right: 12%;
    border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
}

.splatter-3 {
    width: 65px;
    height: 45px;
    background: rgba(220, 252, 231, 0.4);
    top: 80%;
    left: 25%;
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
}

.splatter-4 {
    width: 90px;
    height: 55px;
    background: rgba(219, 234, 254, 0.35);
    top: 20%;
    right: 10%;
    border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%;
}

.splatter-5 {
    width: 55px;
    height: 75px;
    background: rgba(252, 231, 243, 0.3);
    bottom: 15%;
    left: 15%;
    border-radius: 60% 40% 45% 55% / 40% 60% 40% 60%;
}

/* --- Feathered Edges --- */
.feathered {
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* --- Watercolor Line --- */
.watercolor-line {
    width: 120px;
    height: 3px;
    margin: 0 auto 2rem;
    background: linear-gradient(
        to right,
        transparent,
        rgba(219, 234, 254, 0.8) 15%,
        rgba(252, 231, 243, 0.8) 40%,
        rgba(220, 252, 231, 0.7) 65%,
        rgba(99, 102, 241, 0.3) 85%,
        transparent
    );
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.section-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fefefe;
    overflow: hidden;
}

.wash-hero-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    left: -5%;
}

.wash-hero-2 {
    width: 500px;
    height: 500px;
    bottom: -5%;
    right: -8%;
}

.wash-hero-3 {
    width: 400px;
    height: 400px;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.brand-name {
    font-size: clamp(3rem, 8vw, 7rem);
    color: #2c2c2c;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.brand-tagline {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #6366f1;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.brand-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: #2c2c2c;
    opacity: 0.6;
    font-weight: 400;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.section-reviews {
    position: relative;
    padding: 0 0 4rem;
}

/* --- Category Bands --- */
.category-band {
    position: relative;
    padding: 3rem 2rem 2rem;
    text-align: center;
    overflow: hidden;
}

.category-band .wash {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 0;
}

.category-blue {
    background: linear-gradient(180deg, rgba(219, 234, 254, 0.3) 0%, rgba(219, 234, 254, 0.1) 100%);
}

.category-pink {
    background: linear-gradient(180deg, rgba(252, 231, 243, 0.3) 0%, rgba(252, 231, 243, 0.1) 100%);
}

.category-green {
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.3) 0%, rgba(220, 252, 231, 0.1) 100%);
}

.category-title {
    position: relative;
    z-index: 1;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #2c2c2c;
    letter-spacing: 0.01em;
}

/* --- Reviews Container --- */
.reviews-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* --- Review Entry --- */
.review-entry {
    position: relative;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.review-entry.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Review wash accents */
.review-wash {
    position: absolute;
    top: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.wash-blue-accent {
    left: -60px;
    background: radial-gradient(ellipse, rgba(219, 234, 254, 0.5) 0%, transparent 70%);
}

.wash-pink-accent {
    left: -60px;
    background: radial-gradient(ellipse, rgba(252, 231, 243, 0.5) 0%, transparent 70%);
}

.wash-green-accent {
    left: -60px;
    background: radial-gradient(ellipse, rgba(220, 252, 231, 0.5) 0%, transparent 70%);
}

.review-content {
    position: relative;
    z-index: 1;
}

/* --- Star Ratings --- */
.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

.star {
    display: inline-block;
    width: 18px;
    height: 18px;
    position: relative;
}

.star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.star.filled::before {
    background-color: #f59e0b;
}

.star.empty::before {
    background-color: #2c2c2c;
    opacity: 0.15;
}

/* --- Review Text --- */
.review-text {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.75;
    color: #2c2c2c;
    margin-bottom: 1.25rem;
    font-style: italic;
}

/* --- Review Meta --- */
.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.reviewer-name {
    font-weight: 600;
    color: #2c2c2c;
}

.review-date {
    color: #2c2c2c;
    opacity: 0.5;
    font-weight: 400;
}

/* ============================================
   FEATURED SECTION
   ============================================ */
.section-featured {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    overflow: hidden;
    background-color: #fefefe;
}

.wash-featured-1 {
    width: 700px;
    height: 700px;
    top: -20%;
    left: -10%;
}

.wash-featured-2 {
    width: 550px;
    height: 550px;
    bottom: -15%;
    right: -5%;
}

.wash-featured-3 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
}

.featured-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-align: center;
    padding: 3rem 2rem;
}

.featured-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6366f1;
    margin-bottom: 1.5rem;
}

.featured-stars {
    justify-content: center;
    margin-bottom: 2rem;
}

.featured-stars .star {
    width: 24px;
    height: 24px;
}

.featured-quote {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.3rem, 3vw, 2rem);
    line-height: 1.6;
    color: #2c2c2c;
    margin-bottom: 2rem;
    quotes: none;
}

.featured-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.featured-meta .reviewer-name {
    font-weight: 600;
}

.featured-meta .review-date {
    opacity: 0.5;
}

/* ============================================
   CLOSE SECTION
   ============================================ */
.section-close {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #fefefe;
    padding: 4rem 2rem;
}

.wash-close-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 20%;
}

.wash-close-2 {
    width: 350px;
    height: 350px;
    bottom: 10%;
    right: 15%;
}

.close-content {
    position: relative;
    z-index: 1;
}

.close-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #2c2c2c;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.close-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.close-subtext {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: #2c2c2c;
    opacity: 0;
    transition: opacity 1.2s ease 0.3s;
}

.close-subtext.visible {
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .reviews-container {
        padding: 1.5rem 1rem;
    }

    .review-entry {
        padding: 2rem 1rem;
    }

    .featured-content {
        padding: 2rem 1rem;
    }

    .wash-hero-1,
    .wash-hero-2,
    .wash-hero-3 {
        width: 300px;
        height: 300px;
    }

    .wash-featured-1,
    .wash-featured-2,
    .wash-featured-3 {
        width: 300px;
        height: 300px;
    }

    .review-wash {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .review-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .featured-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
}
