:root {
    --primary-color: #E12926;
    --primary-dark: #c41e1b;
    --secondary-color: #333333;
    --accent-color: #E12926;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.85) 0%, rgba(225, 41, 38, 0.3) 100%), url('images/hero.jpg') center/cover;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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="%239C92AC" 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');
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.hero-date {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* Navigation */
.navigation {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.nav-links li {
    margin: 0 1.5rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Sections */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-item {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: var(--shadow);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.image-placeholder {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
}

.image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

/* Locations Section */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.location-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.location-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.location-card .address {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.location-features {
    list-style: none;
    text-align: left;
    color: var(--text-light);
    max-width: 300px;
    margin: 0 auto;
}

.location-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.location-features li:last-child {
    border-bottom: none;
}

/* Workshops Section */
.workshop-location {
    margin-bottom: 4rem;
}

.workshop-location h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.workshop-location h3 .location-badge {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-light);
    border-radius: 0;
    font-weight: 500;
}

.fri-workshops h3 {
    color: var(--primary-color);
}

.fri-workshops h3 .location-badge {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.stanislav-workshops {
    background-color: var(--bg-light);
    padding: 3rem 0;
    margin: 0 -20px;
}

.stanislav-workshops .container {
    padding: 0 20px;
}

.stanislav-workshops h3 {
    color: #2563eb;
}

.stanislav-workshops h3 .location-badge {
    color: #2563eb;
    border: 1px solid #2563eb;
}

.workshop-category {
    margin-bottom: 2rem;
}

.workshop-category h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.workshop-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.workshop-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.workshop-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.workshop-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.workshop-card .grade {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.workshop-card p:last-child {
    color: var(--text-light);
}

.workshop-card .workshop-cta {
    margin-top: 1.5rem;
}

.workshop-card .workshop-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.workshop-card .workshop-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.stanislav-workshops .workshop-card .workshop-button {
    background-color: #2563eb;
}

.stanislav-workshops .workshop-card .workshop-button:hover {
    background-color: #1d4ed8;
}

.workshop-card .price-tag {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.stanislav-workshops .workshop-card .price-tag {
    color: #2563eb;
}

/* Single workshop in category - limit width */
.workshop-grid:has(.workshop-card:only-child) {
    max-width: 400px;
    margin: 0 auto;
}

.workshop-grid:has(.workshop-card:only-child) .workshop-card {
    grid-column: 1;
}

/* Fallback for browsers without :has() support */
.workshop-grid.single-item {
    max-width: 400px;
    margin: 0 auto;
}

/* Schedule Section */
.schedule-table {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.schedule-item {
    display: flex;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.3s ease;
}

.schedule-item:hover {
    background-color: var(--bg-light);
}

.schedule-item:last-child {
    border-bottom: none;
}

.time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 150px;
}

.activity {
    flex: 1;
    color: var(--text-dark);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Registration Section */
.registration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.registration-paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.registration-path {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: var(--shadow);
    text-align: center;
}

.registration-path h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.registration-path .location-badge {
    display: inline-block;
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-light);
    border-radius: 0;
    font-weight: 500;
    margin-bottom: 1rem;
}

.fri-registration .location-badge {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.stanislav-registration .location-badge {
    color: #2563eb;
    border: 1px solid #2563eb;
}

.registration-details {
    text-align: left;
    margin-bottom: 2rem;
}

.registration-details p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.registration-details strong {
    color: var(--text-dark);
}

.registration-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.registration-info p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.registration-info ul {
    list-style-position: inside;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.registration-info ul li {
    margin-bottom: 0.5rem;
}

.price-info {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0;
    margin-top: 2rem;
}

.price-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.registration-cta {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.registration-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.registration-cta p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.registration-cta .note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer p, .footer li {
    color: #9ca3af;
    line-height: 1.8;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-links li {
        margin: 0.5rem;
    }
    
    .about-content,
    .registration-content,
    .locations-grid,
    .registration-paths {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stanislav-workshops {
        margin: 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .workshop-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .time {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}