:root {
    --primary-color: #900540; /* Dark pink from logo */
    --primary-dark: #68032e;
    --accent-color: #D4AF37; /* Gold for premium touches */
    --secondary-color: #f8f9fa; /* Light grey */
    --text-color: #333;
    --light-text-color: #fff;
    --header-font: 'Playfair Display', serif;
    --body-font: 'Roboto', sans-serif;
    --card-shadow: 0 10px 20px rgba(0,0,0,0.1);
    --card-hover-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fdfdfd;
    line-height: 1.6;
}

main {
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .display-4, .section-title {
    font-family: var(--header-font);
    font-weight: 700;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Navbar Brand */
.navbar-brand img {
    height: 60px; /* Slightly larger logo */
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Fun Slideshow (now in Hero Section) */
.logo-slideshow-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.logo-slideshow-img.active {
    opacity: 1;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background-color: #d3d3d3; /* Light grey bar as requested */
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(0,0,0,0.1)); /* Subtler light overlay */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect where supported */
    color: var(--text-color); /* Dark text for light background */
    padding: 8.5rem 0 4rem 0; /* Increased bottom padding to force taller height */
    position: relative;
    text-align: center;
    overflow: hidden;
    /* Removed flex centering to ensure consistent text start position */
    min-height: 35vh; /* Increased min-height to match Speiseplan look */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(0,0,0,0.1));
    z-index: 1;
    pointer-events: none; /* Allow clicks to pass through */
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    /* Removed text-shadow for cleaner look on light bg */
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 12px 35px;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(144, 5, 64, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(144, 5, 64, 0.6);
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
}

.btn-outline-light {
    border-radius: 50px;
    padding: 12px 35px;
    border-width: 2px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards & Sections */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.menu-card .card-header, .offer-card .card-header {
    background-color: var(--primary-color);
    color: white;
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem; /* Increased size */
    padding: 0.5rem 1.25rem;
    letter-spacing: 1px;
}

.card-title {
    font-family: var(--header-font);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.menu-card .card-footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    font-weight: bold;
    color: var(--primary-color);
}

.price-label {
    color: #666;
    font-weight: normal;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #222;
    color: #aaa;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

footer h5 {
    color: var(--light-text-color);
    margin-bottom: 1.5rem;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-color);
}

footer hr {
    border-color: #444;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utility */
.bg-light-grey {
    background-color: #f9f9f9;
}

.text-accent {
    color: var(--accent-color);
}

.bg-healthy-pink {
    background-color: #fff0f3 !important; /* Healthy light pink */
}

.bg-healthy-pink-dark {
    background-color: #ffdbdf !important; /* Slightly darker healthy pink */
}

.bg-partyservice-pink {
    background-color: #f4abbb !important; /* A darker, meatier pink for emphasis */
}

.partyservice-img {
    width: 295px;
    position: absolute;
    bottom: 45px; /* Centered vertically in the 300px spacer (150 - 105 = 45) */
    left: 50%;
    transform: translateX(-50%) scale(1);
    z-index: 10;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.5s ease;
    pointer-events: none; /* Only trigger hover when over the card itself */
}

/* Slideshow Styles */
.slideshow-container {
    width: 100%;
    overflow: hidden;
}

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

/* Image 1: Static Base Layer */
.slideshow-img:nth-child(1) {
    z-index: 1;
    opacity: 1;
}

/* Image 2: Fades in at 4s */
.slideshow-img:nth-child(2) {
    z-index: 2;
    opacity: 0;
    animation: cycle2 12s infinite;
}

/* Image 3: Fades in at 8s */
.slideshow-img:nth-child(3) {
    z-index: 3;
    opacity: 0;
    animation: cycle3 12s infinite;
}

@keyframes cycle2 {
    0% { opacity: 0; }
    20% { opacity: 0; }
    35% { opacity: 1; } /* Smooth fade in (approx 1.8s) */
    65% { opacity: 1; }
    80% { opacity: 0; } /* Gentle fade out */
    100% { opacity: 0; }
}

@keyframes cycle3 {
    0% { opacity: 0; }
    53% { opacity: 0; }
    68% { opacity: 1; } /* Smooth fade in (approx 1.8s) */
    85% { opacity: 1; }
    100% { opacity: 0; } /* Gentle fade out to reveal Img 1 */
}

.feature-card-link:hover .partyservice-img {
    transform: translateX(-50%) scale(2.4); /* Enlarges significantly on hover */
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.5));
    z-index: 1000; /* Extremely high z-index on hover to stay in front */
}

/* Ensure the middle column itself comes to the front on hover */
.col-partyservice {
    transition: z-index 0s;
    z-index: 1;
}

.col-partyservice:hover {
    z-index: 100;
    position: relative;
}

.feature-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
