:root {
    --primary-color: #2e7d32; /* Tmavě zelená pro důvěryhodnost */
    --secondary-color: #a5d6a7; /* Světlejší zelená pro svěžest */
    --accent-color: #4caf50; /* Zářivější zelená pro akce */
    --background-color: #f0f4f8; /* Světle šedá pro čistotu */
    --text-color: #333333;
    --light-text-color: #ffffff;
    --footer-bg-color: #1b5e20; /* Tmavá zelená pro sytost */

    --section-bg-1: #ffffff;
    --section-bg-2: #e8f5e9;
    --section-bg-3: #ffffff;
    --section-bg-4: #f0f4f8;
    --section-bg-5: #e8f5e9;

    --font-family-heading: 'Poppins', sans-serif;
    --font-family-body: 'Open Sans', sans-serif;

    --border-radius-base: 12px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 96px;

    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Poppins:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--primary-color);
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: 600;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

ul li {
    margin-bottom: 0.5em;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.section:nth-of-type(1) { background-color: var(--section-bg-1); }
.section:nth-of-type(2) { background-color: var(--section-bg-2); }
.section:nth-of-type(3) { background-color: var(--section-bg-3); }
.section:nth-of-type(4) { background-color: var(--section-bg-4); }
.section:nth-of-type(5) { background-color: var(--section-bg-5); }
.section:nth-of-type(6) { background-color: var(--section-bg-1); } /* Fallback for more sections */


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-base);
    font-family: var(--font-family-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: var(--spacing-xs);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-base);
    font-family: var(--font-family-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Cards */
.card {
    background-color: var(--section-bg-1);
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light);
    padding: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-header {
    font-family: var(--font-family-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.card-body {
    flex-grow: 1;
}

/* Utility classes (complementing Tailwind) */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-accent { background-color: var(--accent-color); }
.bg-background { background-color: var(--background-color); }

.rounded-lg { border-radius: var(--border-radius-base); }
.shadow-md { box-shadow: var(--shadow-light); }
.shadow-lg { box-shadow: var(--shadow-medium); }

/* Header & Footer */
.header {
    background-color: var(--section-bg-1);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-family-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-md);
}

.nav a {
    font-family: var(--font-family-heading);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-color);
    padding: 5px 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.footer {
    background-color: var(--footer-bg-color);
    color: var(--light-text-color);
    padding: var(--spacing-lg) 0;
    font-size: 0.9rem;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer a:hover {
    color: var(--light-text-color);
    text-decoration: underline;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.footer-section h4 {
    color: var(--light-text-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Alpine.js Transitions (example) */
[x-cloak] { display: none !important; }

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
    transition: all 0.4s ease-out;
}
.slide-up-enter-from, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Hero Section Specifics */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text-color);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--light-text-color);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.hero .btn-primary {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1.1rem;
    border-radius: 50px; /* Pill shape for a modern, friendly feel */
    background-color: var(--accent-color);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    background-color: #66bb6a; /* Slightly lighter accent */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.6rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .nav ul { gap: var(--spacing-sm); }
}

@media (max-width: 768px) {
    .section { padding: var(--spacing-md) 0; }
    .hero { padding: var(--spacing-lg) 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .header-content { flex-direction: column; text-align: center; }
    .nav { margin-top: var(--spacing-sm); }
    .nav ul { flex-direction: column; gap: var(--spacing-xs); align-items: center; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-section ul { padding: 0; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    .hero h1 { font-size: 2rem; }
    .btn { padding: var(--spacing-xs) var(--spacing-sm); font-size: 0.9rem; }
    .container { padding-left: var(--spacing-xs); padding-right: var(--spacing-xs); }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}