/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 85vh;
    padding: 140px 0 80px;
    background-image: linear-gradient(rgba(0,0,0,.38), rgba(0,0,0,.38)), url("../images/hero.avif");
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero .container {
    width: 100%;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.hero-top {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.hero-small {
    font-size: 16px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #f2f2f2;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 8.5rem);
    line-height: .95;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero h2 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
}

.hero-text, .hero-description {
    max-width: 1100px;
    margin: 0 auto 50px;
    font-size: clamp(1.1rem, 2vw, 1.75rem);
    line-height: 1.5;
    color: #fff;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 370px;
    height: 80px;
    background: #ff2a1a;
    color: white;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.hero-button:hover {
    background: #ececec;
    color: #000;
}


/* --- SERVICES SECTION (ARCHITECTURAL LIST LAYOUT) --- */
.services {
    background: #0a0a0a;
    padding: 120px 0;
}

.services-top {
    margin-bottom: 70px;
}

.services-label {
    display: block;
    color: #ff2a1a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.services h2 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4.5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 900;
    margin: 0;
    letter-spacing: -1px;
}

/* Zoznam namiesto mriežky škatúľ */
.services-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.service-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background: transparent;
}

/* Hover efekt pre celý riadok */
.service-item:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 35px;
    padding-right: 35px;
    border-bottom-color: #ff2a1a;
}

.service-num {
    font-size: 32px;
    font-weight: 900;
    color: #ff2a1a;
    letter-spacing: -1px;
}

.service-info h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.service-info p {
    color: #888888;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    max-width: 750px;
    transition: color 0.3s ease;
}

.service-item:hover .service-info h3 {
    color: #ffffff;
}

.service-item:hover .service-info p {
    color: #cccccc;
}

/* Akcia vpravo */
.service-action {
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-btn-text {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.service-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.service-item:hover .service-btn-text {
    opacity: 1;
    color: #ff2a1a;
}

.service-item:hover .service-arrow {
    background: #ff2a1a;
    border-color: #ff2a1a;
    transform: translateX(5px);
}

/* Responsivita pre mobil */
@media (max-width: 992px) {
    .service-item {
        grid-template-columns: 60px 1fr;
        gap: 20px;
        padding: 30px 10px;
    }

    .service-action {
        display: none; /* Na mobile stačí kliknúť na celý riadok */
    }
}

@media (max-width: 576px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-num {
        font-size: 24px;
    }

    .service-info h3 {
        font-size: 22px;
    }
}

/* Responsivita */
@media (max-width: 768px) {
    .services {
        padding: 80px 0;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .service-slide {
        flex: 0 0 290px; /* Na mobile menšia šírka, vidno ďalšiu kartu */
        min-height: 400px;
        padding: 35px 25px 30px;
    }

    .slider-controls {
        display: none; /* Na mobile sa scrolluje prirodzene prstom */
    }
}


/* --- TESTIMONIALS SECTION --- */
.testimonials {
    background: #e9e9e9;
    padding: 100px 40px;
}

.testimonials-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    color: #000;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
}

.testimonial-text {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #1a1a1a;
}

.testimonial-author {
    margin-top: 30px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}


/* --- CTA SECTION --- */
.cta-section {
    background: #000;
    padding: 100px 20px;
    text-align: center;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1;
    color: #f3f3f3;
    margin-bottom: 30px;
}

.cta-section p {
    max-width: 850px;
    margin: 0 auto 50px;
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    line-height: 1.5;
    color: #d8d8d8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    height: 90px;
    background: #f3f3f3;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.cta-button:hover {
    background: #ff2a1f;
    color: #fff;
}


/* --- FOOTER --- */
.footer {
    background: #0a0a0a;
    color: #fff;
    padding: 100px 40px 40px;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.footer-column h3 {
    color: #ff2b17;
    font-size: 1.8rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.footer-label {
    color: #ff2a1a;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.footer-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    margin: 20px 0 25px;
}

.footer-cta p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,.75);
    max-width: 700px;
}

.footer-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.footer-btn {
    padding: 16px 32px;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.footer-btn:hover {
    background: #fff;
    color: #000;
}

.footer-btn.red {
    background: #ff2a1a;
    border: none;
}

.footer-btn.red:hover {
    background: #ff412f;
    color: #fff;
}

.footer-contact h3 {
    font-size: 28px;
    margin-bottom: 25px;
}

.footer-contact a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-contact p, .footer-address {
    color: rgba(255,255,255,.6);
    line-height: 1.8;
    margin-top: 25px;
    font-size: 1rem;
}

.footer-contact-btn, .social-btn {
    width: 100%;
    max-width: 320px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: 0.3s;
}

.footer-contact-btn:hover, .social-btn:hover {
    background: #ff2b17;
    border-color: #ff2b17;
}

.footer-logo {
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    color: #fff;
    margin: 60px 0;
}

.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,.5);
}

.footer-bottom p, .footer-links a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 30px;
}


/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .footer-top { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) {
    .hero { padding: 60px 20px 80px; }
    .hero-button { max-width: 100%; height: 65px; font-size: 18px; }

    .services { padding: 60px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; padding: 30px 20px; }

    .testimonials { padding: 60px 20px; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 40px; }
    .testimonial-text { font-size: 1.25rem; }

    .cta-button { max-width: 100%; height: 70px; font-size: 18px; }

    .footer { padding: 60px 20px 30px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}