@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary-color: #FF6B35; /* Vibrant Orange */
    --secondary-color: #F7C59F; /* Soft Peach */
    --accent-color: #E24E1B; /* Deep Red/Orange */
    --dark-bg: #2B193D; /* Deep Night Purple */
    --light-bg: #FFF8F0; /* Warm Off-White */
    --text-dark: #332211;
    --text-light: #FDFDFD;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(43, 25, 61, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header - Slim & Non-Sticky */
header {
    background-color: var(--light-bg);
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(43, 25, 61, 0.1);
    position: relative; /* Non-sticky */
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-bg);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-cta {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
}

.btn-cta:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-bg);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(43,25,61,0.3), rgba(43,25,61,0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Main Content Wrapper */
main {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

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

/* Grid Layouts */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* Cards */
.card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(43, 25, 61, 0.15);
}

.card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-action {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.card-action:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Detail Pages */
.detail-header {
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 3rem 5%;
}

.detail-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(43,25,61,0.9), transparent);
}

.detail-title {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    font-size: 3rem;
}

.detail-content {
    background: #fff;
    padding: 4rem 5%;
    border-radius: var(--border-radius);
    margin-top: -50px;
    position: relative;
    z-index: 2;
    box-shadow: var(--box-shadow);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5rem;
}

.detail-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.detail-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.official-link-btn {
    display: inline-block;
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 4px;
    margin-top: 2rem;
    font-weight: 700;
}
.official-link-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Contact Form */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}
.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    width: 100%;
}
.submit-btn:hover {
    background: var(--accent-color);
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.legal-container h1 { color: var(--accent-color); }
.legal-container h2 { margin-top: 2rem; font-size: 1.5rem; }
.legal-container p { margin-bottom: 1rem; }

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--secondary-color);
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--secondary-color);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 1.5rem 5%;
    display: none; /* Controlled by JS */
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}
.cookie-text {
    max-width: 70%;
}
.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}
.cookie-actions {
    display: flex;
    gap: 1rem;
}
.cookie-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-accept {
    background-color: var(--primary-color);
    color: white;
}
.cookie-pref {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--light-bg);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        z-index: 100;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .hero-content h1 { font-size: 2.2rem; }
    #cookie-banner { flex-direction: column; text-align: center; gap: 1rem; }
    .cookie-text { max-width: 100%; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .section-title { font-size: 2rem; }
    .detail-title { font-size: 2rem; }
    .detail-content { padding: 2rem 5%; }
}