/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f3f3f3;
    position: relative;
    overflow-x: hidden;
}

/* Menu page overflow control */
.menu-page {
    overflow-x: hidden; /* Prevent horizontal scrolling */
    background-color: white; /* White background for menu page */
}

/* Navigation styles */
.navbar {
    background-color: #f3f3f3;
    padding: 1rem 0;
    position: static;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Ticker bar styles */
.ticker-bar {
    background-color: #000;
    padding: 0.5rem 0;
    position: static;
    width: 100%;
    z-index: 999;
    overflow: hidden;
}

.bottom-ticker {
    position: static;
    top: auto;
    z-index: auto;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    white-space: nowrap;
    animation: scroll 60s linear infinite;
    width: max-content;
}

.ticker-bar:hover .ticker-content {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.separator {
    color: #666;
    font-weight: bold;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    gap: 2rem;
}

.logo-link {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.logo-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #333;
    transition: width 0.3s ease;
}

.logo-link:hover::after {
    width: 100%;
}

.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo-link {
    display: inline-block;
    text-decoration: none;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.1);
}

.nav-story {
    display: flex;
}

.story-link {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.story-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #333;
    transition: width 0.3s ease;
}

.story-link:hover::after {
    width: 100%;
}


/* Main content */
main {
    margin-top: 0;
    padding: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Hero image styles */
.hero-image {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Offer section styles */
.offer-section {
    padding: 4rem 0;
    background-color: #f3f3f3;
}

.offer-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.offer-images {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0 20%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.offer-item {
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-img-container {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.offer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.offer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.offer-heading {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    padding: 1rem;
    letter-spacing: 0.5px;
    background-color: #f3f3f3;
    border-radius: 0 0 8px 8px;
}

/* Hide Home link on desktop where Felix logo is visible */
.home-link {
    display: none;
}

/* Responsive design - Mobile first approach */
@media screen and (max-width: 768px) {
    .nav-center {
        display: none;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-logo {
        gap: 2rem;
    }
    
    .logo-link {
        font-size: 1rem;
    }
    
    /* Show Home link on mobile where Felix logo is hidden */
    .home-link {
        display: inline;
    }
    
    .story-link {
        font-size: 1rem;
    }
    
    .ticker-content {
        font-size: 0.8rem;
        gap: 1rem;
        animation: scroll 60s linear infinite;
    }
    
    /* No positional offset needed when bar is in normal flow */
    
    main {
        margin-top: 0;
    }
    
    .hero-image {
        height: 50vh;
    }
    
    .offer-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .offer-images {
        flex-direction: row;
        gap: 1rem;
        margin: 0 5%;
    }
    
    .offer-item {
        max-width: 100%;
        aspect-ratio: 1;
    }
    
    .offer-heading {
        font-size: 1rem;
        margin-top: 0.8rem;
    }
    
    .testimonials-container {
        padding: 0 10vw;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        width: 80vw;
        min-width: 280px;
        aspect-ratio: 4/5;
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .fade-left, .fade-right {
        width: 10vw;
    }
}

/* Testimonials section styles */
.testimonials-section {
    padding: 4rem 0;
    background-color: #f3f3f3;
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    gap: 2rem;
    animation: scrollTestimonials 30s linear infinite;
    width: max-content;
    padding: 0 25vw;
    transform: translateX(0);
}

.testimonial-card {
    width: 25vw;
    min-width: 300px;
    aspect-ratio: 3/4;
    background-color: white;
    border-radius: 12px;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.1),
        inset 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 35px rgba(0,0,0,0.15),
        inset 0 1px 3px rgba(0,0,0,0.08);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: left;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.testimonial-text::before {
    content: '❝';
    font-size: 4rem;
    color: #8FA9C0;
    position: absolute;
    top: -2rem;
    left: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.fade-left, .fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25vw;
    pointer-events: none;
    z-index: 10;
}

.fade-left {
    left: 0;
    background: linear-gradient(to right, #f3f3f3, transparent);
}

.fade-right {
    right: 0;
    background: linear-gradient(to left, #f3f3f3, transparent);
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Second testimonials row with offset */
.testimonials-section-2 {
    margin-top: -3rem;
}

.testimonials-offset {
    animation: scrollTestimonialsReverse 30s linear infinite;
}

@keyframes scrollTestimonialsReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Instagram section styles */
.instagram-section {
    padding: 3rem 0;
    background-color: #f3f3f3;
    text-align: center;
}

.instagram-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #333;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.instagram-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.instagram-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.instagram-link:hover .instagram-icon {
    transform: rotate(15deg) scale(1.1);
}

.instagram-text {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

/* Story page styles */
.story-title-section {
    background-color: #f3f3f3;
    padding: 4rem 2rem 0 2rem;
    position: relative;
}

.story-main-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.story-hero-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: visible;
    position: relative;
    z-index: 2;
}

.story-hero-img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Behind-the-hero reveal image */
.story-reveal-container {
    position: absolute;
    right: 2rem;
    bottom: 0;
    width: min(40vw, 520px);
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
    opacity: 0; /* hidden before reveal */
    transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-reveal-container.revealed {
    transform: translateY(var(--reveal-offset, 12vh));
    opacity: 1; /* visible in offset state */
}

.story-reveal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.story-content {
    padding: 6rem 0;
    /* add top spacing equal to reveal offset to avoid overlap when revealed */
    margin-top: var(--story-reveal-offset, 0);
    background-color: #f3f3f3;
}

.story-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    text-align: left;
}

.story-text h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #333;
    margin: 3rem 0 1.5rem 0;
    letter-spacing: 0.5px;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    text-align: left;
}


/* Responsive design for story page */
@media screen and (max-width: 768px) {
    .story-title-section {
        padding: 2rem 1rem 0 1rem;
    }
    
    .story-main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .story-hero-img {
        height: 50vh;
    }

    .story-reveal-container {
        right: 1rem;
        bottom: 0;
        width: 60vw;
    }
    
    .story-text h2 {
        font-size: 2rem;
    }
    
    .story-text h3 {
        font-size: 1.5rem;
    }
    
    .story-text p {
        font-size: 1rem;
        text-align: left;
    }
    /* Hide reveal image on mobile/tablet */
    .story-reveal-container {
        display: none;
    }

    /* No additional spacing on mobile since reveal is hidden */
    .story-content {
        margin-top: 0;
    }
}

/* Location page styles */
.location-hero {
    background: linear-gradient(135deg, #f3f3f3 0%, #e8e8e8 100%);
    background-image: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 4rem 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.location-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(243, 243, 243, 0.85);
    z-index: 1;
}

.location-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Phone Container - Primary Visual Hierarchy */
.phone-container {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-screen {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        inset 0 2px 4px rgba(255,255,255,0.1);
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.phone-screen:hover {
    transform: rotateY(-10deg) rotateX(2deg);
}

.felix-phone-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #87CEEB, #98FB98);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Felix Character - Using lost.png image */
.felix-character {
    position: relative;
    z-index: 3;
    animation: felixBounce 2s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.felix-image {
    width: 120px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Maps Elements */
.maps-elements {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.map-pin {
    width: 20px;
    height: 20px;
    background: #FF0000;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    animation: pinPulse 2s ease-in-out infinite;
}

.map-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.navigation-lines {
    position: absolute;
    top: 30px;
    right: 10px;
}

.nav-line {
    width: 30px;
    height: 2px;
    background: #000;
    margin: 3px 0;
    border-radius: 1px;
    animation: navLineMove 2s ease-in-out infinite;
}

.nav-line:nth-child(2) {
    animation-delay: 0.3s;
}

.nav-line:nth-child(3) {
    animation-delay: 0.6s;
}

/* Address Section - Secondary Visual Hierarchy */
.address-section {
    text-align: center;
}

.address-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.address-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.address-number {
    font-size: 4rem;
    font-weight: 700;
    color: #8FA9C0;
    line-height: 1;
}

.address-street {
    font-size: 2rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 2px;
}

.address-suburb {
    font-size: 1.5rem;
    font-weight: 400;
    color: #666;
    letter-spacing: 1px;
}

/* Maps Link Section - Tertiary Visual Hierarchy */
.maps-link-section {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.maps-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #333;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: linear-gradient(45deg, #4285F4, #34A853);
    color: white;
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.maps-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.maps-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.maps-link:hover .maps-icon {
    transform: scale(1.1);
}

.maps-text {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

/* Animations */
@keyframes felixBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes armWave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

@keyframes pinPulse {
    0%, 100% { transform: rotate(-45deg) scale(1); }
    50% { transform: rotate(-45deg) scale(1.1); }
}

@keyframes navLineMove {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

/* Responsive design for location page */
@media screen and (max-width: 768px) {
    .location-hero {
        padding: 2rem 1rem;
        min-height: 70vh;
    }
    
    .location-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .phone-screen {
        width: 250px;
        height: 500px;
        transform: rotateY(-5deg) rotateX(2deg);
    }
    
    .felix-image {
        width: 80px;
        height: auto;
    }
    
    .address-title {
        font-size: 2rem;
    }
    
    .address-number {
        font-size: 3rem;
    }
    
    .address-street {
        font-size: 1.5rem;
    }
    
    .address-suburb {
        font-size: 1.2rem;
    }
    
    .maps-link {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Menu page styles */
    .page-title-container {
        display: none; /* Hide the separate title section */
    }

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;
    text-align: left;
    margin: 0;
}

.semi-circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full viewport height */
    padding: 0;
    position: relative;
    overflow: hidden; /* Prevent horizontal scrolling */
}

.semi-circle {
    width: 80vw; /* Larger circle for desktop */
    max-width: 800px; /* Larger maximum size */
    min-width: 300px; /* Minimum size to ensure visibility */
    aspect-ratio: 1 / 1; /* Makes it a perfect circle */
    background: #1a1a1a; /* Vintage black color */
    border-radius: 50%; /* Creates perfect circle shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: absolute;
    right: -40vw; /* Show more of the circle (40vw visible, 40vw off-screen) */
    top: 50%;
    transform: translateY(-50%); /* Center vertically */
}

.semi-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><filter id="noiseFilter"><feTurbulence baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter></defs><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.4"/></svg>'),
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
    opacity: 0.6;
    border-radius: 50%;
    mix-blend-mode: overlay;
    z-index: 0; /* Behind images */
}

/* Menu page specific circle styles */
.menu-page .semi-circle {
    cursor: pointer;
    overflow: visible; /* Allow images to extend outside circle */
}

/* Menu page image containers positioning */
.menu-page .image-container {
    position: absolute;
    width: 40%; /* Size of images relative to circle */
    height: 40%;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    z-index: 1;
    transform-origin: center;
}

/* Hero image - larger size */
.menu-page .hero-image {
    width: 50%; /* Larger than other images */
    height: 50%;
}

/* Top and bottom images - smaller size */
.menu-page .top-image,
.menu-page .bottom-image {
    width: 35%; /* Smaller than hero image */
    height: 35%;
}

.menu-page .menu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
    filter: brightness(1) saturate(1);
}

/* Menu page hero image - center-left, half on/half off */
.menu-page .hero-image {
    left: -20% !important; /* Less off the left edge to prevent horizontal scroll */
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 3 !important; /* Highest priority */
}

/* Menu page top image - center-top, half on/half off */
.menu-page .top-image {
    left: 50% !important;
    top: -20% !important; /* Less off the top edge */
    transform: translateX(-50%) !important;
    z-index: 2 !important;
}

/* Menu page bottom image - center-bottom, half on/half off */
.menu-page .bottom-image {
    left: 50% !important;
    bottom: -17.5% !important; /* Half the image (35%/2 = 17.5%) off the bottom edge */
    transform: translateX(-50%) translateY(25%) !important; /* Less vertical translation for better positioning */
    z-index: 1 !important;
}

/* Menu page animation states for smooth transitions */
.menu-page .image-container.rotating {
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.05);
}

.menu-page .image-container.rotating .menu-image {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.2);
}

/* Hero image special effects during rotation */
.menu-page .hero-image.rotating {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Top image special effects during rotation */
.menu-page .top-image.rotating {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Bottom image special effects during rotation */
.menu-page .bottom-image.rotating {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Menu page hover effects for better UX */
.menu-page .semi-circle:hover .image-container {
    transform: scale(1.05);
}

.menu-page .semi-circle:hover .hero-image {
    transform: translateY(-50%) scale(1.05);
}

.menu-page .semi-circle:hover .top-image {
    transform: translateX(-50%) scale(1.05);
}

.menu-page .semi-circle:hover .bottom-image {
    transform: translateX(-50%) scale(1.05);
}

/* Menu page active state for click feedback */
.menu-page .semi-circle:active {
    transform: translateY(-50%) scale(0.98);
}

/* Product Information Display */
.product-info-container {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60vw;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: clamp(1rem, 2vw, 3rem);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid #8FA9C0;
    margin-top: 50px; /* Offset for the title above */
}

.product-info-container::before {
    content: "Familiar Favorites";
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;
    text-align: left;
    position: absolute;
    top: -140px;
    left: 0;
    width: 100%;
    line-height: 1.1;
}

.product-info {
    text-align: left;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 2.5rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.product-description {
    font-size: clamp(0.8rem, 1.5vw, 1.3rem);
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.product-price {
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 700;
    color: #8FA9C0;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(45deg, #8FA9C0, #6B8E9F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.option {
    background: #8FA9C0;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.option:hover {
    background: #6B8E9F;
    transform: translateY(-2px);
}

/* Responsive design for menu page */

/* Tablet/Medium screens - account for images extending beyond wheel */
@media screen and (max-width: 1200px) and (min-width: 769px) {
    .semi-circle {
        width: 60vw; /* Smaller circle but still maintain half visibility */
        max-width: 600px;
        right: -30vw; /* Exactly half the circle's width off the right edge */
    }
    
    .product-info-container {
        width: 50vw; /* Smaller text box to prevent image overlap */
        padding: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .semi-circle-container {
        min-height: calc(100vh - 120px); /* Adjust for smaller mobile nav and title */
    }
    
    .semi-circle {
        width: 60vw; /* Maintain half visibility on mobile */
        min-width: 300px; /* Ensure visibility */
        right: -30vw; /* Exactly half the circle's width off the right edge */
    }
    
    .product-info-container {
        left: 1rem;
        right: 1rem;
        width: 45vw; /* Smaller text box for more space */
        max-width: none;
        padding: 1.5rem;
        min-height: 50vh; /* Grow vertically on smaller screens */
        margin-top: 100px; /* Extra space for title when it wraps on mobile */
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 1.8rem;
    }
    
    .option {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
}
