:root {
    --color-grapes: #E57484;
    --color-avocados: #A0C8A9;
    --color-flowers: #EBCB58;
    --color-citrus: #E8825E;
    --text-color: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--color-grapes);
    overscroll-behavior: none;
    overflow-x: scroll;
    overflow-y: hidden;
}

main {
    position: relative;
    width: 400vw;
    height: 100vh;
    display: flex;
    flex-wrap: nowrap;
    z-index: 2;
}

/* --- Fixed UI Elements --- */
.fixed-ui {
    position: fixed;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through */
}

.fixed-ui > * {
    pointer-events: all; /* Make children clickable */
}

header {
    top: 0;
}

footer {
    bottom: 0;
    align-items: flex-end;
}

.logo, .menu-icon, .footer-links, .footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-icon .line {
    width: 28px;
    height: 2px;
    background-color: var(--text-color);
    margin: 3px 0;
}
.menu-icon { flex-direction: column; align-items: flex-end; }

footer a, .product-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}
footer a:hover, .product-nav a:hover { opacity: 1; }

/* --- 3D Canvas --- */
#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

/* --- Content & Sections --- */
.content-wrapper {
    position: relative;
    width: 100%;
}

.product-section {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-section h1 {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 700;
    text-align: center;
    position: absolute; /* Needed for GSAP transitions */
}

/* --- Navigation & Buttons --- */
.product-nav {
    position: fixed;
    top: 50%;
    left: 3rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.product-nav a {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    position: relative;
    padding-bottom: 5px;
}

.product-nav a.active {
    opacity: 1;
}

.product-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--text-color);
    border-radius: 50%;
}

.discover-btn {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background-color: #e55454;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.discover-btn:hover {
    background-color: #d14242;
}

/* --- Mobile Styles --- */
 @media (max-width: 768px) {
    .fixed-ui { padding: 1.5rem; }
    .product-nav { display: none; } /* Hide vertical nav on mobile */
    .discover-btn { bottom: 2rem; }
    footer { flex-direction: column; align-items: center; gap: 1rem; padding-bottom: 7rem; }
}
