/* Prime Menu CSS - Mobile First Approach */

:root {
    --background-color: #e5f1f1;
    --text-color: #81261e;
    --description-color: #632820;
    --price-color: #81261e;
    
    /* Chakra Colors */
    --root-color: #F25252;
    --sacral-color: #FFA03A;
    --solar-color: #FFFF5D;
    --heart-color: #52F252;
    --throat-color: #52F2F2;
    --third-eye-color: #525DF2;
    --crown-color: #C552F2;
}

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

body {
    font-family: "input-sans", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    font-size: 16px; /* Base font size for mobile */
}

.menu-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* Background styling */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Chakra symbols container for background */
.chakra-symbols-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    pointer-events: none;
    z-index: 1;
}

/* Individual floating chakra symbols */
.floating-chakra {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.8;
    animation: floatAnimation 10s ease-in-out infinite alternate;
}

/* Apply colors to SVG symbols - override the fill in the SVGs */
.floating-chakra path, 
.chakra-icon path {
    fill: currentColor;
}

#floating-root {
    top: 15%;
    left: 15%;
    color: var(--root-color);
    animation-delay: 0s;
    filter: drop-shadow(0 0 5px var(--root-color));
}

#floating-sacral {
    top: 25%;
    left: 10%;
    color: var(--sacral-color);
    animation-delay: -1s;
    filter: drop-shadow(0 0 5px var(--sacral-color));
}

#floating-solar {
    top: 35%;
    left: 18%;
    color: var(--solar-color);
    animation-delay: -2s;
    filter: drop-shadow(0 0 5px var(--solar-color));
}

#floating-heart {
    top: 45%;
    left: 12%;
    color: var(--heart-color);
    animation-delay: -3s;
    filter: drop-shadow(0 0 5px var(--heart-color));
}

#floating-throat {
    top: 55%;
    left: 20%;
    color: var(--throat-color);
    animation-delay: -4s;
    filter: drop-shadow(0 0 5px var(--throat-color));
}

#floating-third-eye {
    top: 65%;
    left: 15%;
    color: var(--third-eye-color);
    animation-delay: -5s;
    filter: drop-shadow(0 0 5px var(--third-eye-color));
}

#floating-crown {
    top: 75%;
    left: 10%;
    color: var(--crown-color);
    animation-delay: -6s;
    filter: drop-shadow(0 0 5px var(--crown-color));
}

/* Menu Content */
.menu-content {
    position: relative;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    z-index: 2;
}

/* Logo */
.menu-header {
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.logo {
    max-width: 75%;
    height: auto;
    margin: 0 auto;
}

.chakra-heading {
    margin-top: 1rem;
    font-size: 1.2rem;
    letter-spacing: 3px;
    font-weight: 400;
    color: var(--text-color);
    opacity: 0.8;
    text-align: center;
    
    /* Subtle pulse animation */
    animation: textPulse 5s infinite alternate;
}

/* Menu Items */
.menu-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.menu-item {
    text-align: center;
    position: relative;
    padding: 0.5rem 0;
    transition: transform 0.3s ease;
    padding-top: 2rem;
}

.menu-item:hover {
    transform: translateY(-2px);
}

.dish-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-color);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
}

.dish-description {
    font-size: 0.9rem;
    color: var(--description-color);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    padding: 0 0.5rem;
}

.dish-price {
    font-size: 1.2rem;
    color: var(--price-color);
    margin-top: 0.4rem;
    font-weight: 500;
}

/* Chakra styling for menu items */
.chakra-symbol {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chakra-icon {
    width: 100%;
    height: 100%;
    animation: rotateSlow 20s linear infinite;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 5px currentColor);
}

/* Apply colors to SVG symbols - override the fill in the SVGs */
.chakra-icon path {
    fill: currentColor;
}

/* Apply specific colors to each menu item's chakra icon */
.menu-item[data-chakra="root"] .chakra-icon {
    color: var(--root-color);
}

.menu-item[data-chakra="sacral"] .chakra-icon {
    color: var(--sacral-color);
}

.menu-item[data-chakra="solar"] .chakra-icon {
    color: var(--solar-color);
}

.menu-item[data-chakra="heart"] .chakra-icon {
    color: var(--heart-color);
}

.menu-item[data-chakra="throat"] .chakra-icon {
    color: var(--throat-color);
}

.menu-item[data-chakra="third-eye"] .chakra-icon {
    color: var(--third-eye-color);
}

.menu-footer .chakra-icon {
    color: var(--crown-color);
}

/* Hover effects for chakra icons */
.menu-item:hover .chakra-icon {
    transform: scale(1.2) rotate(30deg);
    animation: activePulse 1.5s ease-in-out infinite alternate;
}

/* Footer styling */
.menu-footer {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    width: 100%;
    text-align: center;
}

.back-link {
    margin-top: 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

#animation-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* Animations */
@keyframes rotateSlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseSlow {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes textPulse {
    0% {
        opacity: 0.7;
        letter-spacing: 3px;
    }
    100% {
        opacity: 0.9;
        letter-spacing: 4px;
    }
}

@keyframes activePulse {
    0% {
        transform: scale(1.1) rotate(15deg);
        filter: drop-shadow(0 0 8px currentColor);
    }
    100% {
        transform: scale(1.3) rotate(45deg);
        filter: drop-shadow(0 0 15px currentColor);
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    100% {
        transform: translateY(10px) rotate(360deg);
    }
}

/* Media Queries */
@media (min-width: 768px) {
    body {
        font-size: 18px;
    }
    
    .menu-content {
        padding: 2rem;
    }
    
    .logo {
        max-width: 60%;
    }
    
    .chakra-heading {
        font-size: 1.4rem;
    }
    
    .dish-name {
        font-size: 1.5rem;
    }
    
    .dish-description {
        font-size: 1rem;
    }
    
    .dish-price {
        font-size: 1.4rem;
    }
    
    .menu-items {
        gap: 2.5rem;
    }
    
    .chakra-symbol {
        width: 75px;
        height: 75px;
    }
    
    .floating-chakra {
        width: 80px;
        height: 80px;
    }
}

@media (min-width: 1024px) {
    body {
        font-size: 20px;
    }
    
    .menu-content {
        padding: 3rem;
    }
    
    .logo {
        max-width: 50%;
    }
    
    .chakra-heading {
        font-size: 1.6rem;
    }
    
    .dish-name {
        font-size: 1.7rem;
    }
    
    .dish-description {
        font-size: 1.1rem;
    }
    
    .dish-price {
        font-size: 1.6rem;
    }
    
    .menu-items {
        gap: 3rem;
    }
    
    .chakra-symbol {
        width: 90px;
        height: 90px;
        margin-bottom: 2rem;
    }
    
    .floating-chakra {
        width: 100px;
        height: 100px;
    }
} 