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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #FFFEF5 0%, #FFF8F0 100%);
    overflow-x: hidden;
    color: #3D3535;
}

.honeycomb-container {
    width: 100%;
    padding: clamp(20px, 4vw, 60px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 2vw, 20px);
    align-items: flex-start;
    align-content: flex-start;
}

section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 2vw, 20px);
    align-items: center;
    width: 100%;
    margin: clamp(10px, 2vh, 30px) 0;
}

/* Hexagon Cell Base Styles */
.hex-cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(
        25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%
    );
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hex-cell:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Hexagon Sizes */
.hex-sm {
    width: clamp(100px, 12vw, 160px);
    height: clamp(100px, 12vw, 160px);
}

.hex-md {
    width: clamp(140px, 18vw, 220px);
    height: clamp(140px, 18vw, 220px);
}

.hex-lg {
    width: clamp(180px, 24vw, 280px);
    height: clamp(180px, 24vw, 280px);
}

/* Hero Section */
.hero-cluster {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(12px, 3vw, 25px);
    margin-top: clamp(40px, 8vh, 80px);
    margin-bottom: clamp(40px, 8vh, 80px);
}

.hero-text {
    background: linear-gradient(135deg, #FFB5C2 0%, #FFB5C2 100%);
    box-shadow: 0 10px 30px rgba(255, 181, 194, 0.2);
}

.hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #FFB5C2;
    margin-bottom: clamp(8px, 1.5vh, 15px);
    text-transform: lowercase;
    font-family: 'Outfit', sans-serif;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #4A1942;
    font-family: 'Space Mono', monospace;
}

/* Botanical Image Cells */
.botanical-img {
    background: linear-gradient(135deg, rgba(255, 232, 236, 0.4), rgba(240, 255, 250, 0.4));
    border: 1px solid rgba(126, 218, 185, 0.2);
    padding: clamp(10px, 2vw, 20px);
}

.placeholder-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}

.botanical-cluster-1 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 2vw, 20px);
    margin: clamp(30px, 5vh, 50px) 0;
}

.botanical-cluster-2 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 2vw, 20px);
    margin: clamp(30px, 5vh, 50px) 0;
}

/* Text Content Cells */
.text-content {
    background: linear-gradient(135deg, rgba(195, 166, 216, 0.15), rgba(126, 218, 185, 0.15));
    border: 2px solid rgba(126, 218, 185, 0.3);
    padding: clamp(20px, 3vw, 35px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.text-content h2 {
    font-size: clamp(1.4rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #4A1942;
    margin-bottom: clamp(10px, 2vh, 20px);
    font-family: 'Outfit', sans-serif;
}

.text-content h3 {
    font-size: clamp(1.1rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #4A1942;
    margin-bottom: clamp(8px, 1.5vh, 15px);
    font-family: 'Outfit', sans-serif;
}

.text-content p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    line-height: 1.6;
    color: #3D3535;
    font-family: 'Outfit', sans-serif;
}

.text-cluster {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 2vw, 20px);
    margin: clamp(30px, 5vh, 50px) 0;
}

/* Feature Cluster */
.feature-cluster {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 2vw, 20px);
    margin: clamp(30px, 5vh, 50px) 0;
}

/* Gallery Cluster */
.gallery-cluster {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 2vw, 20px);
    margin: clamp(30px, 5vh, 50px) 0;
}

/* Spacer Clusters */
.spacer-cluster-1,
.spacer-cluster-2 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 2vw, 20px);
    margin: clamp(20px, 3vh, 40px) 0;
}

/* Decorative Label Style */
.hex-label {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C98BA0;
    font-family: 'Outfit', sans-serif;
}

/* Pull Quote Style */
.hex-quote {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: #7EDAB9;
    opacity: 0.4;
}

/* Closing Section */
.closing-cluster {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 2vw, 20px);
    margin: clamp(50px, 8vh, 100px) 0;
    margin-bottom: clamp(80px, 12vh, 150px);
}

