/* ============================================
   lunar.bar - Styles
   Blobitecture cocktail lounge in low Earth orbit
   ============================================ */

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

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

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.75;
    color: #3A3040;
    background: #F8F0F0;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Commissioner', sans-serif;
}

.accent-font {
    font-family: 'Caveat', cursive;
    font-weight: 400;
    font-size: clamp(16px, 1.2vw, 22px);
}

/* --- Sections (common) --- */
.section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 100px 0;
}

.section__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.section__heading {
    font-family: 'Commissioner', sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 3.5vw, 48px);
    color: #3A3040;
    margin-bottom: 30px;
    display: inline-block;
}

.section__heading--light {
    color: #F8F0F0;
}

.section__text {
    margin-bottom: 24px;
    max-width: 700px;
}

.section__text--light {
    color: #F0E8F8;
}

.section__quote {
    font-size: clamp(20px, 2vw, 30px);
    color: #D8C090;
    margin-top: 30px;
    text-align: center;
}

/* --- Section Dividers --- */
.section-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 3;
    display: block;
}

/* --- Hero Section --- */
.section--hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F0F0;
    padding: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero__logotype {
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: clamp(40px, 8vw, 100px);
    color: #3A3040;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInLogotype 1s ease-out 0.3s forwards;
}

.hero__tagline {
    font-size: clamp(18px, 2vw, 28px);
    color: #B8A0D0;
    margin-top: 16px;
    opacity: 0;
    animation: fadeInLogotype 1s ease-out 0.8s forwards;
}

