/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --bg-dark: #070707;
    --bg-darker: #030303;
    --gold: #D4AF37;
    --gold-light: #F9A826;
    --forest: #1A2421;
    --text-main: #F5F5F5;
    --text-muted: #888888;
    --font-display: 'Syne', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fix Right-Side Gap / Horizontal Overflow */
html,
body {
    width: 100%;
    
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-y: hidden;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--gold);
    color: var(--bg-dark);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
img { width: 100%; display: block; object-fit: cover; }

.noise-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    pointer-events: none;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.90%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22 opacity=%220.06%22/%3E%3C/svg%3E');
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 8vw;
}

.title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.gold-text { color: var(--gold); }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000; display: flex; justify-content: center; align-items: center;
    pointer-events: none;
}
.preloader-panel {
    position: absolute; width: 100%; height: 50vh; background: var(--bg-darker); z-index: 10001;
}
.preloader-top { top: 0; border-bottom: 1px solid rgba(212, 175, 55, 0.1); }
.preloader-bottom { bottom: 0; }
.preloader-svg-wrapper { position: relative; z-index: 10002; width: 150px; height: 150px; }

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
header {
    position: fixed; top: 0; left: 0; width: 100%; padding: 2rem 8vw;
    z-index: 9000; display: flex; justify-content: space-between; align-items: center;
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    background: linear-gradient(to bottom, rgba(3, 3, 3, 0.8), transparent);
}
.logo {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
    letter-spacing: 1px; display: flex; align-items: center; gap: 10px;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-links li a {
    font-size: 0.9rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 1.5px; position: relative; transition: color 0.3s;
}
.nav-links li a::after {
    content: ''; position: absolute; width: 0%; height: 1px;
    background: var(--gold); bottom: -5px; left: 0; transition: width 0.3s ease;
}
.nav-links li a:hover { color: var(--gold); }
.nav-links li a:hover::after { width: 100%; }
.menu-toggle { display: none; font-size: 2rem; color: var(--gold); cursor: pointer; z-index: 9001; }

/* ==========================================================================
   Button: Shine Effect
   ========================================================================== */
.shine-btn {
    display: inline-block; margin-top: 3rem; padding: 1.5rem 3rem;
    border: 1px solid var(--gold); border-radius: 50px; font-size: 1.1rem;
    text-transform: uppercase; font-weight: 600; color: var(--text-main);
    background: transparent; cursor: pointer; position: relative;
    overflow: hidden; transition: background 0.3s, color 0.3s, transform 0.3s;
}
.shine-btn::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.4), transparent);
    transform: skewX(-25deg); animation: shineSweep 3s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes shineSweep {
    0% { left: -100%; }
    50% { left: 200%; }
    100% { left: 200%; }
}
.shine-btn:hover { background: rgba(212, 175, 55, 0.1); transform: translateY(-3px); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative; height: 100vh; width: 100%; display: flex;
    justify-content: center; align-items: center;
    background: url('assets/img/bbb.jpg') no-repeat center center/cover;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(45deg, rgba(3, 3, 3, 0.9), rgba(26, 36, 33, 0.6));
}
.hero-content {
    position: relative; z-index: 10; text-align: center; display: flex;
    flex-direction: column; align-items: center; padding: 0 5vw;
}
.hero-content p { margin-top: 1rem; font-size: clamp(0.9rem, 2vw, 1.2rem); letter-spacing: 3px; text-transform: uppercase; }
.hero-eye-wrapper { width: 250px; height: 250px; margin-bottom: 2rem; filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3)); }

/* ==========================================================================
   About Section
   ========================================================================== */
