/* =========================================================
   COMMON PAGE STRUCTURE
========================================================= */

.site-main {
    width: 100%;
}

.page-content {
    width: 100%;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
    max-width: 1200px;

    margin: 50px auto 40px;
    padding: 0 20px;

    text-align: center;
}

.page-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #1a365d;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
}

.page-header h1 {
    margin: 0 0 12px;

    color: #1a365d;

    font-size: 2.5rem;
    font-weight: 600;

    line-height: 1.2;
}

.page-subtitle {
    margin: 0 0 20px;

    color: #555;

    font-size: 1.25rem;

    line-height: 1.5;
}

.page-description {
    max-width: 1000px;

    margin: 0 auto;

    color: #666;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   PAGE HIGHLIGHTS
========================================================= */

.page-highlights {
    max-width: 1200px;

    display: flex;

    justify-content: center;
    flex-wrap: wrap;

    gap: 18px;

    margin: 0 auto 55px;
    padding: 0 20px;
}

.highlight-card {
    display: flex;
    align-items: center;

    flex: 1 1 250px;

    max-width: 360px;

    padding: 16px 18px;

    background: #f7f9fc;

    border: 1px solid #e8edf3;

    border-radius: 8px;

    box-sizing: border-box;
}

.highlight-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 34px;
    height: 34px;

    margin-right: 12px;

    border-radius: 50%;

    background: #1a365d;

    color: #fff;

    font-weight: bold;
}

.highlight-card strong {
    display: block;

    margin-bottom: 3px;

    color: #1a365d;

    font-size: 14px;
}

.highlight-card small {
    display: block;

    color: #777;

    font-size: 12px;
}


/* =========================================================
   PAGE CONTENT
========================================================= */

.content-section {
    max-width: 1200px;

    margin: 0 auto 50px;

    padding: 0 20px;

    box-sizing: border-box;
}

.content-section h2 {
    margin-bottom: 15px;

    color: #1a365d;
}

.content-section p {
    color: #555;

    line-height: 1.8;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    max-width: 1200px;

    margin: 50px auto;

    padding: 0 20px;

    box-sizing: border-box;
}


/* Gallery Header */

.gallery-header {
    max-width: 1200px;

    margin: 0 auto 30px;

    text-align: center;
}

.gallery-header h2 {
    margin: 0 0 8px;

    color: #1a365d;

    font-size: 1.8rem;

    font-weight: 600;
}

.gallery-header p {
    margin: 0;

    color: #666;

    font-size: 15px;

    line-height: 1.6;
}


/* Gallery Grid */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(320px, 1fr));

    gap: 15px;

    justify-content: center;
}


/* Gallery Item */

.gallery-item {
    position: relative;

    width: 100%;
    height: 240px;

    overflow: hidden;

    padding: 0;

    border: 0;

    border-radius: 8px;

    cursor: pointer;

    background: #f0f0f0;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.2s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img,
.gallery-item video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Video Play Icon */

.video-play-badge {
    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    border-radius: 50%;

    background:
        rgba(0, 0, 0, 0.7);

    color: #fff;

    font-size: 20px;

    pointer-events: none;
}


/* Empty Gallery */

.gallery-empty {
    grid-column: 1 / -1;

    margin: 30px 0;

    color: #999;

    text-align: center;
}


/* =========================================================
   LIGHTBOX
========================================================= */

#custom-lightbox {
    display: none;

    position: fixed;

    top: 0;
    left: 0;

    z-index: 99999;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background:
        rgba(10, 15, 28, 0.95);
}

#lightbox-target {
    display: flex;

    align-items: center;
    justify-content: center;

    max-width: 85%;
    max-height: 80vh;
}

#lightbox-target img,
#lightbox-target video {
    max-width: 100%;
    max-height: 80vh;

    border: 3px solid #fff;

    border-radius: 4px;

    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.5);
}

#lightbox-target img {
    object-fit: contain;
}


/* =========================================================
   LIGHTBOX CLOSE
========================================================= */

.lightbox-close-btn {
    position: absolute;

    top: 20px;
    right: 20px;

    z-index: 100001;

    padding: 0;

    border: none;

    background: none;

    color: white;

    font-size: 45px;

    cursor: pointer;
}

.lightbox-close-btn:hover {
    color: #ccc;
}


/* =========================================================
   LIGHTBOX NAVIGATION
========================================================= */

.lightbox-nav-btn {
    position: absolute;

    top: 50%;

    z-index: 100000;

    transform:
        translateY(-50%);

    padding: 15px 22px;

    border: none;

    border-radius: 6px;

    background:
        rgba(255, 255, 255, 0.15);

    color: white;

    font-size: 30px;

    cursor: pointer;

    user-select: none;
}

.lightbox-nav-btn:hover {
    background:
        rgba(255, 255, 255, 0.3);
}

#lightbox-prev-btn {
    left: 20px;
}

