@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --teal: #58B7A0;
    --pink: #E5B8B8;
    --light-green: #96C94A;
    --dark-green: #4a9c8a;
    --pale-green: #e8f5f2;
    --white: #ffffff;
    --off-white: #fafafa;
    --text-dark: #2c5530;
    --text-light: #5a7a5e;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    position: relative;
    overflow-x: hidden;
    padding-top: 60px;
    min-height: 100vh;
}

/* Ambient background patterns */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(88, 183, 160, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(150, 201, 74, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(88, 183, 160, 0.03) 0%, transparent 50%);
    z-index: -2;
}

.background-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(88, 183, 160, 0.02) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(150, 201, 74, 0.02) 50%, transparent 60%);
    background-size: 100px 100px;
    opacity: 0.8;
    z-index: -1;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 40px;
    position: relative;
    overflow: visible;
    padding-top: 20px;
    padding-bottom: 80px;
}

.column {
    flex: 1;
    position: relative;
    overflow: visible;
}

/* Logo Styling */
.logo {
    font-family: 'Playfair Display', serif;
    position: relative;
    margin-bottom: 0;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(88, 183, 160, 0.2));
}

.logo:hover {
    filter: drop-shadow(0 6px 12px rgba(88, 183, 160, 0.3));
}

/* Tagline under logo */
.logo::after {
    content: "Naturel. Frais. Vert.";
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--teal);
    margin-top: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

/* Menu Sections */
.menu-section {
    margin-bottom: 60px;
    position: relative;
    text-align: center;
    overflow: visible;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(88, 183, 160, 0.1);
    box-shadow: 0 8px 24px rgba(88, 183, 160, 0.08);
    padding: 30px;
    backdrop-filter: blur(10px);
}

.brush-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.brush-bg {
    width: 200px;
    height: auto;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.section-title span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 600;
    white-space: nowrap;
    font-family: 'Playfair Display', serif;
    z-index: 1;
}

/* Menu Items */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    overflow: visible;
}

.menu-item {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(88, 183, 160, 0.08);
    transition: all 0.3s ease;
    position: relative;
    max-width: 100%;
    height: auto;
    padding: 16px;
    gap: 15px;
    border: 1px solid rgba(88, 183, 160, 0.1);
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(229, 184, 184, 0.15);
    border-color: var(--pink);
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pink);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover::before {
    opacity: 1;
}

.menu-item.no-image {
    padding: 16px;
}

.item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(88, 183, 160, 0.1);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover .item-image img {
    transform: scale(1.05);
}

.item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.item-details h3 {
    margin: 0;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    font-family: 'Playfair Display', serif;
    line-height: 1.4;
    min-height: 3rem;
}

.item-details .description {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    font-weight: 300;
}

.item-price {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-price span {
    color: var(--teal);
    font-weight: 600;
    font-size: 1rem;
}

.like-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.like-button i {
    font-size: 1.2rem;
    color: #ccc;
    transition: all 0.3s ease;
}

.like-button:hover i {
    color: var(--pink);
    transform: scale(1.1);
}

.like-button.liked i {
    color: var(--pink);
    animation: likeAnimation 0.3s ease;
}

@keyframes likeAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Dynamic Island Navigation */
.menu-nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding-top: 0;
    width: 100%;
    max-width: 250px;
    background: transparent;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.menu-nav.nav-hidden {
    transform: translateX(-50%) translateY(-100%);
}

.nav-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.dynamic-island {
    background: var(--teal);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(88, 183, 160, 0.3);
    font-family: 'Playfair Display', serif;
}

.dynamic-island:hover {
    background: var(--teal);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(88, 183, 160, 0.4);
}

.nav-scroll {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    background: var(--white);
    border-radius: 0 0 20px 20px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(-20px) translateX(-50%);
    pointer-events: none;
    box-shadow: 0 12px 40px rgba(88, 183, 160, 0.15);
    border: 1px solid rgba(88, 183, 160, 0.1);
    backdrop-filter: blur(15px);
    max-height: 70vh;
    overflow-y: auto;
}

.nav-scroll.expanded {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%);
    pointer-events: all;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--teal);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 8px;
    border: 1px solid transparent;
    background: rgba(88, 183, 160, 0.02);
}

