:root {
    /* Color Palette */
    --bg-main: #fbfbfe;
    --text-main: #1e1e24;
    --text-muted: #5e5e70;
    
    /* Sangerhausen Rose inspired & Rainbow */
    --rose-dark: #c9184a;
    --rose-light: #ff4d6d;
    --rainbow-grad: linear-gradient(135deg, #FF0018, #FFA52C, #FFFF41, #008018, #0000F9, #86007D);
    --rose-grad: linear-gradient(135deg, var(--rose-light), var(--rose-dark));
    
    /* UI Constants */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
    line-height: 1.6;
}

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

section {
    padding: 100px 0;
    position: relative;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.highlight {
    background: var(--rainbow-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: var(--rose-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--rose-grad);
    color: white;
    box-shadow: 0 4px 15px rgba(201, 24, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 24, 74, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(251, 251, 254, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 5%;
    box-shadow: var(--glass-shadow);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rose-grad);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: zoomOut 20s ease-out forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(251, 251, 254, 0.4) 0%, rgba(251, 251, 254, 0.95) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 10;
}

.date-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    color: var(--rose-dark);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.motto {
    font-size: clamp(3.5rem, 8vw, 6rem);
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--rose-dark);
    animation: bounce 2s infinite;
}

/* About Section */
.about {
    background: var(--bg-main);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.glass-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--glass-shadow);
    border: 1px solid rgba(0,0,0,0.02);
    text-align: center;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Concept Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--rose-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(255, 77, 109, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon {
    font-size: 2rem;
}

/* News Section */
.news {
    background: rgba(255, 77, 109, 0.03);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Subtle placeholders for news images */
.news-bg-1 {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
}
.news-bg-2 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
}

.news-content {
    padding: 2rem;
    flex-grow: 1;
}

.news-date {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--rose-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: #1e1e24;
    color: #ffffff;
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    color: #ffffff;
}

.footer-logo .highlight {
    -webkit-text-fill-color: transparent;
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
}

/* Animations & Mobile */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

@keyframes zoomOut {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 80px;
        height: calc(100vh - 80px);
        min-height: auto;
    }

    .hero-content {
        margin-top: 20vh;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(251, 251, 254, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Legal Pages */
.legal-page {
    padding-top: 120px;
    padding-bottom: 60px;
    background: var(--bg-main);
    min-height: calc(100vh - 300px);
}

.legal-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    margin-top: 2rem;
}

.legal-content h2, .legal-content h3 {
    margin-top: 2rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}

.cookie-banner.hidden {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}

.cookie-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.cookie-content a {
    color: var(--rose-dark);
    text-decoration: underline;
}

@media (min-width: 768px) {
    .cookie-banner {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    .cookie-banner.hidden {
        transform: translate(-50%, 150%);
    }
}
