/* ==========================================================================
   Parallax Starter - Free HTML CSS Template
   
TemplateMo 612 Parallax Starter

https://templatemo.com/tm-612-parallax-starter

   ========================================================================== */

/* --- CSS Variables --- */
:root {
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-20: rgba(255, 255, 255, 0.2);
    --nav-bg: rgba(0, 0, 0, 0.25);
    --nav-bg-scrolled: rgba(0, 0, 0, 0.85);
    --transition-smooth: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Showreel Pop up --- */
video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  margin: 0 auto;
  z-index: -1;
}

/* Hidden by default */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(0, 0, 0, 0.4);*/
  justify-content: center;
  align-items: center;
}

/* Modal Box */
.modal-content {
  position: relative;
  margin: 0 auto;
  height: auto;
  width: 100%;
  max-width:1400px;
  /*background: #000;*/
}

.modal-content video {
  width: 100%;
  display: block;
}

.modal-content iframe{
    width:100%;
    /*padding: 5%;*/
    margin: 0 auto;
}

/* Close Button */
#closeBtn {
  position: absolute;
  top: 0px;
  right: 20px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

/* --- My extras --- */
.SlapstickLogo {
    display: flex;
    width: 100%;
    height: 100%;
    margin-left: 0;
    margin-right: auto;
    padding-right: 30px;
    align-items: center;
    cursor: pointer;
}

.SlapstickLogo img {
    height: 100px;
    width: auto;
    filter: grayscale(0.25);
}

.SlapstickLogo:hover img {
    filter: grayscale(0);
    transform: scale(1.002);
}

.linkedin {
    height: 100%;
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: rgb(30, 30, 30);
}

.linkedin-title {
    align-content: center;
    height: 80px;
    width: 500px;
    text-align: left;
    margin: 2%;
}

.linkedin-title h2 {
    font-family: Arial, sans-serif;
    color: var(--white);
    font-size: 20px;
    line-height: 1.5;
}

.linkedin-title h3 {
    font-family: Arial, sans-serif;
    color: var(--white-40);
    font-size: 16px;
    line-height: 1.5;
}

.linkedin-text {
    font-family: Arial, sans-serif;
    color: var(--white);
    font-size: 16px;
    letter-spacing: 2.0;
    line-height: 1.5;
    text-align: left;
    margin: 2%;
}

.linkedin-profile {
    position: relative;
    float: left;
    align-content: center;
    width: 50px;
    height: 80px;
    margin: 2%;
}

.linkedin-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.linkedin-logo {
    position: absolute;
    float: right;
    width: 20px;
    height: 20px;
    bottom: 12%;
    right: 0;
}

.linkedin-logo img {
    width: 20px;
    height: 20px;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    border-radius: 10%;
}

.hat-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-bottom: 15px;
}
/* --- Dimensions of image divided by 6 --- */
.hat-logo img {
    width: 150px;
    height: 140px;
}

.site-links {
    display: inline-block;
    vertical-align: top;
    font-weight: bold;
    width: 30%;
    height: 200px;
    margin: 1%;
}

.site-info {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    width: 30%;
    height: 200px;
    margin: 1%;
}

.site-info p {
    font-weight: bold;
    color: var(--white-70);
}

.gmap-content {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    height: 200px;
    margin: 1%;
}

#gmap-text {
    float: left;
    text-align: right;
    height: 100%;
    width: 30%;
    padding-right: 5%;
}

#gmap-text p {
    font-weight: bold;
    color: var(--white-70);
}

#gmap {
    float: right;
    width: 70%;
    height: 100%;
    border-radius: 5%;
}

