:root {
    --gp-black: #0a0a0a;
    --gp-dark: #111111;
    --gp-gold: #c5a059;
    --gp-gold-light: #e8d5a3;
    --gp-white: #ffffff;
    --gp-muted: rgba(255, 255, 255, 0.65);
    --gp-border: rgba(201, 169, 98, 0.35);
    --gp-font-serif: 'Playfair Display', Georgia, serif;
    --gp-font-sans: 'Montserrat', system-ui, sans-serif;
    --gp-font-script: 'Great Vibes', cursive;
}

* { box-sizing: border-box; }
html {
    scroll-behavior: auto;
}

body {
    font-family: var(--gp-font-sans);
    background: var(--gp-black);
    color: var(--gp-white);
    overflow-x: hidden;
    cursor: none;
}

body.loading {
    overflow: hidden;
    touch-action: none;
}

body:not(.loading) {
    touch-action: manipulation;
}

.gp-cursor {
    width: 12px;
    height: 12px;
    border: 2px solid var(--gp-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}
.gp-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(201, 169, 98, 0.15);
}

/* Preloader */
#gp-preloader {
    position: fixed;
    inset: 0;
    background: var(--gp-black);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s;
}
#gp-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
#gp-preloader .preloader-logo {
    max-width: 220px;
    animation: gpPulse 1.2s ease-in-out infinite;
}
@keyframes gpPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}

/* Scroll to top */
.gp-scroll-top {
    position: fixed;
    right: 1.25rem;
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    z-index: 1050;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gp-border);
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.92);
    color: var(--gp-gold);
    font-size: 1.35rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, background 0.3s, border-color 0.3s, color 0.3s;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
.gp-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.gp-scroll-top:hover,
.gp-scroll-top:focus-visible {
    background: var(--gp-gold);
    color: var(--gp-black);
    border-color: var(--gp-gold);
    outline: none;
}

/* Navbar */
.gp-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: max(1rem, env(safe-area-inset-top, 0px)) 0 1rem;
    transition: background 0.4s, padding 0.4s;
}
.gp-navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--gp-border);
}
.gp-navbar .nav-link {
    color: var(--gp-white);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    font-weight: 500;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}
@media (min-width: 992px) {
    .gp-navbar.navbar-expand-lg {
        flex-wrap: nowrap;
    }
    .gp-navbar.navbar-expand-lg > .container-fluid {
        flex-wrap: nowrap;
        align-items: center;
        position: relative;
    }
    .gp-navbar.navbar-expand-lg .navbar-brand {
        flex-shrink: 0;
        margin-right: 0;
    }
    .gp-navbar.navbar-expand-lg .navbar-toggler {
        display: none !important;
    }
    .gp-navbar.navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex: 1 1 0;
        flex-basis: 0 !important;
        flex-grow: 1 !important;
        justify-content: center;
        align-items: center;
        position: relative;
        background: none;
        border: none;
        margin-top: 0;
        padding: 0;
        max-height: none;
        overflow: visible;
    }
    .gp-navbar.navbar-expand-lg .navbar-nav {
        flex-direction: row;
        align-items: center;
        gap: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .gp-navbar.navbar-expand-lg .nav-link {
        min-height: 48px;
        min-width: 0;
        padding: 0.5rem 0.7rem !important;
    }
    .gp-navbar.navbar-expand-lg > .container-fluid > .gp-btn-consult {
        flex-shrink: 0;
        margin-left: 0.5rem;
    }
    .gp-navbar.navbar-expand-lg .gp-btn-consult--mobile {
        display: none !important;
    }
}
@media (max-width: 991.98px) {
    .gp-navbar > .container-fluid {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    .gp-navbar .navbar-toggler {
        min-width: 48px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }
    .gp-navbar .navbar-nav {
        gap: 0.25rem;
    }
    .gp-navbar .nav-link {
        min-height: 48px;
        min-width: 48px;
        padding: 0.75rem 1rem !important;
        width: 100%;
    }
    .gp-navbar .dropdown-item {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
}
.gp-navbar .nav-link:hover { color: var(--gp-gold); }
.gp-btn-consult {
    border: 1px solid var(--gp-gold) !important;
    color: var(--gp-gold) !important;
    background: transparent !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.75rem 1.25rem !important;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.gp-btn-consult:hover,
.gp-btn-consult:focus-visible {
    color: var(--gp-black) !important;
    background: var(--gp-gold) !important;
    border-color: var(--gp-gold) !important;
}
.gp-logo { height: 42px; width: auto; }

.btn-gp-gold {
    background: var(--gp-gold);
    color: var(--gp-black);
    border: none;
    padding: 0.85rem 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.35s;
}
.btn-gp-gold:hover {
    background: var(--gp-gold-light);
    color: var(--gp-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 98, 0.35);
}
.btn-gp-outline {
    background: transparent;
    color: var(--gp-white);
    border: 1px solid var(--gp-white);
    padding: 0.85rem 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.35s;
}
.btn-gp-outline:hover {
    border-color: var(--gp-gold);
    color: var(--gp-gold);
}
.btn-gp-outline-gold {
    border: 1px solid var(--gp-gold);
    color: var(--gp-gold);
    background: transparent;
    padding: 0.75rem 1.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.btn-gp-outline-gold:hover {
    background: var(--gp-gold);
    color: var(--gp-black);
}

/* Hero */
.gp-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.gp-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    will-change: transform;
}
.gp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.25) 100%),
                linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}