.nav-item:last-child {
    margin-bottom: 0;
}

.nav-item:hover {
    background: var(--pink);
    color: var(--white);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 6px 20px rgba(229, 184, 184, 0.4);
    border-color: var(--pink);
}

.nav-item:active {
    transform: translateX(8px) scale(0.98);
}

.nav-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: currentColor;
    transition: all 0.3s ease;
}

.nav-item:hover i {
    transform: scale(1.1);
}

/* Add a subtle indicator for active/current section */
.nav-item.active {
    background: transparent;
    color: var(--pink);
    border-color: transparent;
    box-shadow: none;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--pink);
    border-radius: 0 2px 2px 0;
}

/* Add category grouping with subtle separators */
.nav-category {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(88, 183, 160, 0.1);
}

.nav-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.nav-category-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-left: 4px;
}

/* Enhanced scrollbar styling */
.nav-scroll::-webkit-scrollbar {
    width: 6px;
}

.nav-scroll::-webkit-scrollbar-track {
    background: rgba(88, 183, 160, 0.05);
    border-radius: 3px;
}

.nav-scroll::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 3px;
}

.nav-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

/* Ice Cream Group */
.ice-cream-group {
    position: relative;
    margin: 40px -20% 60px -20%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--pale-green), var(--white));
    background-image: url('assets/green-blob.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 500px;
    overflow: visible;
    transform: scale(1.3);
    z-index: 2;
    width: 140%;
    border-radius: 30px;
    box-shadow: 0 12px 40px rgba(88, 183, 160, 0.1);
}

.ice-cream-group img {
    width: 700px;
    height: auto;
    position: relative;
    z-index: 2;
    margin-right: 0;
    filter: drop-shadow(8px 8px 16px rgba(88, 183, 160, 0.2));
    max-width: 140%;
    transform: translateX(10%);
    transition: transform 0.3s ease;
}

.ice-cream-group:hover img {
    /* No transform change on hover */
}

/* Category Headers */
.category-header {
    background: var(--teal);
    color: var(--white);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(88, 183, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.category-header:hover::before {
    left: 100%;
}

.category-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.category-header i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        flex-direction: column;
        padding: 15px;
    }

    .column {
        width: 100%;
    }

    .logo {
        position: relative;
        text-align: center;
        margin-bottom: 0;
    }

    .ice-cream-group {
        min-height: 400px;
        padding: 30px 0;
        transform: scale(1);
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .ice-cream-group img {
        width: 350px;
        transform: none;
    }

    .menu-items {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }

    .container {
        padding: 15px;
        padding-bottom: 100px;
        min-height: calc(100vh - 60px);
    }

    .menu-section {
        margin-bottom: 40px;
        overflow: visible;
        padding: 20px;
    }

    .menu-items {
        grid-template-columns: 1fr;
        padding: 0.5rem;
        margin-bottom: 20px;
    }

    .menu-item {
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .item-image {
        width: 120px;
        height: 120px;
    }

    .item-details {
        padding: 1rem;
    }

    .menu-section:last-child {
        margin-bottom: 80px;
    }

    .menu-nav {
        width: 100%;
    }

    .nav-scroll {
        max-height: 60vh;
        overflow-y: auto;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .container {
        padding-bottom: 120px;
    }

    .menu-section {
        margin-bottom: 30px;
        padding: 15px;
    }

    .menu-items {
        gap: 1rem;
    }

    .menu-item {
        margin-bottom: 1rem;
        padding: 12px;
    }

    .left-column {
        overflow: visible;
        padding-bottom: 60px;
    }

    .item-image {
        width: 100px;
        height: 100px;
    }

    .item-details h3 {
        font-size: 1rem;
    }

    .item-details .description {
        font-size: 0.85rem;
    }
} 