/* Stropy (Ceilings) Page Specific Styles */

/* Prevent horizontal overflow on mobile */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

/* Hero styles moved to global page-hero */

.services-detailed {
    padding: 6rem 0;
    background: white;
}

.service-category {
    margin-bottom: 4rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
}

.service-category h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    line-height: 1.0;
}

.service-preview {
    display: flex;
    gap: 15px;
    margin: 30px 0 20px 0;
}

.service-preview img {
    width: calc(50% - 7.5px);
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-preview img:hover {
    transform: scale(1.05);
}

.gallery-btn {
    background: rgb(54, 54, 80);
    color: white;
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    margin-top: 20px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    width: auto;
}

.gallery-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.service-detail {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-preview {
    margin-top: auto;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-detail {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-category-title {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin-bottom: 20px;
}

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

.service-detail h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.service-detail p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

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

.service-detail li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-detail li:before {
    content: "•";
    color: #DD1B1B;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cta-section {
    padding: 4rem 0;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
        overflow-x: hidden;
    }

    .services-detailed {
        padding: 3rem 0;
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-detail {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-services h1 {
        font-size: 4.05rem;
        margin-left: 20px;
        margin-right: 20px;
        max-width: calc(100% - 40px);
    }

    .service-category {
        padding: 1rem;
        margin-bottom: 2rem;
        width: 100%;
        box-sizing: border-box;
    }

    .service-preview {
        flex-direction: column;
        gap: 12px;
        margin: 15px 0 10px 0;
        width: 100%;
        overflow: hidden;
    }

    .service-preview img {
        width: 100%;
        height: 180px;
        max-width: 100%;
    }

    .service-category-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
        word-wrap: break-word;
    }

    .gallery-btn {
        padding: 12px 20px;
        font-size: 13px;
        margin-top: 15px;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        display: block;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-services h1 {
        font-size: 3.2rem;
        margin-left: 15px;
        margin-right: 15px;
        max-width: calc(100% - 30px);
    }

    .service-detail {
        padding: 1rem;
    }

    .service-category {
        padding: 0.8rem;
    }

    .service-category-title {
        font-size: 1.8rem;
    }

    .service-preview {
        flex-direction: column;
        gap: 10px;
    }

    .service-preview img {
        width: 100%;
        height: 160px;
    }

    .gallery-btn {
        padding: 10px 15px;
        font-size: 12px;
        text-align: center;
        display: block;
    }
}

.service-preview-image {
    position: relative;
    width: calc(50% - 7.5px);
    height: 200px;
    overflow: hidden;
}

.service-preview-media {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-preview-image:hover .service-preview-media {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .service-preview-image {
        width: 100%;
        height: 220px;
    }
}

/* Individual Strop Page Styles */
.strop-detail-page {
    background: #fff;
}

.stropy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding: 80px 0;
    align-items: start;
}

/* Sidebar Styles */
.stropy-sidebar {
    position: sticky;
    top: 120px;
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #000;
    letter-spacing: 1px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-link:last-child {
    border-bottom: none;
}

.sidebar-link.active {
    background: rgb(54, 54, 80);
    color: white;
    font-weight: 700;
    padding: 15px 20px;
    border-radius: 12px;
    border-bottom: none;
}

.link-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: inherit;
}

.sidebar-link:hover {
    color: rgb(54, 54, 80);
    background: rgba(54, 54, 80, 0.05);
}

.sidebar-link.active .link-arrow,
.sidebar-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Content Styles */
.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
    line-height: 1.1;
}

.strop-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 50px;
}

.strop-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.strop-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-image {
    object-fit: cover;
    transition: transform 0.5s ease;
}

.strop-gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.strop-advantages {
    background: rgb(54, 54, 80);
    padding: 60px;
    border-radius: 30px;
    color: white;
    margin-bottom: 50px;
}

.strop-advantages h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.advantage-item .check {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.advantage-item p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .strop-advantages {
        padding: 30px;
        border-radius: 20px;
    }

    .advantages-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .strop-advantages h3 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}

.cta-container {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

/* Mobile Adjustments for Individual Pages */
@media (max-width: 992px) {
    .stropy-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stropy-sidebar {
        position: relative;
        top: 0;
        padding: 30px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .stropy-layout {
        padding: 40px 0;
    }

    .strop-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }
}
