/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #111111;
    color: #eeeeee;
}

/* Hero Section Container */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #111111;
    background-image: url('assets/client-pngs.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(17, 17, 17, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.subheading {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #FFFF00;
}

.view-counter {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    color: #FFFF00;
}

.cta-text {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #FFFF00;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: #111111;
    color: #FFFF00;
    border: 2px solid #FFFF00;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #FFFF00;
    color: #111111;
}

.content-section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    color: #FFFF00;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #eeeeee;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #222222;
    border: 1px solid #333333;
    color: #eeeeee;
    font-size: 1rem;
    border-radius: 5px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #FFFF00;
}

.g-recaptcha {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .view-counter {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* Social Clips Banner */
.social-clips-banner {
    width: 100%;
    height: 300px;
    background-color: #111111;
    overflow: hidden;
    border-top: 1px solid #333333; 
    border-bottom: 1px solid #333333;
}

.clips-scroll-container {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
    width: 100%;
    padding: 0 20px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    
    /* Added to center clips when space permits */
    justify-content: center;
}

.clips-scroll-container::-webkit-scrollbar {
    display: none;
}

.tr3p-field {
    position: absolute;
    left: -5000px;
    top: -5000px;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

/* Safari Wrapper Scale Fix */
.iframe-wrapper {
    height: 260px;
    width: 160px;
    flex: 0 0 160px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    
    /* Safari hardware acceleration fixes */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.iframe-wrapper iframe {
    /* Render at standard mobile width, then scale down 50% */
    width: 320px; 
    height: 520px;
    border: none;
    transform: scale(0.5);
    transform-origin: top left;
}

/* About Section Photos */
.about-photos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 25px auto 35px auto;
    max-width: 900px;
    flex-wrap: wrap;
}

.about-photo {
    width: calc(50% - 12px);
    max-width: 420px;
    max-height: 360px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Stack photos on mobile screens */
@media (max-width: 650px) {
    .about-photo {
        width: 100%;
        max-width: 100%;
    }
}