.about { padding: 15vh 0; background: var(--bg-dark); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { font-size: 1.2rem; line-height: 1.8; color: var(--text-muted); margin-top: 2rem; }
.about-img-wrapper { position: relative; height: 70vh; overflow: hidden; border-radius: 4px; }
.about-img-inner {
    position: absolute; top: -10%; left: 0; width: 100%; height: 120%;
    background: url('assets/img/logo-tp.PNG') center/cover;
}

/* ==========================================================================
   Counter Section
   ========================================================================== */
.counter-section {
    padding: 10vh 0;
    background: var(--bg-darker);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.counter-item h3 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.counter-item p {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.5rem;
    }
}
@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services { padding: 15vh 0; position: relative; background: var(--bg-darker); }
.services-wrapper { display: flex; align-items: flex-start; position: relative; }
.services-left {
    width: 40%; position: -webkit-sticky; position: sticky;
    top: 30vh; padding-right: 4rem; height: fit-content;
}
.services-left .title { font-size: clamp(2.5rem, 3vw, 4rem); }
.services-left p { margin-top: 2rem; color: var(--text-muted); font-size: 1rem; line-height: 1.7; max-width: 90%; }
.services-right { width: 60%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.service-card { position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; cursor: pointer; background: #111; }
@media (min-width: 769px) { .service-card:nth-child(even) { margin-top: 4rem; } }
.service-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.service-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
}
.service-card h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); margin-bottom: 0; transform: translateY(0); transition: transform 0.5s ease; }
.service-card p {
    color: #ddd; font-size: 1rem; line-height: 1.6; opacity: 0; max-height: 0; overflow: hidden;
    transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; margin-top: 1rem;
}
.service-card:hover .service-bg { transform: scale(1.1); }
.service-card:hover .service-overlay { background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 50%, rgba(0, 0, 0, 0.25) 100%); }
.service-card:hover h3 { transform: translateY(-5px); }
.service-card:hover p { max-height: 150px; opacity: 1; transform: translateY(0); transition-delay: 0.1s; }

/* ==========================================================================
   Featured Works
   ========================================================================== */
.works { padding: 15vh 0; background: var(--bg-dark); }
.works-header { text-align: center; margin-bottom: 5rem; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.work-card { position: relative; aspect-ratio: 9/16; overflow: hidden; border-radius: 4px; cursor: pointer; background: #000; }
.work-img, .work-video { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: opacity 0.4s ease, transform 0.8s ease; }
.work-video { opacity: 1; pointer-events: none; }
.work-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 40%);
    display: flex; align-items: flex-end; justify-content: center; padding: 2.5rem 1rem; opacity: 1; z-index: 2; pointer-events: none;
}
.work-overlay h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); text-transform: uppercase; text-align: center; margin: 0; }
.play-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    z-index: 3; background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    transition: opacity 0.4s ease, transform 0.4s ease; pointer-events: none;
}
.play-icon::before { content: ''; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid #fff; margin-left: 5px; }
.work-card:hover .work-img, .work-card:hover .work-video { opacity: 1; transform: scale(1.05); }
.work-card:hover .play-icon { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }

.video-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px); z-index: 10000; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.video-modal.active { opacity: 1; pointer-events: auto; }
.video-modal video { width: 80vw; height: 80vh; object-fit: contain; border: 1px solid rgba(212, 175, 55, 0.2); }
.close-modal { position: absolute; top: 40px; right: 40px; font-size: 3rem; color: var(--text-main); cursor: pointer; transition: color 0.3s; font-family: var(--font-display); line-height: 1; }
.close-modal:hover { color: var(--gold); }

/* ==========================================================================
   Team Section
   ========================================================================== */
.team { padding: 10vh 0; background: var(--bg-darker); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 4rem; }
.team-member { position: relative; overflow: hidden; cursor: pointer; border-radius: 4px; }
.team-img { height: 500px; filter: grayscale(100%) contrast(120%); transition: filter 0.5s ease, transform 0.6s ease; }
.team-info {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(20px); opacity: 0; transition: all 0.4s ease;
}
.team-member:hover .team-img { filter: grayscale(0%) contrast(100%); transform: scale(1.05); }
.team-member:hover .team-info { transform: translateY(0); opacity: 1; }
.team-info h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }
.team-info p { font-size: 0.9rem; color: #ccc; margin-top: 5px; }

/* ==========================================================================
   CTA & Contact / Footer
   ========================================================================== */
.cta {
    position: relative; height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center;
    background: url('assets/img/aaa.jpg') fixed center/cover;
}
.cta::before { content: ''; position: absolute; inset: 0; background: rgba(7, 7, 7, 0.8); }
.cta-content { position: relative; z-index: 10; }

/* ==========================================================================
   Testimonials Slider Section
   ========================================================================== */
.testimonials { padding: 15vh 0; background: var(--bg-dark); }
.testimonials-header { text-align: center; margin-bottom: 3rem; }

.testimonials-slider-wrap {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0; /* Padding allows the hover shadow/transform to not be cut off */
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
    /* Calculates exactly 3 cards per row, subtracting the 2rem gaps */
    flex: 0 0 calc((100% - 4rem) / 3);
    background: var(--bg-darker);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
}

.quote-icon {
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.15;
    position: absolute;
    top: -0.5rem;
    right: 1.5rem;
    font-family: var(--font-display);
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.client-info h4 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.client-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
    text-transform: uppercase;
}

/* Pagination Controls */
.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
}

