/* Services Page Styles */

.services-hero {
    position: relative;
    height: 50vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--primary-white);
    z-index: 20;
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.services-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.services-hero-content {
    width: 100%;
    text-align: center;
}

.services-hero-title {
    font-size: 4rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.services-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

.services-list-section {
    padding: var(--section-padding);
    background: var(--primary-light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    background: var(--primary-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--box-shadow-medium);
    transition: transform var(--transition-fast);
    align-items: stretch;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.service-item:nth-child(even) .service-image {
    order: 2;
}

.service-item:nth-child(even) .service-content {
    order: 1;
}

.service-image {
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-self: stretch;
}

.service-image img {
    display: none;
}

.service-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 20px;
    color: var(--primary-dark-gray);
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--primary-gray);
    margin-bottom: 25px;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95rem;
}

.service-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Advantages Section */
.advantages {
    height: 80vh;
    position: relative;
    display: flex;
    background: var(--primary-light-gray);
}

.advantages-photo {
    width: 60%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.advantages-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.advantages-content {
    width: 40%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 60px;
    z-index: 3;
}

.advantages-container {
    background: var(--primary-brown);
    padding: 60px 50px;
    box-shadow: var(--box-shadow-heavy);
    height: 80%;
    width: calc(100% + 80px);
    margin-left: -80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.advantages-title {
    font-size: 2.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-white);
    margin-bottom: 30px;
    line-height: 1.2;
}

.advantages-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--primary-white);
    margin-bottom: 30px;
}

.advantages-text p {
    margin-bottom: 15px;
    padding-left: 15px;
    position: relative;
}

.advantages-text p:before {
    content: "•";
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.advantages-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-red);
    color: var(--primary-white);
    padding: 15px 25px;
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    margin-top: 20px;
    width: auto;
}

.advantages-cta:hover {
    background: var(--primary-dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 25, 34, 0.4);
}

.advantages-cta svg {
    transition: transform var(--transition-fast);
}

.advantages-cta:hover svg {
    transform: translateX(3px);
}

/* Novinky Section */
.novinky {
    padding: 150px 0 var(--section-padding);
    background: var(--primary-white);
}

.novinky-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.novinky-title {
    font-size: 5rem;
    font-weight: var(--font-weight-bold);
    text-align: left;
    margin-bottom: 20px;
    color: var(--primary-black);
    z-index: 3;
    position: relative;
}

.novinky-all-btn {
    background: transparent;
    border: 2px solid var(--primary-black);
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary-black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.novinky-all-btn:hover {
    background: var(--primary-black);
    color: var(--primary-white);
}

.novinky-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 3;
}

.novinky-item {
    background: var(--primary-white);
    overflow: hidden;
    transition: transform var(--transition-fast);
}

.novinky-item:hover {
    transform: translateY(-10px);
}

.novinky-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
}

.novinky-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.novinky-content {
    padding: 0;
}

.novinky-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.novinky-heading {
    font-size: 25px;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-black);
    margin-bottom: 12px;
    line-height: 1.3;
    text-transform: none;
}

.novinky-subheading {
    font-size: 17px;
    font-weight: var(--font-weight-light);
    color: var(--primary-gray);
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .advantages {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .advantages-photo {
        width: 100%;
        height: 60vh;
    }
    
    .advantages-content {
        width: 100%;
        height: auto;
        padding: 40px 20px;
    }
    
    .advantages-container {
        width: 100%;
        margin-left: 0;
        height: auto;
        padding: 40px 30px;
    }
    
    .advantages-title {
        font-size: 1.8rem;
    }
    
    .novinky-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .novinky-title {
        font-size: 3rem;
    }
    
    .novinky-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-item {
        grid-template-columns: 1fr !important;
    }
    
    .service-item:nth-child(even) .service-image,
    .service-item:nth-child(even) .service-content {
        order: initial;
    }
    
    /* Mobile h1 reduction */
    .services-hero-title {
        font-size: 2.4rem; /* 40% reduction from 4rem */
    }
    
    /* Services list section padding */
    .services-list-section {
        padding-top: 40px;
    }
    
    /* Service content padding */
    .service-content {
        padding: 10px;
    }
    
    /* Service content h3 font size reduction */
    .service-content h3 {
        font-size: 1.4rem; /* 30% reduction from 2rem */
        font-weight: 700; /* Added 100 font weight (from 600 to 700) */
    }
    
    /* Service content paragraph font size reduction */
    .service-content p {
        font-size: 0.99rem; /* 10% reduction from 1.1rem */
    }
    
    /* Fix service images on mobile */
    .service-image {
        height: 200px;
        min-height: 200px;
    }
    
    .service-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .novinky-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}