/* ================================================
   MINIMAL CSS - Only what Tailwind cannot handle
   ================================================ */

/* Lenis Smooth Scroll Configuration */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* GSAP Animation States - Initial transforms */
.reveal-text {
    transform: translateY(110%);
}

.reveal-paragraph {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-footer {
    opacity: 0;
    transform: translateY(20px);
}

/* Gradient Text Effect - Cannot be done with Tailwind */
.gradient-text {
    background: linear-gradient(to bottom, #ffffff 0%, #b7c3d1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 10px;
}

/* Line Accent - Animated by GSAP */
.line-acc {
    opacity: 0;
}

/* Bar Fill - Animated by GSAP with data-width attr */
.bar-fill {
    width: 0;
}


:root {
    --acc-primary: #b7c3d1;
    /* Gray Blue from text-acc */
    --acc-secondary: #b7c3d1;
    /* Same for consistency */
    --acc-background: rgba(8, 8, 8, 0.5);
    /* Semi-transparent dark bg */
    --acc-highlight: #ffda79;
    /* Kept from original, maybe unused? */
    --acc-theme: var(--acc-primary);
}

.custom-accordion {
    color: var(--acc-theme);
    border: 1px solid rgba(183, 195, 209, 0.2);
      border-radius: 0.75rem;
    overflow: hidden;
    font-family: 'Mulish', sans-serif;
    margin-bottom: 0.5rem;
    background: var(--acc-background);
}

.custom-accordion .tab {
    position: relative;
    width: 100%;
}

.custom-accordion .tab input {
    /* "Ultrathink" solution: Combined nuclear options */
    position: absolute;
    opacity: 0 !important;
    z-index: -1000 !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
    pointer-events: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.custom-accordion .tab__content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s;
    background: rgba(255, 255, 255, 0.02);
}

.custom-accordion .tab input:checked~.tab__content {
    max-height: 60rem;
    /* Adjust per content needs */
}

.custom-accordion .tab__label {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    color: #EAE8E3;
    /* Ivory text */
    background: rgba(183, 195, 209, 0.1);
    /* Low opacity accent bg */
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.custom-accordion .tab__label:hover {
    background: rgba(183, 195, 209, 0.2);
}

.custom-accordion .tab__label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transform: rotate(90deg);
    transition: all 0.35s;
    color: var(--acc-theme);
}

.custom-accordion .tab input:checked+.tab__label::after {
    transform: rotate(270deg);
}

.custom-accordion .tab__content .inner-content {
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cfcfcf;
}

/* Animation */
.custom-accordion .tab input:not(:checked)+.tab__label:hover::after {
    animation: bounce .5s infinite;
}

@keyframes bounce {
    25% {
        transform: rotate(90deg) translate(.25rem);
    }

    75% {
        transform: rotate(90deg) translate(-.25rem);
    }
}