.social-box {
    display: inline-block;
    align-content: center;
    height: 80px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.social-links {
    display: inline-block;
    place-items: center;
    height: 40px;
    width: 40px;
    margin: 5px;
}

.btn-social img {
    display: inline-block;
    height: 40px;
    width: 40px;
    filter: grayscale(0.25);
}

.btn-social:hover img {
    filter: grayscale(0);
    transform: scale(1.04);
}

.siteNav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.siteNav-links a {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2.5px;
    color: var(--white-70);
    transition: color var(--transition-smooth), opacity var(--transition-smooth);
}

.siteNav-links a:hover,
.siteNav-links a.active {
    color: var(--white);
}

/* --- Navigation --- */
#templatemo-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background var(--transition-smooth);
}

#templatemo-nav.scrolled {
    background: var(--nav-bg-scrolled);
}

/* --- height changed from 70px --- */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 140px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--white);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2.5px;
    color: var(--white-70);
    transition: color var(--transition-smooth), opacity var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-smooth);
}

/* --- Parallax Sections --- */
.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Parallax Background Image Layer
   Height is 200% and starts at top: -50% to give
   maximum room for large vertical translations */
.parallax-bg {
    position: absolute;
    top: -50%;
    left: -0%;
    width: 100%;
    height: 200%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
    background-color: black;
}

.parallax-bg.grey {
    position: absolute;
    top: -50%;
    left: -0%;
    width: 100%;
    height: 200%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
    background-color: #111;
}

/* Dark Overlay */
.parallax-overlay {
    position: absolute;
    inset: 0;
    /*background: rgba(0, 0, 0, 0.42);*/
    background: rgba(0, 0, 0, 0.20);
    z-index: 1;
}

.parallax-overlay.overlay-dark {
    background: rgba(0, 0, 0, 0.60);
}

.parallax-overlay.overlay-medium {
    background: rgba(0, 0, 0, 0.50);
}

.parallax-overlay.overlay-none {
    background: rgba(0, 0, 0, 0);
}

/* Content Layer */
.section-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 100px 30px;
    text-align: center;
}

/* --- Typography --- */
.section-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: clamp(36px, 6vw, 64px);
    letter-spacing: 5px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title {
    font-weight: 600;
    letter-spacing: 5px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: clamp(13px, 1.6vw, 20px);
    letter-spacing: 4px;
    color: var(--white-70);
    margin-bottom: 40px;
}

.caps {
    text-transform: uppercase;
}

.content-block {
    max-width: 1200px;
    margin: 0 auto;
    /*text-align: center;*/
}

.content-block p {
    font-size: 20px;
    color: var(--white-70);
    letter-spacing: 2px;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* --- Stats Row --- */
.reels {
    display: flex;
    justify-content: center;
    gap: 70px;
    margin-top: 45px;
    padding-top: 40px;
    border-top: 1px solid var(--white-20);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 70px;
    margin-top: 45px;
    padding-top: 40px;
    border-top: 1px solid var(--white-20);
}

.stat-item {
    text-align: center;
}

.stat-item-thumb {
    margin-top: 20px;
    width: 100%;
    padding: 5px;
    border-radius: 20px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(255,255,255,0.8) 100%);
}

.stat-item-thumb img { 
    width: 100%;
    max-height: 100%;
    border-radius: 20px;
    filter: grayscale(25%);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    padding-top: 20px;
    font-size: 16px;
    letter-spacing: 3px;
    color: var(--white-70);
}

/* --- Hero Button --- */
.btn-scroll {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--white);
    border: 1px solid var(--white-40);
    padding: 14px 45px;
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.btn-scroll:hover {
    background: var(--white);
    color: #111;
    border-color: var(--white);
}

/* --- About Columns --- */
.aboutText {
    margin-bottom: 3%;
}

.aboutText p {
    font-size: 20px;
    color: var(--white-70);
    letter-spacing: 2px;
    line-height: 1.9;
    margin-top: 0px;
}

.aboutText a {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500px;
    color: var(--white-90);
    letter-spacing: 3px;
    line-height: 1.9;
    /*text-decoration: underline;*/
}

.aboutText i {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500px;
    color: var(--white-90);
    letter-spacing: 3px;
    line-height: 1.9;
}