.gp-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.gp-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gp-gold);
    border-radius: 50%;
    opacity: 0.4;
    animation: gpFloat 8s infinite ease-in-out;
}
@keyframes gpFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
    50% { transform: translateY(-30px) translateX(10px); opacity: 0.7; }
}
.gp-hero-content { position: relative; z-index: 2; padding-top: 120px; }
.gp-hero-tagline {
    color: var(--gp-gold);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.gp-hero-title {
    font-family: var(--gp-font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}
.gp-hero-subtitle {
    font-family: var(--gp-font-script);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--gp-gold);
    margin-bottom: 2.5rem;
}
.gp-hero-title-single {
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    margin-bottom: 1.25rem;
}
.gp-hero-intro {
    font-size: 1rem;
    line-height: 1.85;
    max-width: 640px;
    margin-bottom: 0;
}
.gp-about-copy p { margin-bottom: 1rem; }
.gp-about-copy p:last-child { margin-bottom: 0; }
.gp-hero-slide-nav {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gp-hero-slide-nav span {
    font-size: 0.7rem;
    color: var(--gp-muted);
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: color 0.3s;
}
.gp-hero-slide-nav span.active { color: var(--gp-gold); }

/* Stats */
.gp-stats {
    position: relative;
    z-index: 8;
    background: var(--gp-dark);
    border-top: 1px solid var(--gp-border);
    border-bottom: 1px solid var(--gp-border);
    padding: 3.5rem 0;
}
.gp-stat-item {
    text-align: center;
    padding: 1rem;
    border-right: 1px solid var(--gp-border);
}
.gp-stat-item:last-child { border-right: none; }
.gp-stat-icon { color: var(--gp-gold); font-size: 1.75rem; margin-bottom: 1rem; }
.gp-stat-count {
    font-family: var(--gp-font-serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--gp-white);
}
.gp-stat-label {
    color: var(--gp-gold);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Section common */
main > section {
    position: relative;
    z-index: 2;
}
.gp-section { padding: 6rem 0; }
.gp-eyebrow {
    color: var(--gp-gold);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.gp-section-title {
    font-family: var(--gp-font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}
.gp-text-muted { color: var(--gp-muted); line-height: 1.8; }

/* About */
.gp-about-img {
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.gp-about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 520px;
    transition: transform 8s ease;
}
.gp-about-img:hover img { transform: scale(1.05); }
.gp-feature-grid .gp-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.gp-feature-grid .gp-feature-item i {
    color: var(--gp-gold);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

/* Service cards */
.gp-service-card {
    position: relative;
    min-height: 320px;
    border-radius: 2px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}
.gp-service-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease;
}
.gp-service-card:hover .gp-service-card-bg { transform: scale(1.08); }
.gp-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.2) 60%);
    transition: background 0.4s;
}
.gp-service-card:hover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(201,169,98,0.15) 50%, transparent 60%);
    z-index: 2;
    animation: gpShine 1s ease;
}
@keyframes gpShine {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}
.gp-service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem;
    z-index: 3;
}
.gp-service-card-content h3 {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.gp-service-card-content p { font-size: 0.8rem; color: var(--gp-muted); margin: 0; }
.gp-service-arrow {
    position: absolute;
    bottom: 1.75rem;
    right: 1.75rem;
    color: var(--gp-gold);
    z-index: 3;
}

/* Portfolio masonry */
.gp-portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.gp-portfolio-filters a {
    color: var(--gp-muted);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s;
}
.gp-portfolio-filters a.active,
.gp-portfolio-filters a:hover { color: var(--gp-gold); }
.gp-masonry { column-count: 3; column-gap: 1rem; }
@media (max-width: 992px) { .gp-masonry { column-count: 2; } }
@media (max-width: 576px) { .gp-masonry { column-count: 1; } }
.gp-masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}
.gp-masonry-item img {
    width: 100%;
    display: block;
    transition: transform 6s ease;
}
.gp-masonry-item:hover img { transform: scale(1.06); }
.gp-masonry-item .gp-masonry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    transition: opacity 0.4s;
}
.gp-masonry-item:hover .gp-masonry-overlay { opacity: 1; }

