/* Grandpix Home — UI mockup layout */
:root {
    --gp-gold: #c5a059;
    --gp-gold-light: #e8d5a3;
}

/* Hero slider */
.gp-hero-ui {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
}
.gp-hero-ui .gp-hero-container {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    pointer-events: none;
}
.gp-hero-ui .gp-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    padding: 0 0 2rem;
    text-align: left;
    pointer-events: auto;
}
.gp-hero-ui .gp-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}
.gp-hero-ui .gp-hero-video-poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: brightness(1.06) contrast(1.08) saturate(1.1);
    transition: opacity 0.6s ease;
}
.gp-hero-ui .gp-hero-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.gp-hero-ui .gp-hero-video-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 177.78vh;
    min-height: 56.25vw;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.gp-hero-ui .gp-hero-video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (prefers-reduced-motion: reduce) {
    .gp-hero-ui .gp-hero-video { display: none; }
}
.gp-hero-ui .gp-hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.08) 35%, rgba(0,0,0,0.28) 100%),
        linear-gradient(100deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.28) 42%, rgba(0,0,0,0.12) 72%, transparent 100%);
}
.gp-hero-ui .gp-hero-tagline {
    color: var(--gp-gold);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.5;
    text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.gp-hero-ui .gp-hero-heading {
    font-family: var(--gp-font-serif);
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 28px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.75);
}
.gp-hero-ui .gp-hero-script {
    font-family: var(--gp-font-script);
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    color: var(--gp-gold);
    line-height: 1.15;
    margin: 0 0 1.25rem;
    display: block;
}
.gp-hero-ui .gp-hero-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    max-width: 520px;
    margin: 0 0 1.75rem;
    text-shadow: 0 1px 16px rgba(0,0,0,0.65);
}
.gp-hero-ui .gp-hero-actions {
    margin-bottom: 1.25rem;
    justify-content: flex-start;
}
.gp-hero-ui .gp-hero-watch {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gp-gold);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0;
    transition: opacity 0.3s;
}
.gp-hero-ui .gp-hero-watch:hover { color: var(--gp-gold-light); }
.gp-hero-ui .gp-hero-watch i {
    font-size: 2rem;
    border: 1px solid var(--gp-gold);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-hero-pagination {
    position: absolute;
    left: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.gp-hero-pagination .gp-slide-num {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 0;
}
.gp-hero-pagination .gp-slide-num.active { color: var(--gp-gold); }

/* Welcome */
.gp-welcome { background: var(--gp-black); }
.gp-welcome-img {
    position: relative;
    overflow: hidden;
    min-height: 560px;
}
.gp-welcome-img img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center;
}
.gp-welcome-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
    margin-top: 2rem;
}
.gp-welcome-features .gp-wf-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}
.gp-welcome-features .gp-wf-item i {
    color: var(--gp-gold);
    font-size: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.gp-welcome-features .gp-wf-item span {
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
}

/* Vertical service strip */
.gp-services-ui { background: #0d0d0d; overflow: hidden; }
.gp-services-strip {
    display: flex;
    gap: 12px;
    padding-bottom: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.gp-services-strip::-webkit-scrollbar { display: none; }
.gp-service-vertical {
    flex: 0 0 200px;
    scroll-snap-align: start;
    position: relative;
    height: 420px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border-radius: 2px;
}
@media (min-width: 1200px) {
    .gp-service-vertical { flex: 1; min-width: 0; max-width: none; }
    .gp-services-strip { overflow: visible; }
}
.gp-service-vertical picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.gp-service-vertical .gp-sv-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(1.1) contrast(1.1) saturate(1.12);
    transition: transform 8s ease, filter 0.4s ease;
}
.gp-service-vertical:hover .gp-sv-bg {
    transform: scale(1.08);
    filter: brightness(1.14) contrast(1.12) saturate(1.15);
}
.gp-service-vertical::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.45) 32%,
        rgba(0,0,0,0.12) 55%,
        transparent 72%
    );
    pointer-events: none;
}
.gp-service-vertical .gp-sv-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1rem;
    z-index: 2;
}
.gp-service-vertical .gp-sv-body i {
    color: var(--gp-gold);
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
    display: block;
}
.gp-service-vertical .gp-sv-body h3 {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}
.gp-service-vertical .gp-sv-body p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.45;
    text-shadow: 0 1px 10px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gp-service-vertical .gp-sv-arrow {
    position: absolute;
    bottom: 1.25rem;
    right: 1rem;
    color: var(--gp-gold);
    z-index: 2;
    font-size: 0.85rem;
}

/* Our Best Works — filtered grid */
.gp-works-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
}
.gp-works-item-wrap[hidden] {
    display: none !important;
}
.gp-works-item {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 4 / 5;
    background: #111;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.gp-works-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}
.gp-works-item:hover img,
.gp-works-item:focus-visible img { transform: scale(1.05); }
.gp-works-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.82) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 2;
}
.gp-works-item:hover .gp-works-overlay,
.gp-works-item:focus-visible .gp-works-overlay { opacity: 1; }
.gp-works-title {
    font-family: var(--gp-font-serif);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: #fff;
}
.gp-works-meta {
    font-size: 0.75rem;
    color: var(--gp-muted);
    letter-spacing: 0.06em;
}
.gp-works-link {
    margin-top: 0.65rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gp-gold);
}
.gp-works-item--film .gp-works-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--gp-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gp-gold);
    font-size: 1.35rem;
    z-index: 1;
    background: rgba(0,0,0,0.35);
    pointer-events: none;
}