.about-cols {
    display: grid;
    justify-content: center;
    place-items: center;
    text-align: center;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin-top: 3%;
    margin-bottom: 3%;
}

.about-col {
    background: rgba(0, 0, 0, 0.0);
    padding: 0px 20px;
    min-width: 100%;
    height: 100%;
}

.about-thumb {
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding: 5px;
    border-radius: 20px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(255,255,255,0.8) 100%);
}

.about-left {
    float: left;
    height: 100%;
}

.about-right {
    float: right;
    height: 100%;
    filter: grayscale(75%);
}

.about-thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: auto 0;
    border-radius: 20px;
    opacity: 0.8;
}

.gallery-carousel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 50px;
}
/* -- Services Grid -- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    min-height: 780px; /* originally 900px, adjust with servive-thumb max-height */
}

.service-thumb {
    overflow: hidden;
    justify-items: center;
    width: 100%;
    height: 100%;
    max-height: 450px; /* originally 600px */
    padding: 5px;
    border-radius: 20px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(255,255,255,0.8) 100%);
}

.service-thumb img {
    width: 100%;
    height: 100%;
    max-height: 450px; /* originally 600px */
    object-fit: cover;
    display: block;
    border-radius: 20px;
    /*opacity: 0.8;*/
    filter: grayscale(25%);
}

.service-item {
    text-align: center;
}

.service-icon {
    margin-top: 20px;
    margin-bottom: 20px;
    opacity: 0.85;
    filter: invert(100%);
    place-items: center;
}

.service-icon img {
    height: 120px;
    width: 120px;
}

.service-item h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 12px;
    color: var(--white);
}

.service-item p {
    font-size: 20px;
    letter-spacing: 2px;
    color: var(--white-70);
    line-height: 1.9;
}

.section-separate {
    display: flex;
    height: 1px;
    background-color: #111;
}

/* --- Contact Form --- */
.contact-form-wrap {
    max-width: 600px;
    margin: 0 auto;
    scroll-margin-top: 80px; /* Adjust this number higher if it still hides under your testimonial section */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--white-20);
    padding: 16px 20px;
    outline: none;
    transition: border-color var(--transition-smooth);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--white-40);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--white-70);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--white-40);
    padding: 16px 45px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    align-self: flex-start;
    text-transform: uppercase;
}

.btn-submit:hover {
    background: var(--white);
    color: #111;
    border-color: var(--white);
}

/* --- Contact success message --- */
.success-box {
    border: 1px solid #00a000;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    /*background: #e6ffe6;*/
    background: rgba(230, 255, 230, 0.5);
}

.success-box h3 {
    font-weight: bold;
    color: #006600;
}

/* --- Footer --- */
#templatemo-footer {
    background: #111;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
    color: var(--white-40);
    letter-spacing: 1px;
}

#templatemo-footer a {
    color: var(--white-70);
    transition: color var(--transition-smooth);
}

#templatemo-footer a:hover {
    color: var(--white);
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* --- Height of Text on first page --- */
.reveal.visible {
    opacity: 1;
    transform: translateY(60px);
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 991px) {
    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 30px;
        padding: 100px 30px 60px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .services-grid {
        display: inline-block;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .about-cols {
        display: inline-block;
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .stats-row {
        gap: 40px;
    }

    .reels {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Disable parallax on mobile — static bg */
    .parallax-bg {
        top: 0;
        height: 100%;
    }

    .section-title {
        letter-spacing: 4px;
    }

    .section-subtitle {
        letter-spacing: 2px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .stats-row {
        flex-direction: column;
        gap: 30px;
    }

    .reels {
        flex-direction: column;
        gap: 30px;
    }

    .form-row {
        flex-direction: column;
    }

    .btn-submit {
        align-self: stretch;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 30px;
    }

    .section-content {
        padding: 80px 20px;
    }

    .section-title {
        letter-spacing: 3px;
    }

    /*.content-block p {
        font-size: 15px;
    }*/

    .stat-number {
        font-size: 34px;
    }
}
