/* Palm Beach Aesthetic Variables */
:root {
    --color-pink: #FFC1CC;
    --color-pink-light: #ffe4e9;
    --color-mint: #98FF98;
    --color-mint-dark: #76c476;
    --color-gold: #D4AF37;
    --color-white: #FFFFFF;
    --color-text-dark: #333333;
    --color-text-light: #666666;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--color-gold);
}

.btn:hover {
    background-color: transparent;
    color: var(--color-gold);
    transform: translateY(-3px);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: 900;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.nav-links a:hover {
    color: var(--color-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* About Section */
.about {
    background-color: var(--color-pink-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

/* Menu Section */
.menu-category {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.menu-category h3 {
    font-size: 2rem;
    color: var(--color-gold);
    display: inline-block;
    border-bottom: 2px solid var(--color-pink-light);
    padding-bottom: 0.5rem;
}

/* Carousel Styles */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Adjust Menu Card for Carousel */
.menu-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-pink-light);
    width: 300px;
    /* Fixed width for carousel items */
    flex-shrink: 0;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper {
    height: 200px;
    /* Slightly smaller for carousel */
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    text-align: center;
}

.card-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
    /* Fixed height for alignment */
}

.card-content .price {
    display: inline-block;
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.2rem;
    font-weight: bold;
    border-top: 1px solid var(--color-pink-light);
    padding-top: 0.5rem;
    width: 80%;
}

/* Reviews Section */
.reviews {
    background-color: var(--color-pink-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    margin-top: 3rem;
    /* Space for the image popping out */
}

.review-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: -4rem auto 1.5rem;
    /* Pull image up */
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow-soft);
}

.review-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content p {
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.review-content h5 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--color-text-dark);
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content h2 {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* Simple mobile hide for now */
    }
}