/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}


body {
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
header {
    background-color: white;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

#logo{
    width: 100px; 
    height: auto; 
    cursor: pointer;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    padding-bottom: 0.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-desktop {
    display: none;
    gap: 2rem;
    margin-top: -1rem;
}

.nav-link {
    background: none;
    border: none;
    color: #0B0B0B;
    cursor: pointer;
    font-size: 1.75rem;
    transition: color 0.1s ease;
    font-weight: 600;
}

.nav-link:hover {
    color: #FF1616;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #0B0B0B;
    cursor: pointer;
    margin-top: 0.5rem;
}

.mobile-menu-btn i {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-mobile {
    border-top: 1px solid #333333;
}

.nav-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
    align-items: center;
}

.nav-mobile-link {
    background: none;
    border: none;
    color: #0B0B0B;
    cursor: pointer;
    font-size: 1.25rem;
    text-align: left;
    transition: color 0.1s ease;
}

.nav-mobile-link:hover {
    color: #FF1616;
}

.hidden {
    display: none !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0b0b0b 0%, #1a1a1a 50%, #FF1616 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative; 
    min-height: 91vh;
}

.scroll-indicator {
    position: absolute;  /* Add this */
    bottom: 3.5vh;       /* Position from bottom */
    left: 50%;          /* Move to 50% from left */
    transform: translateX(-50%); /* Shift back by 50% of its own width */
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}


.hero-container {
    width: 100%;
    text-align: center;
}

.hero-content {
    max-width: 64rem;
    margin: 2rem auto;
    height: 100%;
}

.hero-title {
    display: inline-flex;
    flex-direction: column;
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    margin-bottom: -0.5rem;
    line-height: 1;
    gap: 0.06em;
}

h1.hero-title span:nth-child(2) {
    margin-top: -10px;
    margin-bottom: -5px;
    display: block;
}

.hero-accent {
    color: #FF1616;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 0.5rem;
    color: #d1d5db;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}


#test-small-icon{
    color: #FF1616;
    width: 60px;
    height: 60px;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

#hero-middle-accent{
    font-size: 3rem;
}

.btn-primary {
    background-color: #FF1616;
    color: white;
    transform: scale(1);
}

.btn-primary:hover {
    background-color: #cc1212;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:active {
    background-color: white;
    color: #0B0B0B;
}

.btn-cta {
    background-color: #ffffff;
    color: #FF1616;
}

.btn-cta:hover {
    background-color: #f3f4f6;
}

.btn-secondary-modal {
    background-color: #e5e7eb;
    color: #374151;
}

.btn-secondary-modal:hover {
    background-color: #d1d5db;
}

.hero-services-list {
    list-style: none;
    margin: 1.5rem auto 2rem;
    max-width: 32rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-service-item {
    position: relative;
    padding: 0.75rem 0;
    color: #f9fafb;
    font-size: 1rem;
    line-height: 1;
    font-weight: 500;
    text-align: left;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.hero-service-item::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 0.5rem;
    background-color: #FF1616;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 22, 22, 0.5);
}



#scroll-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: color 0.2s ease;

}

.scroll-btn:hover {
    color: #FF1616;
}

#scroll-text {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    opacity: 0.85;
    font-weight: 550;
}

.scroll-btn:hover #scroll-text {
    opacity: 1;
}

.scroll-icon {
    width: 1.5rem;
    height: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40%, 43% {
        transform: translateX(-50%) translateY(-10px);
    }
    70% {
        transform: translateX(-50%) translateY(-5px);
    }
    90% {
        transform: translateX(-50%) translateY(-2px);
    }
}

/* Služby Sekcia */
.sluzby {
    padding: 2.5rem 0rem 5rem;
    background-color: #f9fafb;
    scroll-padding-top: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
}

.text-accent {
    color: #FF1616;
}

.text-accent-light {
    color: #FF1616;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    display: grid;
    grid-template-rows: auto 1fr;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-0.5rem);
}

.service-card-content {
    cursor: pointer;
    padding: 2rem;
}

.service-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #ffe6e6;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-icon {
    width: 2rem;
    height: 2rem;
    color: #FF1616;
    transition: all 0.3s ease;
}

.custom-service-icon {
    width: 2.75rem;
    height: 2.75rem;
    color: #FF1616;
    transition: all 0.3s ease;
}

.service-card:hover .custom-service-icon {
    color: white;
}

.service-card:hover .service-icon {
    color: white;
}