/* Testimonials */
.gp-testimonial-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}
.gp-testimonial-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.1);
    opacity: 0.25;
}
.gp-testimonial-quote {
    font-size: 4rem;
    color: var(--gp-gold);
    line-height: 1;
    font-family: var(--gp-font-serif);
}
.gp-stars { color: var(--gp-gold); }

/* CTA */
.gp-cta {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.gp-cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.gp-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}
.gp-cta h2 {
    font-family: var(--gp-font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    position: relative;
    z-index: 2;
}

/* Instagram */
.gp-insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}
@media (max-width: 575.98px) {
    .gp-insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.gp-insta-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}
.gp-insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gp-insta-item:hover img { transform: scale(1.1); }

/* Films netflix style */
.gp-film-card {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.4s, z-index 0.4s;
}
.gp-film-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.gp-film-card img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.gp-footer {
    background: var(--gp-dark);
    border-top: 1px solid var(--gp-border);
    padding: 4rem 0 2rem;
}
.gp-footer a { color: var(--gp-muted); text-decoration: none; transition: color 0.3s; }
.gp-footer a:hover { color: var(--gp-gold); }
.gp-footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.gp-footer ul a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0.625rem 0.5rem;
    margin: 0 -0.5rem;
}
.gp-footer .gp-footer-social a {
    min-width: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Page image focal point (admin Page Images) */
.gp-page-img-pos {
    object-position: var(--gp-pos-dx, 50%) var(--gp-pos-dy, 50%);
}
.gp-page-bg-pos {
    background-position: var(--gp-pos-dx, 50%) var(--gp-pos-dy, 50%);
}
@media (max-width: 991.98px) {
    .gp-page-img-pos { object-position: var(--gp-pos-tx, 50%) var(--gp-pos-ty, 50%); }
    .gp-page-bg-pos { background-position: var(--gp-pos-tx, 50%) var(--gp-pos-ty, 50%); }
}
@media (max-width: 575.98px) {
    .gp-page-img-pos { object-position: var(--gp-pos-mx, 50%) var(--gp-pos-my, 50%); }
    .gp-page-bg-pos { background-position: var(--gp-pos-mx, 50%) var(--gp-pos-my, 50%); }
}

/* Page hero inner */
.gp-page-hero {
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
    position: relative;
    background-size: cover;
    background-position: var(--gp-pos-dx, 50%) var(--gp-pos-dy, 50%);
}
.gp-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%);
}

/* Timeline */
.gp-timeline { position: relative; padding-left: 2rem; }
.gp-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--gp-gold);
}
.gp-timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
    padding-left: 2rem;
}
.gp-timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    background: var(--gp-gold);
    border-radius: 50%;
}
.gp-timeline-year {
    color: var(--gp-gold);
    font-family: var(--gp-font-serif);
    font-size: 1.5rem;
}

/* Admin */
.admin-sidebar {
    min-height: 100vh;
    background: #0d0d0d;
    border-right: 1px solid var(--gp-border);
}
.admin-sidebar .nav-link {
    color: var(--gp-muted);
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: var(--gp-gold);
    background: rgba(201, 169, 98, 0.08);
}

@media (max-width: 991px) {
    body { cursor: auto; }
    .gp-cursor { display: none; }
    .gp-hero-slide-nav { display: none; }
    .gp-stat-item { border-right: none; border-bottom: 1px solid var(--gp-border); }
    .gp-section { padding: clamp(3rem, 8vw, 4.5rem) 0; }
}
