/* Color Palette */
:root {
    --color-dark-brown: #3A3228;
    --color-medium-brown: #8B8577;
    --color-gold: #D4A853;
    --color-warm-tan: #C4A882;
    --color-cream: #F2EBE0;
    --color-teal: #6BA3A0;
    --color-sage: #4A6341;
    --color-deep-brown: #2A241E;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    font-weight: 400;
    line-height: 1.8;
    background: linear-gradient(135deg, var(--color-cream) 0%, #E8DFD5 100%);
    color: var(--color-dark-brown);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Water Bubble Base Styles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, rgba(107,163,160,0.1) 50%, rgba(74,99,65,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bubble:hover {
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(6px);
}

/* Bubble Size Variants */
.bubble-sm {
    width: 60px;
    height: 60px;
}

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

.bubble-lg {
    width: 180px;
    height: 180px;
}

/* Page Container */
.page-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Opening Section */
.opening-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream) 0%, #EADFCF 100%);
}

.wordmark-container {
    position: absolute;
    top: 20%;
    left: 10%;
    z-index: 10;
}

.wordmark {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-dark-brown);
    line-height: 1.1;
}

.opening-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.opening-bubbles .bubble {
    position: absolute;
}

/* Zones */
.zone {
    position: relative;
    min-height: 100vh;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.zone-content {
    max-width: 900px;
    position: relative;
    z-index: 5;
}

/* Zone Specific Positioning */
.zone-1 {
    background: linear-gradient(135deg, #F2EBE0 0%, #E8DFD5 100%);
}

.zone-1 .zone-title {
    margin-left: 5%;
}

.zone-2 {
    background: linear-gradient(135deg, #EADFCF 0%, #E0D4C4 100%);
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 120px;
}

.zone-2 .zone-content {
    text-align: right;
    margin-right: 60px;
}

.zone-3 {
    background: linear-gradient(135deg, #E0D4C4 0%, #D6C9B9 100%);
}

.zone-4 {
    background: linear-gradient(135deg, #D6C9B9 0%, #CCBEAE 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.zone-4 .zone-content {
    max-width: 800px;
    text-align: center;
}

.zone-5 {
    background: linear-gradient(135deg, #CCBEAE 0%, #C2B3A3 100%);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 80px;
}

/* Zone Title */
.zone-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-dark-brown);
    margin-bottom: 40px;
    line-height: 1.1;
}

/* Zone Text */
.zone-text {
    font-size: 1.1rem;
    color: var(--color-dark-brown);
    margin-bottom: 60px;
    max-width: 600px;
    line-height: 1.9;
}

/* Bubble Clusters */
.bubble-cluster {
    position: relative;
    height: 400px;
    width: 100%;
    margin-top: 40px;
}

.zone-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    position: relative;
}

/* Interactive Bubbles */
.bubble-interactive {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    width: 120px;
    height: 120px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark-brown);
    text-align: center;
    padding: 15px;
}

.bubble-text {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.bubble-interactive.expanded {
    width: 280px;
    height: 280px;
    z-index: 100;
}

.bubble-interactive.expanded .bubble-text {
    opacity: 0;
}

.bubble-interactive .content-detail {
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    padding: 20px;
}

.bubble-interactive.expanded .content-detail {
    opacity: 1;
}

/* Large Bubble Containers */
.bubble-large-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 240px;
    cursor: pointer;
}

.showcase-inner {
    text-align: center;
    transition: opacity 0.3s ease;
}

.showcase-inner h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark-brown);
    margin-bottom: 8px;
}

.showcase-meta {
    font-size: 0.85rem;
    color: var(--color-medium-brown);
}

.bubble-large-container.expanded .showcase-inner {
    opacity: 0;
}

.bubble-large-container .content-detail {
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    padding: 30px;
    max-height: 200px;
    overflow-y: auto;
}

.bubble-large-container.expanded .content-detail {
    opacity: 1;
}

/* Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 80px;
    margin-top: 60px;
    align-items: center;
}

.showcase-item {
    position: relative;
    height: 300px;
}

/* Philosophy Bubbles */
.philosophy-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    margin-top: 60px;
    align-items: center;
}

/* CTA Section */
.cta-bubble-cluster {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.bubble-cta {
    width: 150px;
    height: 150px;
    border: none;
    background: radial-gradient(circle at 30% 30%, rgba(212,168,83,0.3) 0%, rgba(107,163,160,0.1) 50%, rgba(74,99,65,0.05) 100%);
    border: 1.5px solid rgba(212,168,83,0.4);
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark-brown);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bubble-cta:hover {
    transform: scale(1.1);
    background: radial-gradient(circle at 30% 30%, rgba(212,168,83,0.5) 0%, rgba(107,163,160,0.2) 50%, rgba(74,99,65,0.1) 100%);
    border-color: rgba(212,168,83,0.6);
}

.bubble-cta:active {
    transform: scale(0.95);
}

/* Footer */
.footer {
    background: var(--color-deep-brown);
    color: var(--color-cream);
    padding: 60px;
    text-align: center;
    position: relative;
    min-height: 200px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.footer-content p {
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.footer-bubbles {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 20px;
    opacity: 0.6;
}

/* Decorative Background Bubbles */
.zone::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15) 0%, rgba(107,163,160,0.05) 50%, transparent 100%);
    border: 1px solid rgba(255,255,255,0.1);
    top: 10%;
    right: 5%;
    opacity: 0.6;
}

.zone-2::before {
    left: 5%;
    right: auto;
}

.zone-4::before {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .zone {
        padding: 60px 30px;
        min-height: auto;
        align-items: center;
    }

    .zone-2 {
        align-items: flex-start;
        padding-left: 30px;
    }

    .zone-2 .zone-content {
        text-align: left;
        margin-right: 0;
    }

    .zone-5 {
        align-items: flex-start;
        padding-left: 30px;
    }

    .wordmark {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .zone-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bubble-cluster {
        height: auto;
    }

    .zone-bubbles {
        flex-direction: column;
        align-items: flex-start;
    }

    .philosophy-bubbles {
        flex-direction: column;
        gap: 30px;
    }

    .cta-bubble-cluster {
        flex-direction: column;
    }

    .footer-bubbles {
        position: static;
        margin-top: 20px;
        opacity: 0.4;
    }
}

@media (max-width: 480px) {
    .opening-section {
        height: 80vh;
    }

    .wordmark-container {
        top: 15%;
        left: 5%;
    }

    .wordmark {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .zone {
        padding: 40px 20px;
    }

    .zone-title {
        font-size: clamp(1.2rem, 5vw, 2rem);
        margin-bottom: 20px;
    }

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

    .footer {
        padding: 40px 20px;
    }

    .footer-content p {
        font-size: 0.85rem;
    }
}
