/* Modern Styles for ZKO Klabava Website */

:root {
    --primary-color: #d97706;
    --primary-dark: #b45309;
    --secondary-color: #059669;
    --accent-color: #dc2626;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Modern Navigation */
.modern-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-text {
    transform: scale(1.05);
}

.logo-img {
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover .logo-img {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.modern-navbar .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-navbar .nav-link:hover,
.modern-navbar .nav-item.active .nav-link {
    color: var(--primary-color) !important;
    background-color: rgba(217, 119, 6, 0.1);
}

.modern-navbar .nav-link i {
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.85) 0%, rgba(5, 150, 105, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modern-btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.modern-btn-outline {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.modern-btn-outline:hover {
    background-color: white;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Activities Section */
.activities-section {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.activity-card-link {
    text-decoration: none;
    color: inherit;
}

.activity-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.activity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.activity-card:hover .activity-icon {
    transform: rotate(5deg) scale(1.1);
}

.activity-icon i {
    font-size: 2.5rem;
    color: white;
}

.activity-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.activity-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.card-arrow {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.activity-card:hover .card-arrow {
    transform: translateX(10px);
}

.card-arrow i {
    font-size: 1.25rem;
}

/* Info Section */
.info-section {
    background-color: var(--bg-white);
}

.info-image-wrapper {
    position: relative;
}

.info-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0.5rem;
    z-index: -1;
}

.feature-box {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-box i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.feature-box h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-box p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Location Section */
.location-section {
    background: var(--bg-light);
}

.map-container {
    box-shadow: var(--shadow-lg);
    border-radius: 1rem;
    overflow: hidden;
}

/* Events/Vystavy Page */
.events-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.year-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.year-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(5px);
}

.year-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.event-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: rgba(217, 119, 6, 0.1);
    transform: translateX(10px);
}

.event-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.event-header-done {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.event-info {
    color: var(--text-light);
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.event-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.event-info a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.important-text {
    background: #fef3c7;
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-weight: 500;
    color: #92400e;
}

/* Gallery Page */
.gallery-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.gallery-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    color: white;
}

.gallery-year {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.gallery-title {
    font-size: 1.125rem;
    font-weight: 500;
}

.gallery-link {
    text-decoration: none;
    color: inherit;
}

/* Footer */
.modern-footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding-top: 3rem;
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modern-footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links li i {
    color: var(--primary-color);
    width: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6rem 0 4rem;
    margin-bottom: 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .modern-navbar .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
    }

    .info-image-wrapper::before {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }

    .activity-card {
        padding: 2rem 1.5rem;
    }

    .year-card {
        padding: 1.5rem;
    }
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Button primary override */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Text color override */
.text-primary {
    color: var(--primary-color) !important;
}
