/* Modern Minimalistic Content Page Styles */

.content-page {
    background-color: #f5f5f0;
    background-image:
        linear-gradient(rgba(220, 220, 220, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 220, 220, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;
    font-family: 'Patrick Hand', cursive;
}

/* Fixed Header */
.content-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(245, 245, 240, 0.95) 0%, rgba(245, 245, 240, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: none;
    padding: 35px 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 1000;
}

.back-button {
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.arrow-icon {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.back-button:hover {
    color: #000000;
    transform: translateX(-5px);
}

.header-logo {
    height: 45px !important;
    width: auto !important;
    max-height: 45px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    font-family: 'Patrick Hand', cursive;
    font-style: normal;
}

/* Main Content */
.content-main {
    margin-top: 110px;
    min-height: calc(100vh - 110px);
}

.content-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}

/* Video Container */
.video-container {
    border-radius: 24px;
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    margin-top: 280px;
    margin-bottom: 40px;
    border-radius: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%) contrast(1.1);
}

/* Content Text Section */
.content-text {
    padding: 0 80px 100px;
    line-height: 2;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-text h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    margin-top: 0;
    font-style: normal;
    line-height: 1;
}

.content-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-top: 70px;
    margin-bottom: 25px;
    font-style: normal;
}

.content-text h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-style: normal;
}

.content-text p {
    font-size: 1.2rem;
    color: #3a3a3a;
    margin-bottom: 25px;
    line-height: 2;
    font-weight: 400;
}

.content-text ul {
    text-align: left;
    display: inline-block;
    margin: 0 auto 25px;
    padding-left: 20px;
}

.content-text li {
    font-size: 1.2rem;
    color: #3a3a3a;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0 70px;
}

.service-card {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    border-left: 3px solid #1a1a1a;
    padding-left: 25px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateX(10px);
    border-left-color: #666666;
}

.service-card h4 {
    margin-top: 0;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1.05rem;
    margin-bottom: 0;
    color: #4a4a4a;
}

/* Content Images */
.content-image {
    width: 100%;
    margin: 60px 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%) contrast(1.1);
}

/* CTA Section */
.cta-section {
    text-align: left;
    margin: 80px 0 40px;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: none;
    border: 3px solid #1a1a1a;
}

.cta-button:hover {
    background-color: #ffffff;
    color: #1a1a1a;
    transform: translateX(10px);
}

/* Image Gallery Grid */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.gallery-item {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* Hide 9th image on medium screens where 2-column layout creates orphaned item */
@media (min-width: 620px) and (max-width: 939px) {
    .image-gallery .gallery-item:nth-child(9) {
        display: none;
    }
}

/* Responsive Design */

/* Small Laptops - MacBook Air 13", Budget Windows laptops (769-1280px) */
@media (min-width: 769px) and (max-width: 1280px) {
    .content-container {
        max-width: 850px;
    }

    .content-text {
        padding: 0 55px 100px;
    }

    .hero-image {
        height: 380px;
    }
}

/* Medium Laptops - MacBook Air 13" Retina, Standard 14-15" laptops (1281-1440px) */
@media (min-width: 1281px) and (max-width: 1440px) {
    .content-container {
        max-width: 900px;
    }

    .content-text {
        padding: 0 60px 100px;
    }

    .hero-image {
        height: 400px;
    }
}

/* Large Laptops - MacBook Pro 14"/16", Gaming laptops 17" (1441-1680px) */
@media (min-width: 1441px) and (max-width: 1680px) {
    .content-container {
        max-width: 950px;
    }

    .content-text {
        padding: 0 65px 100px;
    }

    .hero-image {
        height: 420px;
    }
}

/* 24" Full HD Monitors - Most common desktop monitors (1681-1920px) */
@media (min-width: 1681px) and (max-width: 1920px) {
    .content-container {
        max-width: 1000px;
    }

    .content-text {
        padding: 0 70px 100px;
    }

    .hero-image {
        height: 440px;
    }
}

/* 27" QHD Monitors - 2560x1440 displays (1921-2560px) */
@media (min-width: 1921px) and (max-width: 2560px) {
    .content-container {
        max-width: 1050px;
    }

    .content-text {
        padding: 0 75px 100px;
    }

    .hero-image {
        height: 460px;
    }
}

/* 32" 4K / Ultra-wide 34" - Large desktop displays (2561-3440px) */
@media (min-width: 2561px) and (max-width: 3440px) {
    .content-container {
        max-width: 1100px;
    }

    .content-text {
        padding: 0 80px 100px;
    }

    .hero-image {
        height: 480px;
    }
}

/* Large 4K / Ultra-wide 49" - Extra large displays (3441px+) */
@media (min-width: 3441px) {
    .content-container {
        max-width: 1150px;
    }

    .content-text {
        padding: 0 85px 100px;
    }

    .hero-image {
        height: 500px;
    }
}

/* Tablet and Mobile Screens */
@media (max-width: 768px) {
    .content-header {
        padding: 20px 30px;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .hero-image {
        height: 250px;
        margin-bottom: 50px;
    }

    .content-text {
        padding: 0 40px 80px;
    }

    .content-text h2 {
        font-size: 2.3rem;
    }

    .content-text h3 {
        font-size: 1.7rem;
    }

    .content-text p {
        font-size: 1.1rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .content-header {
        padding: 18px 20px;
    }

    .back-button {
        font-size: 1.1rem;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .hero-image {
        height: 220px;
    }

    .content-text {
        padding: 0 25px 60px;
    }

    .content-text h2 {
        font-size: 2rem;
    }

    .content-text h3 {
        font-size: 1.5rem;
    }

    .content-text p {
        font-size: 1.05rem;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 1.15rem;
    }
}