/* OSHIFIED Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* Custom Font: HYPE Bold */
@font-face {
    font-family: 'HYPE';
    src: url('HYPE-Bold/HYPE bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Color Palette */
    --primary-color: #F285A2;        /* Coral Pink */
    --primary-light: #F2B6C6;        /* Blush Pink */
    --secondary-color: #99B6F2;      /* Periwinkle Blue */
    --accent-color: #F2BB77;         /* Peachy Orange */
    --background-color: #F2DDD5;     /* Cream */
    
    /* Typography */
    --font-display: 'HYPE', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Effects */
    --shadow-soft: 0 4px 20px rgba(242, 133, 162, 0.15);
    --shadow-medium: 0 8px 30px rgba(242, 133, 162, 0.2);
}

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

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background-color);
    font-family: var(--font-body);
    overflow: hidden;
}

/* Menu Container */
.menu-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header Area */
.header-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(242, 221, 213, 0.9) 0%,
        rgba(242, 221, 213, 0) 100%
    );
}

.site-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(242, 133, 162, 0.3);
    animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Menu Row */
.menu-row {
    display: flex;
    flex: 1;
    width: 100%;
}

/* Menu Options */
.menu-option {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-right: 2px solid rgba(242, 182, 198, 0.3);
}

.menu-option:last-child {
    border-right: none;
}

.menu-option:hover {
    flex: 1.15;
}

/* Click Animation */
.menu-option.clicked {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    flex: none;
    border: none;
}

.menu-option.clicked .option-video {
    animation: zoomVideo 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.menu-option.clicked .option-content {
    animation: slideUpFade 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.menu-option.clicked ~ .menu-option {
    animation: slideRight 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes slideUpFade {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

@keyframes slideRight {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(100vw); opacity: 0; }
}

@keyframes zoomVideo {
    0% { transform: scale(1.1); filter: brightness(0.8); }
    100% { transform: scale(1.5); filter: brightness(1); }
}

/* Video Background */
.option-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    filter: brightness(0.8);
}

.menu-option:hover .option-video {
    transform: scale(1.15);
    filter: brightness(0.9);
}

.option-video.loading {
    opacity: 0;
}

/* Loading Indicator */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(242, 133, 162, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    z-index: 3;
}

.option-video.loading + .loading-indicator {
    display: block;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Overlay */
.option-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(242, 133, 162, 0.7),
        rgba(153, 182, 242, 0.6)
    );
    z-index: 1;
    transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.menu-option:hover .option-overlay {
    opacity: 0.5;
}

/* Content */
.option-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 2;
    padding: 2rem;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.option-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.menu-option:hover .option-title {
    transform: scale(1.08);
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.option-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 1rem;
    max-width: 80%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.menu-option:hover .option-description {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    .menu-container {
        min-height: 100vh;
        flex-direction: column;
    }

    .header-area {
        position: relative;
        padding: 1.5rem;
        background: linear-gradient(
            180deg,
            rgba(242, 221, 213, 1) 0%,
            rgba(242, 221, 213, 0.95) 100%
        );
    }

    .site-title {
        font-size: 2.5rem;
    }

    .menu-row {
        flex-direction: column;
        min-height: calc(100vh - 100px);
    }

    .menu-option {
        min-height: 50vh;
        border-right: none;
        border-bottom: 2px solid rgba(242, 182, 198, 0.3);
    }

    .menu-option:last-child {
        border-bottom: none;
    }

    .menu-option:hover {
        flex: 1;
    }

    .option-title {
        font-size: 2rem;
    }

    .option-description {
        font-size: 1rem;
        opacity: 1;
        transform: none;
        max-width: 90%;
    }

    .option-video {
        transform: scale(1.2);
    }

    .menu-option:hover .option-video {
        transform: scale(1.2);
    }

    /* Disable click animation on mobile */
    .menu-option.clicked {
        position: relative;
        width: 100%;
        height: auto;
    }

    .menu-option.clicked .option-video {
        animation: none;
    }

    .menu-option.clicked .option-content {
        animation: none;
    }

    .menu-option.clicked ~ .menu-option {
        animation: none;
    }
}
