main {
    max-width: none;
    margin: 0 auto 0 !important;
    padding: 0em;
}

body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.mainContent {
    background-image: url(../img/johny\ web\ brána\ barva\ 4.3\(1\).png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mainContent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(240, 200, 105, 0.15), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1), transparent 50%);
    pointer-events: none;
}

.mainContent-content2 {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 850px;
    padding: 50px 60px;
    background: linear-gradient(rgba(46, 46, 46, 0.85), rgba(49, 49, 49, 0.85));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.mainContent-content2:hover {
    transform: translateY(-5px);
}

.mainContent h1 {
    font-size: 3.2em;
    margin-bottom: 0.4em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.mainContent p {
    font-size: 1.3em;
    margin-bottom: 1.8em;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #E6B84D 100%);
    color: var(--text-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 20px rgba(240, 200, 105, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #E6B84D 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(240, 200, 105, 0.5);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5em;
    max-width: 1200px;
    margin: 4em auto;
    padding: 0 2em;
}

.feature {
    text-align: center;
    padding: 2.5em 2em;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(214, 69, 69, 0.1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(214, 69, 69, 0.15);
    border-color: rgba(214, 69, 69, 0.3);
}

.feature-icon {
    font-size: 3.5em;
    margin-bottom: 0.5em;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon svg {
    width: 60px;
    height: 60px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
}

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 0.7em;
    font-weight: 700;
}

.feature p {
    color: var(--text-color);
    opacity: 0.85;
    font-size: 1.05em;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 968px) {
    .mainContent h1 {
        font-size: 3.5em;
    }

    .mainContent p {
        font-size: 1.4em;
    }

    .cta-button {
        padding: 16px 40px;
        font-size: 1.15em;
    }
}

@media (max-width: 968px) {
    .mainContent {
        min-height: 100vh;
    }

    .mainContent-content2 {
        padding: 40px 30px;
    }

    .mainContent h1 {
        font-size: 2.5em;
    }
}

.company-history {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.company-history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.history-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.history-title {
    text-align: center;
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4rem;
    font-weight: 800;
}

.history-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.history-content {
    flex: 1;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.history-content:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(214, 69, 69, 0.15);
}

.history-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.history-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

@media (max-width: 768px) {

    .history-item,
    .history-item:nth-child(even) {
        flex-direction: column;
    }

    .history-content {
        padding: 2rem 1.5rem;
    }

    .history-title {
        font-size: 2.2rem;
    }
}

.christmas-banner {
    background: linear-gradient(135deg,
            rgba(214, 69, 69, 0.95) 0%,
            rgba(190, 50, 50, 0.95) 50%,
            rgba(214, 69, 69, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    padding: 25px 40px;
    position: sticky;
    top: 75px;
    z-index: 9;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -50px;
    flex-direction: column;
    border-bottom: 3px solid rgba(230, 184, 77, 0.5);
    position: relative;
    overflow: hidden;
}

.christmas-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    animation: banner-shine 3s infinite;
}

@keyframes banner-shine {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 100%;
    }
}

.christmas-banner h1 {
    margin: 0 0 12px 0;
    font-size: 2.3em;
    font-family: 'Gloria Hallelujah', cursive;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    animation: text-glow 2s ease-in-out infinite alternate;
    letter-spacing: 1px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.christmas-banner p {
    margin: 0 0 18px 0;
    font-size: 1.3em;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    line-height: 1.6;
    max-width: 800px;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.christmas-banner a {
    color: #E6B84D;
    text-decoration: none;
    border-bottom: 2px solid #E6B84D;
    transition: all 0.3s ease;
    font-weight: 600;
    padding-bottom: 2px;
}

.christmas-banner a:hover {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
    text-shadow: 0 0 10px rgba(230, 184, 77, 0.6);
}

@keyframes text-glow {
    from {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    }

    to {
        text-shadow: 0 0 20px rgba(230, 184, 77, 0.8),
            2px 2px 8px rgba(0, 0, 0, 0.4);
    }
}

#snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: white;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

#countdown {
    font-size: 1.4em;
    font-weight: 700;
    margin-top: 15px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #E6B84D 0%, #F0C869 100%);
    color: #343a40;
    border-radius: 50px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(230, 184, 77, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: countdown-pulse 1.5s ease-in-out infinite;
}

@keyframes countdown-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(230, 184, 77, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(230, 184, 77, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

@media (max-width: 768px) {
    .christmas-banner {
        padding: 20px 25px;
    }

    .christmas-banner h1 {
        font-size: 1.8em;
    }

    .christmas-banner p {
        font-size: 1.1em;
    }

    #countdown {
        font-size: 1.2em;
        padding: 10px 20px;
    }

    .close-banner {
        width: 35px;
        height: 35px;
        font-size: 1.8em;
        top: 12px;
        right: 15px;
    }
}