:root {
    --carnival-red: #e3000f;
    --rhine-blue: #00529f;
    --paper-white: #fdfdfd;
    --slate-grey: #2c3e50;
    --font-heading: 'Lobster', cursive;
    --font-body: 'Poppins', sans-serif;
    --radius-soft: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: #f0f4f8;
    color: var(--slate-grey);
    line-height: 1.6;
}

.site-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: var(--paper-white);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    box-shadow: 2px 0 15px rgba(0,0,0,0.05);
    z-index: 100;
}

.logo-area {
    text-align: center;
    margin-bottom: 40px;
}

.logo-area .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.logo-area h2 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--rhine-blue);
    line-height: 1;
}

.logo-area span {
    color: var(--carnival-red);
}

.nav-list {
    list-style: none;
    flex-grow: 1;
}

.nav-list li {
    margin-bottom: 15px;
}

.nav-list a {
    text-decoration: none;
    color: var(--slate-grey);
    font-weight: 600;
    display: block;
    padding: 10px 15px;
    border-radius: var(--radius-soft);
    transition: 0.3s;
}

.nav-list a:hover, .nav-list a.active {
    background-color: #eef2f7;
    color: var(--rhine-blue);
    padding-left: 20px;
}

.btn-carnival {
    background: linear-gradient(45deg, var(--carnival-red), #ff4b59);
    color: #fff !important;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(227, 0, 15, 0.3);
}

.btn-carnival:hover {
    transform: scale(1.05);
}

.sidebar-note {
    font-size: 0.8rem;
    text-align: center;
    color: #888;
    margin-top: auto;
    border-top: 2px dashed #ddd;
    padding-top: 20px;
}

/* Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    background-color: #f0f4f8;
}

.hero-section {
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: var(--radius-soft);
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-overlay h1 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 3rem;
    color: var(--rhine-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-overlay p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-badges span {
    display: inline-block;
    background-color: var(--paper-white);
    border: 2px solid var(--carnival-red);
    color: var(--carnival-red);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin: 5px;
    font-size: 0.9rem;
}

.content-block, .cards-section, .info-grid, .reviews-masonry, .contact-layout, .legal-box {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.intro {
    text-align: center;
    max-width: 800px;
}

.intro h2, .content-header h1 {
    font-family: var(--font-body);
    font-weight: 800;
    color: var(--rhine-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Cards */
.cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--paper-white);
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    margin-bottom: 10px;
    color: var(--slate-grey);
}

.card-body a {
    color: var(--carnival-red);
    font-weight: bold;
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
}

/* About Grid */
.content-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    background: var(--paper-white);
    border-radius: var(--radius-soft);
    overflow: hidden;
}

.info-item.swap {
    flex-direction: row-reverse;
}

.info-item img {
    width: 50%;
    height: 350px;
    object-fit: cover;
}

.info-text {
    padding: 40px;
    width: 50%;
}

.info-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--carnival-red);
}

/* Testimonials */
.reviews-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-bubble {
    background: var(--paper-white);
    padding: 30px;
    border-radius: var(--radius-soft);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.review-bubble.highlight {
    background-color: var(--rhine-blue);
    color: #fff;
}

.review-bubble.highlight .user-pic {
    background-color: #fff;
    color: var(--rhine-blue);
}

.user-pic {
    width: 50px;
    height: 50px;
    background-color: var(--carnival-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    top: -25px;
    left: 20px;
}

.review-bubble blockquote {
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-bubble cite {
    font-weight: bold;
    font-size: 0.9rem;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--paper-white);
    padding: 60px;
    border-radius: var(--radius-soft);
    margin: 60px 40px;
}

.contact-intro h2 {
    font-family: var(--font-body);
    font-weight: 800;
    color: var(--rhine-blue);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
    font-size: 1.1rem;
}

.funky-form .form-group {
    margin-bottom: 20px;
}

.funky-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--slate-grey);
}

.funky-form input, .funky-form select, .funky-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: var(--font-body);
    transition: 0.3s;
}

.funky-form input:focus, .funky-form textarea:focus {
    border-color: var(--rhine-blue);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--rhine-blue);
    color: #fff;
    border: none;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background-color: #003d75;
}

/* Legal */
.legal-box {
    background: var(--paper-white);
    border-radius: var(--radius-soft);
    padding: 60px;
}

.wave-line {
    border: none;
    height: 5px;
    background: repeating-linear-gradient(90deg, var(--carnival-red), var(--carnival-red) 10px, var(--paper-white) 10px, var(--paper-white) 20px);
    margin: 20px 0 40px;
}

@media (max-width: 900px) {
    .site-container { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: relative; padding: 20px; flex-direction: row; justify-content: space-between; align-items: center; }
    .logo-area { margin-bottom: 0; display: flex; align-items: center; gap: 10px; text-align: left; }
    .nav-list, .sidebar-note { display: none; }
    .main-content { margin-left: 0; }
    .contact-layout { grid-template-columns: 1fr; margin: 20px; padding: 30px; }
    .info-item, .info-item.swap { flex-direction: column; }
    .info-item img, .info-text { width: 100%; }
}