.page-header {
    background-color: #000;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 98%;
    margin: 0 auto;
    padding: 1rem 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.nav-desktop-container {
    display: flex;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.brand-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 0.85;
    margin-bottom: 0.05em;
    width: fit-content;
}

.brand-subtitle {
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    font-weight: 700;
    margin: 0;
    opacity: 0.8;
    line-height: 1;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    width: 100%;
    text-align: justify;
    text-align-last: justify;
}

.nav-desktop {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    flex: 1;
    min-width: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 700;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-separator {
    color: #ffffff;
    opacity: 0.6;
    font-weight: bold;
    margin: 0 0.3rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.3rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile {
    display: none;
    background-color: #000;
    border-top: 1px solid #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-mobile.active {
    max-height: 200px;
}

.nav-mobile-content {
    padding: 1rem 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    max-width: 98%;
    margin: 0 auto;
}

.nav-mobile-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.nav-mobile-link:hover {
    opacity: 0.7;
}

.services-container {
    min-height: calc(100vh - 160px);
    padding: 1.5rem 0.5rem;
    max-width: 98%;
    margin: 0 auto;
    font-weight: bold;
}

.services-intro-text {
    text-align: left;
    max-width: 100%;
    margin: 0 auto 1.5rem auto;
    padding: 0 2px;
}

.services-intro-text p {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    color: #ccc;
    line-height: 1.6;
    margin: 0;
    font-weight: bold;
    text-align: justify;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

/* Large screens: 4 items per row */
@media (max-width: 1200px) {
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        justify-content: center;
    }
}

/* Tablet screens: 3 items per row */
@media (max-width: 900px) {
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
        gap: 1rem;
        justify-content: center;
    }
}

.item-card {
    background-color: #111;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.item-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

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

.item-content {
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-description {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    flex: 1;
}

.item-price {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.details-btn {
    background-color: #333;
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
    font-size: 0.8rem;
    white-space: nowrap;
}

.details-btn:hover {
    background-color: #555;
}

@media (max-width: 600px) {
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        max-width: 95%;
        justify-content: center;
    }

    .services-container {
        padding: 15px 5px;
    }

    .item-image {
        height: 100px;
    }

    .item-content {
        padding: 0.8rem;
    }

    .item-name {
        font-size: 0.9rem;
    }

    .item-description {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
    }

    .item-price {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .details-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        max-width: 98%;
        justify-content: center;
    }

    .item-image {
        height: 80px;
    }

    .item-content {
        padding: 0.6rem;
    }

    .item-name {
        font-size: 0.8rem;
    }

    .item-description {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .item-price {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .details-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .nav-toggle {
        display: flex;
        order: 2;
        margin-left: 2rem;
    }

    .nav-mobile {
        display: block;
    }

    .header-content {
        padding: 1rem 8px;
    }

    .brand-title {
        font-size: 1.5rem;
        line-height: 0.9;
        margin-bottom: 0.1em;
    }

    .brand-subtitle {
        font-size: 0.8rem;
        text-align: justify;
        text-align-last: justify;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 380px) {
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
        max-width: 99%;
        justify-content: center;
    }

    .item-image {
        height: 70px;
    }

    .item-name {
        font-size: 0.75rem;
    }

    .item-description {
        font-size: 0.65rem;
    }

    .item-price {
        font-size: 0.75rem;
    }

    .details-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.6rem;
    }

    .header-content {
        padding: 0.8rem 5px;
    }

    .brand-title {
        font-size: 1.3rem;
        line-height: 0.9;
        margin-bottom: 0.1em;
    }

    .brand-subtitle {
        font-size: 0.7rem;
        text-align: justify;
        text-align-last: justify;
        letter-spacing: 0.05em;
    }
}