.service-card:hover .service-icon-container {
    background-color: #FF1616;
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
}

.service-description {
    color: #6b7280;
    line-height: 1.6;
    text-align: center;
}

.service-card-footer {
    background-color: #f9fafb;
    padding: 1rem 2rem;
    align-self: flex-end;
    cursor: pointer;
}

.learn-more-btn {
    width: 100%;
    background: none;
    border: none;
    color: #FF1616;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 1rem;
}

.learn-more-btn:hover {
    color: #cc1212;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: white;
}

.about-content {
    max-width: 72rem;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 3rem;
}

.about-paragraph {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background-color: #ffe6e6;
    border-radius: 0.75rem;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    color: #FF1616;
    margin: 0 auto 1rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
}

/* Contact Section */
#kontakt {
    padding: 3rem 0 3rem;
    background-color: #0B0B0B;
    color: white;
}

#kontakt .section-title {
    color: white;
}

#kontakt .section-subtitle {
    color: #d1d5db;
}

.contact-content {
    max-width: 64rem;
    margin: 0 auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-card {
    background-color: #1a1a1a;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: background-color 0.2s ease;
}

.contact-card:hover {
    background-color: #2a2a2a;
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    background-color: #FF1616;
    padding: 0.75rem;
    padding-bottom: 0.40rem;
    border-radius: 50%;
}

.contact-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-subtitle {
    color: #9ca3af;
}

.contact-link {
    color: #FF1616;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #ff4444;
}

.cta-card {
    text-align: center;
    background-color: #FF1616;
    border-radius: 0.75rem;
    padding: 2rem;
}

.cta-icon {
    width: 3rem;
    height: 3rem;
    color: white;
    margin: 0 auto 1rem;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cta-text {
    color: #ffcccc;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #0B0B0B;
    color: white;
    padding-bottom: 3rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    color: #FF1616;
}

.footer-text {
    color: #9ca3af;
    text-align: center;
}

/* Modal Styles */
.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1rem;
}

#modal-content {
    background-color: white;
    border-radius: 0.75rem;
    max-width: 42rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.modal-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-icon {
    background-color: #ffe6e6;
    padding: 0.75rem;
    padding-bottom: 0.40rem;
    border-radius: 50%;
}

.modal-icon i {
    width: 2rem;
    height: 2rem;
    color: #FF1616;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
}

.modal-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #6b7280;
}

.modal-close i {
    width: 1.5rem;
    height: 1.5rem;
}

.modal-description {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.modal-details {
    /*display: grid;*/
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-card {
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
}

.detail-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-icon {
    width: 2rem;
    height: 2rem;
    color: #FF1616;
}

.detail-text {
    color: #6b7280;
}

.modal-topics {
    margin-bottom: 2rem;
}

.topics-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topics-list {
    list-style: none;
}

.topic-bullet-outline-li{
    margin-left: 0.75rem;
}

.topics-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.topic-bullet {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #FF1616;
    border-radius: 50%;
    margin-top: 0.5rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.topic-bullet-outline {
    width: 0.5rem;
    height: 0.5rem;
    border: 2px solid #FF1616;
    border-radius: 50%;
    margin-top: 0.5rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    background-color: transparent;
}

.topic-bullet-text {
    font-size: large;
    font-weight: 600;
}

.topic-bullet-text-smaller {
    font-size: medium;
    font-weight: 600;
}

.modal-audience {
    margin-bottom: 2rem;
}



#hero-accent-word{
    margin-top: -1rem;
}

.audience-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audience-text {
    color: #6b7280;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-btn {
    flex: 1;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    #hero-accent-word{
        margin-top: -1rem;
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .modal-actions {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .modal-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #1f2937;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 4rem;
    }

    .hero-services-list {
        max-width: 30rem;
    }
    
    .hero-service-item {
        font-size: 1.125rem;
        padding: 1rem 0;
        padding-left: 2.5rem;
    }
    
    .hero-service-item::before {
        width: 0.75rem;
        height: 0.75rem;
        left: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-details {
        grid-template-columns: repeat(2, 1fr);
    }
    #logo{
        width: 130px; 
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-text {
        margin-bottom: 0;
    }

    #logo{
        width: 155px; 
    }
}


@media (max-height: 800px) {
    .hero-content{
        margin-top: 2rem;
    }

    .hero-buttons {
        gap: 0.5rem; /* Reduce button spacing */
    }

    .hero-services-list {
        margin: 1rem auto 2rem; /* Adjust spacing for services list */
    }
}