.closing-text {
    background: linear-gradient(135deg, #C3A6D8 0%, #7EDAB9 100%);
    box-shadow: 0 15px 40px rgba(195, 166, 216, 0.3);
}

.closing-text h2 {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #FFFEF5;
    margin-bottom: clamp(10px, 2vh, 20px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.closing-text p {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 254, 245, 0.98);
}

/* Candy Colors */
[style*="background-color: #FFE156"] {
    background: linear-gradient(135deg, #FFE156, #FFD740) !important;
    box-shadow: 0 8px 24px rgba(255, 225, 86, 0.25);
}

[style*="background-color: #C3A6D8"] {
    background: linear-gradient(135deg, #C3A6D8, #B892D0) !important;
    box-shadow: 0 8px 24px rgba(195, 166, 216, 0.25);
}

[style*="background-color: #FFB5C2"] {
    background: linear-gradient(135deg, #FFB5C2, #FFA3B3) !important;
    box-shadow: 0 8px 24px rgba(255, 181, 194, 0.25);
}

[style*="background-color: #7EDAB9"] {
    background: linear-gradient(135deg, #7EDAB9, #6ECBA9) !important;
    box-shadow: 0 8px 24px rgba(126, 218, 185, 0.25);
}

[style*="background-color: #FFF8F0"] {
    background: linear-gradient(135deg, #FFF8F0, #FFF3E0) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[style*="background-color: #FFE8EC"] {
    background: linear-gradient(135deg, #FFE8EC, #FFE0E8) !important;
    box-shadow: 0 4px 12px rgba(255, 181, 194, 0.12);
}

[style*="background-color: #FFF3B0"] {
    background: linear-gradient(135deg, #FFF3B0, #FFEDA0) !important;
    box-shadow: 0 6px 16px rgba(255, 243, 176, 0.2);
}

/* Scroll Animation - Cells fade and scale in as they enter viewport */
.hex-cell {
    opacity: 0.85;
    animation: cellEnter 0.6s ease-out forwards;
}

@keyframes cellEnter {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Stagger animations for clusters */
.hero-cluster .hex-cell:nth-child(1) {
    animation-delay: 0s;
}

.hero-cluster .hex-cell:nth-child(2) {
    animation-delay: 0.1s;
}

.hero-cluster .hex-cell:nth-child(3) {
    animation-delay: 0.2s;
}

.hero-cluster .hex-cell:nth-child(4) {
    animation-delay: 0.3s;
}

.hero-cluster .hex-cell:nth-child(5) {
    animation-delay: 0.4s;
}

.botanical-cluster-1 .hex-cell:nth-child(n) {
    animation-delay: calc(0.08s * var(--index, 0));
}

/* Responsive Design */
@media (max-width: 768px) {
    .honeycomb-container {
        padding: clamp(15px, 3vw, 40px);
        gap: clamp(6px, 1.5vw, 15px);
    }

    .hex-sm {
        width: clamp(85px, 14vw, 140px);
        height: clamp(85px, 14vw, 140px);
    }

    .hex-md {
        width: clamp(110px, 20vw, 180px);
        height: clamp(110px, 20vw, 180px);
    }

    .hex-lg {
        width: clamp(140px, 26vw, 240px);
        height: clamp(140px, 26vw, 240px);
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 3.5rem);
    }

    .subtitle {
        font-size: clamp(0.8rem, 2vw, 1.4rem);
    }

    .text-content h2 {
        font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    }

    .text-content h3 {
        font-size: clamp(0.95rem, 2.5vw, 1.6rem);
    }

    .closing-text h2 {
        font-size: clamp(1.4rem, 4.5vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .honeycomb-container {
        padding: 12px;
        gap: 10px;
    }

    .hex-sm,
    .hex-md,
    .hex-lg {
        width: clamp(70px, 20vw, 120px);
        height: clamp(70px, 20vw, 120px);
    }

    .hero-content h1 {
        font-size: clamp(1.4rem, 5vw, 2.5rem);
    }

    .subtitle {
        font-size: clamp(0.7rem, 1.8vw, 1rem);
    }

    .text-content {
        padding: clamp(12px, 2vw, 20px);
    }

    .text-content h2,
    .closing-text h2 {
        font-size: clamp(1rem, 3vw, 1.8rem);
    }
}