#lightbox-next-btn {
    right: 20px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .page-header {
        margin: 35px auto 40px;

        padding: 0 20px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.05rem;
    }

    .page-description {
        font-size: 15px;

        line-height: 1.7;
    }


    /*.page-highlights {
        flex-direction: column;
        align-items: stretch;
    }*/

    .highlight-card {
        width: 100%;

        max-width: none;
    }


    .gallery-section {
        margin: 40px auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .gallery-item {
        width: 100%;

        max-width: 360px;

        height: 260px;

        margin: 0 auto;
    }

    .gallery-header h2 {
        font-size: 1.5rem;
    }


    .lightbox-nav-btn {
        padding: 18px 14px;

        background:
            rgba(0, 0, 0, 0.6);

        font-size: 24px;
    }

    #lightbox-prev-btn {
        left: 10px;
    }

    #lightbox-next-btn {
        right: 10px;
    }

    #lightbox-target {
        max-width: 90%;
    }

}

/* =========================================================
   VINYL WINDOW PAINTING - FEATURE SECTION
   Separate CSS
========================================================= */

.vinyl-feature {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 70px;
    padding: 0 20px;
    box-sizing: border-box;
}

.vinyl-feature-inner {
    position: relative;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    min-height: 430px;
    overflow: hidden;
    padding: 55px 60px;
    box-sizing: border-box;
    border: 1px solid #e3eaf2;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #f4f7fb 0%,
            #ffffff 55%,
            #edf3fa 100%
        );

    box-shadow:
        0 15px 45px rgba(26, 54, 93, 0.08);
}

.vinyl-feature-inner::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -120px;
    width: 430px;
    height: 430px;
    border-radius: 50%;

    background:
        rgba(26, 54, 93, 0.055);

    pointer-events: none;
}

.vinyl-feature-inner::after {
    content: "";
    position: absolute;
    bottom: -130px;
    left: 35%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(26, 54, 93, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.vinyl-feature-content {
    position: relative;
    z-index: 2;
    max-width: 440px;
}

.vinyl-feature-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #1a365d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}


.vinyl-feature-content h2 {
    margin: 0 0 18px;
    color: #1a365d;
    font-size: 2.15rem;
    font-weight: 600;
    line-height: 1.2;
}

.vinyl-feature-content p {
    margin: 0 0 25px;
    color: #626b76;
    font-size: 15px;
    line-height: 1.8;
}

.vinyl-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 6px;
    background: #1a365d;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.vinyl-feature-link span {
    font-size: 18px;
    line-height: 1;
    transition:
        transform 0.25s ease;
}

.vinyl-feature-link:hover {
    background: #244a78;
    transform: translateY(-2px);
}

.vinyl-feature-link:hover span {
    transform: translateX(4px);
}

.vinyl-feature-visual {
    position: relative;
    z-index: 2;
    min-height: 320px;
}

.vinyl-feature-card {
    position: absolute;
    width: 220px;
    padding: 22px;
    box-sizing: border-box;
    border: 1px solid rgba(26, 54, 93, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);

    box-shadow:
        0 12px 30px rgba(26, 54, 93, 0.10);

    backdrop-filter: blur(8px);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.vinyl-feature-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 18px 35px rgba(26, 54, 93, 0.15);
}

.vinyl-feature-card.card-one {
    top: 15px;
    left: 5px;
}

.vinyl-feature-card.card-two {
    top: 95px;
    right: 0;
}

.vinyl-feature-card.card-three {
    bottom: 0;
    left: 95px;
}

.feature-number {
    position: absolute;
    top: 15px;
    right: 18px;
    color: #dce5ef;
    font-size: 12px;
    font-weight: 700;
}

.feature-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: #eef3f8;
    color: #1a365d;
    font-size: 20px;
    font-weight: 600;
}

.vinyl-feature-card h3 {
    margin: 0 0 7px;
    color: #1a365d;
    font-size: 16px;
    font-weight: 600;
}

.vinyl-feature-card p {
    margin: 0;
    color: #737b85;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .vinyl-feature {
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .vinyl-feature-inner {
        grid-template-columns: 1fr;
        gap: 35px;
        min-height: auto;
        padding: 40px 30px;
    }

    .vinyl-feature-content {
        max-width: none;
    }

    .vinyl-feature-content h2 {
        font-size: 1.8rem;
    }

    .vinyl-feature-visual {
        width: 100%;
        min-height: 500px;
    }

    .vinyl-feature-card.card-one {
        top: 0;
        left: 0;
    }

    .vinyl-feature-card.card-two {
        top: 90px;
        right: 0;
    }

    .vinyl-feature-card.card-three {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .vinyl-feature-card {
        width: 200px;
    }

    .vinyl-feature-card.card-three:hover {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 500px) {
    .vinyl-feature {
        padding: 0 20px;
    }

    .vinyl-feature-inner {
        padding: 35px 22px;
        border-radius: 14px;
    }

    .vinyl-feature-content h2 {
        font-size: 1.65rem;
    }

    .vinyl-feature-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .vinyl-feature-visual {
        min-height: 530px;
    }

    .vinyl-feature-card {
        width: 185px;
        padding: 18px;
    }

    .vinyl-feature-card.card-one {
        left: 0;
    }

    .vinyl-feature-card.card-two {
        right: 0;
    }

    .vinyl-feature-card.card-three {
        left: 50%;
    }
}