@media (min-width: 576px) {
    .gp-works-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .gp-works-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    .gp-works-item-wrap:nth-child(1) .gp-works-item { aspect-ratio: 3 / 4; }
    .gp-works-item-wrap:nth-child(2) .gp-works-item { aspect-ratio: 1 / 1; }
    .gp-works-item-wrap:nth-child(3) .gp-works-item { aspect-ratio: 4 / 5; }
}

@media (hover: none) {
    .gp-works-overlay { opacity: 1; }
}

.gp-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-bottom: 2.5rem;
    border-bottom: none;
}
@media (min-width: 768px) {
    .gp-filter-tabs { gap: 0.5rem 2rem; }
}
.gp-filter-tabs a,
.gp-filter-tabs button {
    color: var(--gp-muted);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0 0 0.35rem;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    transition: all 0.3s;
    cursor: pointer;
}
.gp-filter-tabs a.active,
.gp-filter-tabs a:hover,
.gp-filter-tabs button.active,
.gp-filter-tabs button:hover {
    color: var(--gp-gold);
    border-bottom-color: var(--gp-gold);
}

/* Testimonials mockup layout */
.gp-testimonial-ui {
    position: relative;
    padding: 5rem 0;
    min-height: 520px;
}
.gp-testimonial-ui .gp-t-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
}
.gp-testimonial-ui .gp-t-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.82);
}
.gp-testimonial-ui .gp-t-quote-lg {
    font-family: var(--gp-font-serif);
    font-size: 5rem;
    line-height: 0.8;
    color: var(--gp-gold);
}
.gp-testimonial-ui .gp-award-badge {
    border: 1px solid var(--gp-border);
    padding: 2rem 1.5rem;
    text-align: center;
}
.gp-testimonial-ui .gp-award-badge .gp-laurel {
    color: var(--gp-gold);
    font-size: 2rem;
}
.gp-testimonial-ui .swiper-button-prev,
.gp-testimonial-ui .swiper-button-next {
    color: var(--gp-gold);
    width: 48px;
    height: 48px;
    border: 1px solid var(--gp-border);
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
}
.gp-testimonial-ui .swiper-button-prev::after,
.gp-testimonial-ui .swiper-button-next::after { font-size: 1rem; }

/* CTA full bleed */
.gp-cta-ui {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.gp-cta-ui h2 {
    font-family: var(--gp-font-serif);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Nav on home — transparent over hero */
.gp-nav-home:not(.scrolled) {
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
}
.gp-nav-home .navbar-brand {
    padding-top: 0.15rem;
}
@media (min-width: 992px) {
    .gp-nav-home .nav-link { font-size: 0.68rem; letter-spacing: 0.18em; padding: 0.5rem 0.65rem !important; min-height: 48px; }
}
@media (max-width: 991.98px) {
    .gp-nav-home .nav-link { font-size: 0.68rem; letter-spacing: 0.18em; padding: 0.75rem 0.85rem !important; min-height: 48px; min-width: 48px; }
}
.gp-nav-home .dropdown-menu {
    background: rgba(10,10,10,0.98);
    border: 1px solid var(--gp-border);
}
.gp-nav-home .dropdown-item { color: #fff; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.gp-nav-home .dropdown-item:hover { background: rgba(197,160,89,0.15); color: var(--gp-gold); }

@media (max-width: 991px) {
    .gp-welcome-features { grid-template-columns: 1fr; }
    .gp-hero-pagination { display: none; }

    .gp-hero-ui {
        min-height: 100svh;
        height: 100svh;
        overflow: hidden;
    }

    .gp-hero-ui .gp-hero-swiper,
    .gp-hero-ui .gp-hero-swiper .swiper-slide {
        min-height: 100%;
    }

    .gp-hero-ui .gp-hero-container {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        min-height: 100%;
        padding-top: 0;
    }

    .gp-hero-ui .gp-hero-container::before {
        display: none;
    }

    .gp-hero-ui .gp-hero-inner {
        flex: 0 0 auto;
        margin-top: 0;
        width: 100%;
        padding: 0 0 max(1.75rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem));
        text-align: left;
    }

    .gp-hero-ui .gp-hero-heading {
        font-size: clamp(1.65rem, 7.5vw, 2.35rem);
    }

    .gp-hero-ui .gp-hero-script {
        font-size: clamp(1.85rem, 8vw, 2.75rem);
        margin-bottom: 1rem;
    }

    .gp-hero-ui .gp-hero-tagline {
        font-size: 0.62rem;
        letter-spacing: 0.16em;
        margin-bottom: 0.85rem;
    }

    .gp-hero-ui .gp-hero-desc {
        font-size: 0.88rem;
        line-height: 1.65;
        margin-bottom: 1.5rem;
    }

    .gp-hero-ui .gp-hero-slide-overlay {
        background:
            linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.06) 40%, rgba(0,0,0,0.5) 58%, rgba(0,0,0,0.72) 100%),
            linear-gradient(100deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
    }
}

@media (max-width: 575.98px) {
    .gp-hero-ui .gp-hero-inner {
        padding-bottom: max(1.5rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
    }

    .gp-hero-ui .gp-hero-heading {
        font-size: clamp(1.5rem, 8.2vw, 2rem);
        letter-spacing: 0.01em;
    }

    .gp-hero-ui .gp-hero-script {
        font-size: clamp(1.65rem, 9vw, 2.35rem);
        margin-bottom: 0.85rem;
    }

    .gp-hero-ui .gp-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.65rem !important;
        margin-bottom: 1rem;
    }

    .gp-hero-ui .gp-hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.25rem;
    }

    .gp-hero-ui .gp-hero-watch {
        font-size: 0.65rem;
    }

    .gp-hero-ui .gp-hero-watch i {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
    }
}