@keyframes fadeInLogotype {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Blob Shapes --- */
.blob {
    position: absolute;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    opacity: 0.25;
    z-index: 1;
    will-change: transform;
}

.blob--1 {
    width: 400px;
    height: 400px;
    background: #E8A0B0;
    top: 10%;
    left: -5%;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: floatBlob 20s ease-in-out infinite;
}

.blob--2 {
    width: 300px;
    height: 300px;
    background: #B8A0D0;
    top: 20%;
    right: -3%;
    border-radius: 58% 42% 30% 70% / 55% 35% 65% 45%;
    animation: floatBlob 20s ease-in-out infinite;
    animation-delay: -5s;
}

.blob--3 {
    width: 250px;
    height: 250px;
    background: #D8C090;
    bottom: 20%;
    left: 15%;
    border-radius: 35% 65% 55% 45% / 60% 40% 60% 40%;
    animation: floatBlob 20s ease-in-out infinite;
    animation-delay: -10s;
    opacity: 0.2;
}

.blob--4 {
    width: 180px;
    height: 180px;
    background: #80D8B0;
    bottom: 30%;
    right: 10%;
    border-radius: 65% 35% 45% 55% / 40% 60% 40% 60%;
    animation: floatBlob 20s ease-in-out infinite;
    animation-delay: -15s;
    opacity: 0.2;
}

.blob--5 {
    width: 320px;
    height: 320px;
    background: #B8A0D0;
    top: 5%;
    right: -8%;
    border-radius: 50% 50% 35% 65% / 55% 40% 60% 45%;
    animation: floatBlob 20s ease-in-out infinite;
    animation-delay: -7s;
    opacity: 0.18;
}

.blob--6 {
    width: 200px;
    height: 200px;
    background: #E8A0B0;
    bottom: 15%;
    left: -3%;
    border-radius: 60% 40% 50% 50% / 45% 55% 45% 55%;
    animation: floatBlob 20s ease-in-out infinite;
    animation-delay: -12s;
    opacity: 0.2;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 15px) scale(0.95);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* --- Underline Draw Animation --- */
.underline-draw {
    background-image: linear-gradient(#E8A0B0, #E8A0B0);
    background-size: 0% 2px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.6s ease-out;
    padding-bottom: 6px;
}

.underline-draw.is-visible {
    background-size: 100% 2px;
}

/* --- Fade In Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* --- Section Backgrounds --- */
.section--lavender {
    background: #F0E8F8;
}

.section--mint {
    background: #E8F5F0;
}

.section--rose {
    background: #F8F0F0;
}

.section--lavender-final {
    background: #F0E8F8;
}

/* --- Aurora Section --- */
.section--aurora {
    background: linear-gradient(135deg, #80D8B0, #B8A0D0, #E8A0B0, #80D8B0);
    background-size: 400% 400%;
    animation: auroraShift 12s ease infinite;
    position: relative;
}

.section--aurora .section__inner {
    position: relative;
    z-index: 2;
}

.aurora__overlay {
    position: absolute;
    inset: 0;
    background: rgba(58, 48, 64, 0.25);
    z-index: 1;
}

@keyframes auroraShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* --- Botanical Illustrations --- */
.botanical {
    position: absolute;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.botanical--fern {
    width: 160px;
    height: 280px;
    top: 40px;
    right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 280'%3E%3Cpath d='M80,280 Q82,200 80,150 Q78,100 80,20' fill='none' stroke='%23B8A0D0' stroke-width='1.5'/%3E%3Cpath d='M80,240 Q50,220 35,200' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cpath d='M80,220 Q110,200 125,180' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cpath d='M80,200 Q45,180 30,155' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cpath d='M80,180 Q115,160 130,135' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cpath d='M80,160 Q50,140 35,115' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cpath d='M80,140 Q110,120 120,95' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cpath d='M80,120 Q55,100 45,80' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cpath d='M80,100 Q105,80 110,60' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cpath d='M80,80 Q60,65 55,45' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cpath d='M80,60 Q95,45 100,30' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.botanical--lavender-sprig {
    width: 120px;
    height: 250px;
    bottom: 140px;
    left: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 250'%3E%3Cpath d='M60,250 Q58,180 60,100 Q62,50 60,10' fill='none' stroke='%2380D8B0' stroke-width='1.5'/%3E%3Cellipse cx='60' cy='20' rx='5' ry='10' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cellipse cx='55' cy='35' rx='5' ry='8' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cellipse cx='65' cy='45' rx='5' ry='8' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cellipse cx='55' cy='55' rx='5' ry='8' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cellipse cx='65' cy='65' rx='5' ry='8' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cellipse cx='55' cy='75' rx='5' ry='8' fill='none' stroke='%23B8A0D0' stroke-width='1'/%3E%3Cpath d='M60,140 Q35,130 25,120' fill='none' stroke='%2380D8B0' stroke-width='1'/%3E%3Cpath d='M60,170 Q85,160 95,150' fill='none' stroke='%2380D8B0' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.botanical--cherry-blossom {
    width: 180px;
    height: 200px;
    top: 30px;
    left: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 200'%3E%3Cpath d='M90,200 Q88,140 90,80 Q85,40 70,10' fill='none' stroke='%23E8A0B0' stroke-width='1.5'/%3E%3Cpath d='M90,100 Q120,80 140,60' fill='none' stroke='%23E8A0B0' stroke-width='1.2'/%3E%3Cpath d='M90,130 Q60,110 40,100' fill='none' stroke='%23E8A0B0' stroke-width='1.2'/%3E%3Ccircle cx='70' cy='10' r='8' fill='none' stroke='%23E8A0B0' stroke-width='0.8'/%3E%3Ccircle cx='65' cy='8' r='3' fill='%23E8A0B0' opacity='0.3'/%3E%3Ccircle cx='140' cy='60' r='8' fill='none' stroke='%23E8A0B0' stroke-width='0.8'/%3E%3Ccircle cx='135' cy='58' r='3' fill='%23E8A0B0' opacity='0.3'/%3E%3Ccircle cx='40' cy='100' r='8' fill='none' stroke='%23E8A0B0' stroke-width='0.8'/%3E%3Ccircle cx='35' cy='98' r='3' fill='%23E8A0B0' opacity='0.3'/%3E%3Ccircle cx='115' cy='85' r='6' fill='none' stroke='%23E8A0B0' stroke-width='0.8'/%3E%3Ccircle cx='55' cy='115' r='6' fill='none' stroke='%23E8A0B0' stroke-width='0.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.botanical--seed-pod {
    width: 140px;
    height: 220px;
    top: 50px;
    right: 25px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 220'%3E%3Cpath d='M70,220 Q68,160 70,100' fill='none' stroke='%23D8C090' stroke-width='1.5'/%3E%3Cpath d='M70,100 Q50,60 55,20 Q70,5 85,20 Q90,60 70,100' fill='none' stroke='%23D8C090' stroke-width='1'/%3E%3Cpath d='M70,80 Q55,50 60,30' fill='none' stroke='%23D8C090' stroke-width='0.8'/%3E%3Cpath d='M70,80 Q85,50 80,30' fill='none' stroke='%23D8C090' stroke-width='0.8'/%3E%3Cpath d='M70,140 Q45,130 35,120' fill='none' stroke='%23D8C090' stroke-width='1'/%3E%3Cpath d='M70,170 Q95,155 105,145' fill='none' stroke='%23D8C090' stroke-width='1'/%3E%3Cellipse cx='35' cy='120' rx='10' ry='15' fill='none' stroke='%23D8C090' stroke-width='0.8' transform='rotate(-20 35 120)'/%3E%3Cellipse cx='105' cy='145' rx='10' ry='15' fill='none' stroke='%23D8C090' stroke-width='0.8' transform='rotate(20 105 145)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* --- Menu Grid --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    margin-top: 40px;
}

.menu-item {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(184, 160, 208, 0.3);
}

.menu-item__name {
    font-family: 'Commissioner', sans-serif;
    font-weight: 600;
    font-size: clamp(18px, 1.5vw, 24px);
    color: #3A3040;
    margin-bottom: 6px;
}

.menu-item__desc {
    color: #B8A0D0;
    font-size: clamp(15px, 1.1vw, 20px);
}

/* --- Experience Grid --- */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.experience-card {
    text-align: center;
    padding: 30px 20px;
}

.experience-card__icon {
    margin-bottom: 20px;
}

.experience-card__title {
    font-family: 'Commissioner', sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 1.3vw, 22px);
    color: #3A3040;
    margin-bottom: 12px;
}

.experience-card__text {
    font-size: clamp(13px, 0.9vw, 16px);
    color: #3A3040;
    opacity: 0.85;
    line-height: 1.7;
}

/* --- Visit Details --- */
.visit-details {
    display: flex;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.visit-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.visit-detail__label {
    color: #E8A0B0;
    font-size: clamp(16px, 1.2vw, 22px);
}

.visit-detail__value {
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1vw, 17px);
    color: #3A3040;
}

/* --- Footer --- */
.footer {
    background: #3A3040;
    padding: 50px 40px;
    text-align: center;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer__logo {
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: clamp(20px, 2vw, 30px);
    color: #F8F0F0;
    letter-spacing: -0.01em;
}

.footer__note {
    color: #B8A0D0;
    font-size: clamp(14px, 1vw, 18px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section__inner {
        padding: 0 24px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .visit-details {
        flex-direction: column;
        gap: 30px;
    }

    .blob--1 {
        width: 250px;
        height: 250px;
    }

    .blob--2 {
        width: 200px;
        height: 200px;
    }

    .blob--3 {
        width: 150px;
        height: 150px;
    }

    .blob--4 {
        width: 120px;
        height: 120px;
    }

    .botanical {
        opacity: 0.25;
    }
}

@media (max-width: 480px) {
    .hero__logotype {
        font-size: clamp(32px, 12vw, 60px);
    }

    .section {
        padding: 60px 0;
    }

    .section-divider {
        height: 80px;
    }
}