.slider-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

.slider-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gold);
    transform: scale(1.3);
}




.contact-footer { padding: 10vh 0 0; background: var(--bg-dark); }
.contact-form { max-width: 600px; margin: 0 auto 5rem; }
.input-group { position: relative; margin-bottom: 3rem; }
.input-group input, .input-group textarea {
    width: 100%; padding: 10px 0; background: transparent; border: none; border-bottom: 1px solid #333;
    color: var(--text-main); font-size: 1.1rem; font-family: var(--font-body); outline: none; resize: none;
}
.input-group label { position: absolute; top: 10px; left: 0; color: var(--text-muted); pointer-events: none; transition: 0.3s ease all; }
.input-group input:focus~label, .input-group input:valid~label, .input-group textarea:focus~label, .input-group textarea:valid~label { top: -20px; font-size: 0.8rem; color: var(--gold); }
.input-border { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: 0.4s ease all; }
.input-group input:focus~.input-border, .input-group textarea:focus~.input-border { width: 100%; }
.submit-btn { background: none; border: none; color: var(--gold); font-family: var(--font-display); font-size: 1.5rem; cursor: pointer; position: relative; text-transform: uppercase; font-weight: 700; padding: 1.5rem 3rem; width: 100%; }

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 4rem 0 2rem; display: flex;
    justify-content: space-between; align-items: flex-start; font-size: 0.95rem; color: var(--text-muted); line-height: 1.8;
}
footer>div { flex: 1; }
footer>div:nth-child(2) { text-align: center; }
footer>div:nth-child(3) { text-align: right; }
footer ul li { transition: color 0.3s ease; }
footer ul li:hover { color: var(--gold); }
footer .social-media{position: absolute;  transition: transform 0.7 ease;}
footer .social-media:hover{color: #ffffff; transform: scale(1.1);}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 1024px) {
    .services-wrapper { flex-direction: column; gap: 3rem; }
    .services-left { width: 100%; position: relative; top: 0; padding-right: 0; text-align: center; }
    .services-left p { margin: 1rem auto 0; max-width: 600px; }
    .services-right, .works-grid { width: 100%; }
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    footer { padding: 3rem 0; }
    .testimonial-card {flex: 0 0 calc((100% - 2rem) / 2);}
}

@media (max-width: 768px) {
    .container { padding: 0 5vw; }
    header { padding: 1.5rem 5vw; }
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 70vw; height: 100vh; background: var(--bg-darker);
        flex-direction: column; justify-content: center; align-items: center; transition: right 0.4s ease;
        z-index: 9000; border-left: 1px solid rgba(212, 175, 55, 0.2);
    }
    .nav-links.nav-active { right: 0; }
    .nav-links li { margin-bottom: 2rem; }
    .nav-links li a { font-size: 1.2rem; }
    .title { font-size: 3rem; }
    .about-split, .services-right, .works-grid, .team-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .services-right, .works-grid, .team-grid { gap: 1.5rem; }
    .team-img { filter: grayscale(0%) contrast(100%); transform: scale(1.05); }
    .team-info { transform: translateY(0); opacity: 1; }
    .service-overlay { padding: 1.5rem; }
    footer { flex-direction: column; align-items: center; text-align: center; gap: 2.5rem; }
    footer>div { width: 100%; }
    footer>div:nth-child(2), footer>div:nth-child(3), footer>div:nth-child(4) { text-align: center; }
    .testimonial-card {flex: 0 0 100%;}
}

@media (max-width: 480px) {
    .title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-content p { font-size: 0.8rem; letter-spacing: 2px; }
    .shine-btn { padding: 1rem 2rem; font-size: 0.95rem; }
    .team-img { height: 400px; }
    .service-overlay h3, .work-overlay h3 { font-size: 1.5rem; }
}