:root {
    --primary-color: #1b4332;
    --primary-light: #2d6a4f;
    --secondary-color: #d4af37;
    --accent-color: #74c69d;
    --background-color: #fcfaf7;
    --text-color: #2b2d42;
    --muted-color: #6c757d;
    --white: #ffffff;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
    --border-radius: 16px;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Header & Nav */
.header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
    z-index: 1000;
}

.brand-text {
    font-family: var(--heading-font);
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.3s;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .active > .nav-link {
    color: var(--primary-color);
    background: rgba(27, 67, 50, 0.05);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
}

.main-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c5a028;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline-light:hover {
    color: var(--primary-color);
    background: white;
}

/* Content Cards */
.content-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.card {
    border: none;
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-title {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Loppis Grid (Standard for components) */
.item-page {
    padding: 1rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.8);
}

.footer h4, .footer h5 {
    color: var(--white);
}

.footer-title {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

/* Plugin Form Modernization */
#loppis-reg-form {
    border: none !important;
    padding: 3rem !important;
    background: #f8f9fa !important;
}

#loppis-reg-form h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

#loppis-reg-form .form-control {
    border: 1px solid #e0e0e0;
    background: white;
    padding: 1rem;
    border-radius: 12px;
}

#loppis-reg-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
