/**
 * fullPage.js Section Styles
 */

/* ========================================
   FIXED TOP NAVIGATION
   ======================================== */
.main-nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: transparent;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-email {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-email:hover {
    color: #6ba3c5;
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
}

.menu-icon {
    width: 25px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle:hover .menu-icon {
    background: #fff;
}

/* Menu open state */
.menu-toggle.active .menu-icon:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active .menu-icon:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-icon:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Desktop Menu */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.nav-menu a:hover {
    color: #fff;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .main-nav-fixed {
        padding: 0 20px;
        height: 50px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(1, 2, 24, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        display: block;
        padding: 20px 0;
        font-size: 1.1rem;
    }
    
    .nav-email {
        font-size: 0.85rem;
    }
}

/* ========================================
   LOADING OVERLAY - PREVENT FLICKER
   ======================================== */
html, body {
    background-color: #010216;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #010216 0%, #0E122B 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

#fullpage {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#fullpage.loaded {
    opacity: 1;
}

/* ========================================
   BASE FULLPAGE OVERRIDES
   ======================================== */
#fullpage {
    position: relative;
}

.section {
    position: relative;
    text-align: center;
}

.section-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* fullPage.js navigation dots */
#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    background: rgba(255, 255, 255, 0.5);
}

#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-slidesNav ul li:hover a.active span {
    background: #fff;
}

/* fullPage.js tooltips */
#fp-nav ul li .fp-tooltip {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    white-space: nowrap;
    max-width: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    top: -6px;
}

#fp-nav ul li:hover .fp-tooltip,
#fp-nav ul li .fp-tooltip.active {
    opacity: 1;
}

/* Hide Intro tooltip when on intro section */
.fp-viewing-intro #fp-nav ul li:first-child .fp-tooltip {
    display: none;
}

#fp-nav.fp-right {
    right: 20px;
}

#fp-nav ul li .fp-tooltip.fp-right {
    right: 30px;
}

/* Custom navigation (if needed) */
.fp-navigation {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    z-index: 100;
}

.fp-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-navigation ul li {
    margin: 15px 0;
}

.fp-navigation ul li a {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.fp-navigation ul li a:hover,
.fp-navigation ul li a.active {
    background: #fff;
    transform: scale(1.3);
}

.fp-navigation ul li a span {
    display: none;
}

/* ========================================
   SECTION 1: INTRO/HERO
   ======================================== */
.fp-section-intro {
    background: linear-gradient(to right, #010216 0%, #0E122B 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Background wave lines */
.intro-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.fp-section-intro .section-content {
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
}

.logo-animation {
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.logo-svg {
    width: 25%;
    height: auto;
}

/* Intro tagline */
.intro-tagline {
    margin-top: 40px;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    animation: fadeInTagline 7.5s ease-out forwards 8s;
}

@keyframes fadeInTagline {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    cursor: pointer;
    animation: fadeInScroll 1.5s ease-out forwards 9.5s, bounce 2s ease-in-out infinite 11s;
}

@keyframes fadeInScroll {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.6;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}


@media (max-width: 768px) {
    .logo-svg {
        width: 50%;
    }
    
    .intro-tagline {
        font-size: 0.95rem;
        margin-top: 25px;
        letter-spacing: 0.1em;
    }
    
    .scroll-indicator {
        bottom: 30px;
        right: 30px;
    }
    
    .scroll-indicator svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   SECTION 2: MISSION
   ======================================== */
.fp-section-mission {
    --mission-panel-width: 42%;
    --mission-photo-overlap: 0%;
    background: linear-gradient(to right, #010216 0%, #0E122B 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Full-screen photo background */
.mission-video-container {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: calc(100% + 2px);
    z-index: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, black calc(100% - var(--mission-panel-width) + var(--mission-photo-overlap)), transparent calc(100% - var(--mission-panel-width) + var(--mission-photo-overlap)));
    mask-image: linear-gradient(to right, black calc(100% - var(--mission-panel-width) + var(--mission-photo-overlap)), transparent calc(100% - var(--mission-panel-width) + var(--mission-photo-overlap)));
}

.mission-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left 40%; /* adjust % to reframe vertically: 0% = top, 50% = centre, 100% = bottom */
    transform-origin: left center;
}

.fp-section-mission.mission-animated .mission-photo {
    animation: zoom-hold 12s ease-out forwards;
}

@keyframes zoom-hold {
    from { 
        transform: scale(1);
    }
    to { 
        transform: scale(1.05);
    }
}

/* Right side overlay: Text content */
.mission-content {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--mission-panel-width);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5vh;
    padding: 8vh 10% 8vh 8%;
    z-index: 2;
}

/* Individual text blocks - no longer separate boxes */
.mission-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Divider between blocks instead of two separate cards */
.mission-section + .mission-section {
    padding-top: 5vh;
}

.mission-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    width: 100%;
    max-width: 500px;
}

/* Responsive */
/* ========================================
   SECTION 3: WORK PORTFOLIO
   ======================================== */
.fp-section-work {
    background: linear-gradient(to right, #010216 0%, #0E122B 100%);
    color: #fff;
    position: relative;
}

.work-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.fp-section-work .section-content {
    padding: 0;
    max-width: none;
    position: relative;
    z-index: 2;
}

/* Work section title - hidden on desktop */
.work-section-title {
    display: none;
}

/* Work grid container - full viewport */
.work-grid-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    background: transparent;
}

/* Swiper container */
/* Desktop swiper - hidden on mobile */
.work-swiper-desktop {
    width: 100%;
    max-width: 1600px;
    max-height: calc(100vh - 100px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile swiper - hidden on desktop */
.work-swiper-mobile {
    display: none;
}

.swiper-wrapper {
    width: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Work grid - 4x2 layout */
.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-height: 100%;
}

/* Desktop only - restores two constraints that were previously (and silently)
   coming from a legacy rule in style.css, now removed. Testing whether
   reinstating these two specifically accounts for the sizing change. */
.work-swiper-desktop .work-grid {
    max-width: 1200px;
}

/* Individual work cards */
.work-card {
    background: rgba(1, 2, 24, 0.6);
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Desktop only — mobile cards keep intrinsic auto height */
.work-swiper-desktop .work-card {
    aspect-ratio: 3 / 4;
    max-height: calc((100vh - 120px) / 2);
    box-sizing: border-box;
}

/* Trailing slide with fewer than a full row of cards (e.g. only 1 left over):
   without this, a lone card sits narrow in column 1 of the still-4-column
   grid, since grid-template-columns doesn't collapse just because there's
   only one item. This spans it across the full area and centers a
   sensibly-sized card instead. */
.work-swiper-desktop .work-grid .work-card:only-child {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    justify-self: center;
    align-self: center;
    width: 320px;
}

.work-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 30px rgba(107, 163, 197, 0.2);
}

.work-card-image {
    width: 100%;
    flex-shrink: 0;
}

.work-card-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.work-card-content {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.work-card-content h2 {
    font-size: 16px;
    margin: 0;
    color: #fff;
    line-height: 1.3;
    height: 21px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

.work-card-title-secondary {
    font-size: 16px;
    margin: 0;
    color: #fff;
    line-height: 1.3;
    height: 21px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
}

.work-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    overflow: hidden;
    flex-grow: 1;
}

/* Swiper navigation arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    width: 44px;
    height: 44px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 0.8;
}

/* GLightbox popup overrides */
.glightbox-container .gslide-description {
    background: transparent;
}

.glightbox-desc-custom {
    color: #fff;
    padding: 20px 0;
}

.glightbox-desc-custom h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.glightbox-clean .gslide-inline {
    background: transparent;
}

.work-meta {
    margin-bottom: 15px;
}

.work-meta p {
    margin: 8px 0;
    font-size: 0.95rem;
}

.meta-label {
    color: #6ba3c5;
    font-weight: 600;
}

.work-excerpt-full hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

.work-excerpt-full {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.gslide-media {
    border: none;
}

.glightbox-iframe-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.glightbox-iframe-wrap iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* ========================================
   SECTION 4: ABOUT
   ======================================== */
.fp-section-about {
    background: linear-gradient(to right, #010216 0%, #0E122B 100%);
    color: #fff;
    position: relative;
}

.about-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.fp-section-about .section-content {
    max-width: 100%;
    width: 100%;
    height: 100%;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    max-width: 1600px;
    height: auto;
    gap: 30px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.about-quadrant {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    overflow: hidden;
    background: rgba(1, 2, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
}

/* Photo quadrants */
.about-photo-primary,
.about-photo-secondary {
    padding: 0;
    position: relative;
    background: rgba(1, 2, 24, 0.6);
}

.about-photo-primary img,
.about-photo-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Flip card structure */
.flip-card {
    width: 100%;
    height: 100%;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
    pointer-events: none;
}

.flip-card.flipped .flip-card-back {
    pointer-events: auto;
}

.flip-card.flipped .flip-card-front {
    pointer-events: none;
}

.flip-card-front img,
.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Flip hint - circular arrow icon */
.flip-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    animation: rotate-hint 3s ease-in-out infinite;
    z-index: 10;
}

.flip-hint svg {
    stroke: #1a1d29;
    pointer-events: none;
}

@keyframes rotate-hint {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(90deg);
    }
    75% {
        transform: rotate(0deg);
    }
}

.flip-card:hover .flip-hint {
    opacity: 0.6;
}

/* Wave lines in about section */
.about-waves {
    width: 100%;
    height: 100%;
}

.wave-line-static {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 2;
    stroke-linecap: round;
}

.wave2-clipped {
    clip-path: url(#about-wave2-clip);
}

/* Text quadrants */
.about-text-primary,
.about-text-secondary {
    text-align: left;
    align-items: flex-start;
    margin: 0 auto;
    position: relative;
}

.about-quadrant.about-text-primary,
.about-quadrant.about-text-secondary {
    padding: 60px;
}

.about-quadrant h3 {
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    width: 100%;
    color: #fff;
}

.about-quadrant p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
}

.about-quadrant p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    
    .about-quadrant {
        padding: 40px 30px;
        min-height: 50vh;
    }
    
    .about-photo-primary,
    .about-photo-secondary {
        min-height: 60vh;
    }
}

/* ========================================
   SECTION 5: CONTACT
   ======================================== */
.fp-section-contact {
    background: linear-gradient(to right, #010216 0%, #0E122B 100%);
    color: #fff;
    position: relative;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.fp-section-contact .section-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
}

/* Contact layout - form on left, showreel card on right */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}

/* Showreel card wrapper */
.showreel-card-wrapper {
    position: relative;
    order: 2;
}

.showreel-flip-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(122, 127, 141, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.showreel-flip-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(-8px);
}

/* Once flipped, remove cursor and hover effects */
.showreel-flip-card.flipped {
    cursor: default;
}

.showreel-flip-card.flipped:hover {
    transform: none;
}

/* Speaker SVG front */
.showreel-svg-front img {
    padding: 60px;
    object-fit: contain;
    filter: invert(1);
}

/* Video back */
.showreel-video-back {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.showreel-video-back iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact card */
.contact-card {
    background: rgba(1, 2, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 60px;
    transition: box-shadow 0.3s ease;
    max-width: 900px;
    width: 100%;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.contact-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-wrapper h2 {
    font-size: clamp(1.8rem, 4vh, 3rem);
    margin-top: 0rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-intro {
    font-size: clamp(0.9rem, 1.8vh, 1.1rem);
    line-height: 1.8;
    margin-bottom: clamp(1.5rem, 3vh, 3rem);
    color: rgba(255, 255, 255, 0.9);
}

.contact-intro p {
    margin-bottom: 0.75rem;
}

.contact-email {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-email a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: #6ba3c5;
}

.contact-phone {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-phone a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone a:hover {
    color: #6ba3c5;
}

.contact-form {
    margin-top: 2rem;
}

/* WPForms styling overrides */
.wpforms-container {
    text-align: left;
}

.wpforms-field-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 0;
    width: 100%;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.wpforms-field input[type="text"]:focus,
.wpforms-field input[type="email"]:focus,
.wpforms-field textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.wpforms-field textarea {
    min-height: 150px;
    resize: vertical;
}

.wpforms-submit-container {
    text-align: left;
    margin-top: 1.5rem;
}

.wpforms-submit {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.wpforms-submit:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.wpforms-confirmation-container-full {
    background: rgba(107, 163, 197, 0.15);
    border: 1px solid rgba(107, 163, 197, 0.3);
    color: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 0;
}

/* reCAPTCHA badge styling - hide completely (disclaimer text covers ToS) */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* reCAPTCHA disclaimer text */
.recaptcha-notice {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    line-height: 1.6;
}

.recaptcha-notice a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.recaptcha-notice a:hover {
    color: #6ba3c5;
}

/* fullPage.js credit styling */
#fp-nav ul li .fp-tooltip {
    color: #fff !important;
}

.fp-watermark {
    background: transparent !important;
    background-color: transparent !important;
    color: #fff !important;
}

.fp-watermark::before {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 0 !important;
}

.fp-watermark a {
    color: #fff !important;
    text-decoration: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

.fp-watermark a:hover {
    color: #6ba3c5 !important;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Work grid size reduction before fouling arrows */
@media (max-width: 1380px) {
    .work-grid-container {
        max-width: 1400px;
        padding: 60px 60px 40px;
    }
}

/* Narrow desktop - hide tooltips when they start fouling content */
@media (max-width: 1890px) {
    #fp-nav ul li .fp-tooltip {
        display: none !important;
    }
}

/* Medium desktop/laptop - About page adjustments */
@media (max-width: 1245px) {
    .mission-photo {
        object-position: 8% 40%;
    }
    
    .about-grid {
        gap: 30px;
    }
    
    /* Only reduce text card padding/size, leave photo cards alone */
    .about-quadrant.about-text-primary,
    .about-quadrant.about-text-secondary {
        padding: 35px;
    }
    
    .about-quadrant.about-text-primary h3,
    .about-quadrant.about-text-secondary h3 {
        font-size: 1.2rem;
    }
    
    .about-quadrant.about-text-primary p,
    .about-quadrant.about-text-secondary p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    /* Contact section - hide showreel card, form only */
    .showreel-card-wrapper {
        display: none;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        max-width: 800px;
        margin: 0 auto;
    }
}


/* Small laptop - more conservative to prevent wrapping */
@media (max-width: 1102px) {
    .about-quadrant.about-text-primary h3,
    .about-quadrant.about-text-secondary h3 {
        font-size: 1.15rem;
    }
    
    .about-quadrant.about-text-primary p,
    .about-quadrant.about-text-secondary p {
        font-size: 0.8rem;
        line-height: 1.55;
    }
    
    .about-quadrant.about-text-primary,
    .about-quadrant.about-text-secondary {
        padding: 32px;
    }
    
    .about-grid {
        gap: 25px;
    }
}

/* Tablets and below - mobile mode */

/* Mobile (1150px and below) */
@media (max-width: 1150px) {
    /* Mobile view - disable fullPage, enable free scroll */
    body.mobile-view {
        overflow: auto !important;
        height: auto !important;
    }
    
    body.mobile-view #fullpage {
        height: auto !important;
    }
    
    body.mobile-view .section {
        height: auto !important;
        min-height: 100vh;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    /* Hide navigation dots on mobile */
    #fp-nav {
        display: none !important;
    }
    
    /* Hide About section entirely on mobile */
    .fp-section-about {
        display: none !important;
    }
    
    /* Intro section */
    .fp-section-intro {
        padding: 60px 20px;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo-svg {
        width: 60%;
    }
    
    .intro-tagline {
        font-size: 0.9rem;
        margin-top: 20px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Mission section - centered cards on photo */
    .fp-section-mission {
        min-height: 100vh;
        padding: 40px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mission-content {
        position: relative;
        width: 100%;
        height: auto;
        padding: 40px 20px;
        gap: 30px;
        top: auto;
        right: auto;
    }
    
    .mission-video-container {
        display: none;
    }
    
    .mission-section {
        max-width: 100%;
        padding: 30px 25px;
    }
    
    .mission-section {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .mission-section p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    /* Work section - single card with arrows */
    .fp-section-work {
        padding-top: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }

    
    /* Hide desktop swiper, show mobile swiper */
    .work-swiper-desktop {
        display: none !important;
    }
    
    .work-swiper-mobile {
        display: flex !important;
        height: auto !important;
        max-height: none !important;
        width: 90vw;
        max-width: 600px;
        position: relative;
    }
    
    .work-swiper-mobile .work-card {
        aspect-ratio: 3 / 5;
        box-sizing: border-box;
        width: 100%;
        max-height: 70vh;
    }
    
    .fp-section-work .section-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px !important;
    }
    
    /* Show work title on mobile */
    .work-section-title {
        display: block !important;
        text-align: center;
        font-size: 2rem;
        font-weight: 600;
        margin: 0 0 30px 0;
        color: #fff;
        width: 100%;
    }
    
    .work-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr !important;
        gap: 0;
    }
    
    .work-grid-container {
        padding: 0 20px 40px;
        height: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: auto;
        width: 100%;
        overflow: hidden;
    }
    
    .work-swiper-mobile .swiper-wrapper {
        height: auto !important;
    }
    
    .work-swiper-mobile .swiper-slide {
        height: auto !important;
    }
    
    /* Add subtle outline to arrows for visibility on light backgrounds */
    .work-swiper-mobile .swiper-button-next,
    .work-swiper-mobile .swiper-button-prev {
        filter: drop-shadow(0 0 3px #1a1d29) drop-shadow(0 0 6px #1a1d29);
    }
    
    .swiper-wrapper {
        height: auto !important;
    }
    
    .swiper-slide {
        height: auto !important;
    }
    
    .work-card {
        margin-bottom: 0;
    }
    
    /* Contact section - remove showreel card, form only */
    .fp-section-contact {
        padding: 40px 20px;
        min-height: 100vh;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Hide showreel card on mobile */
    .showreel-card-wrapper {
        display: none !important;
    }
    
    .contact-card {
        background: transparent;
        border: none;
        padding: 0;
        max-height: none;
        overflow-y: visible;
    }
    
    .contact-card:hover {
        box-shadow: none;
    }
    
    .contact-wrapper h2 {
        font-size: 2rem;
    }
    
    .contact-intro {
        font-size: 1rem;
    }
    
    /* Navigation adjustments */
    .main-nav-fixed {
        padding: 0 20px;
        height: 50px;
        left: 0;
        right: 0;
        width: auto;
        background: linear-gradient(to right, #010216 0%, #0E122B 100%);
    }
    
    .nav-right {
        margin-right: 10px;
    }
    
    .nav-logo {
        height: 30px;
    }
    
    .nav-email {
        font-size: 0.85rem;
    }
    
    /* Hide hamburger menu on mobile */
    .menu-toggle {
        display: none !important;
    }
    
    /* Show nav menu inline, remove all mobile menu styling */
    .nav-menu {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        gap: 0 !important;
        right: auto !important;
        border: none !important;
        backdrop-filter: none !important;
    }
    
    /* Hide all menu items except Contact */
    .nav-menu li {
        display: none !important;
        border: none !important;
    }
    
    .nav-menu li:last-child {
        display: block !important;
        border: none !important;
    }
    
    /* Replace Contact text with envelope icon */
    .nav-menu li:last-child a {
        padding: 0 !important;
        font-size: 0 !important;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu li:last-child a::before {
        content: '\2709';
        font-size: 20px;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .nav-menu li:last-child a:hover::before {
        color: #fff;
    }
    
    .section-content {
        padding: 0 20px !important;
    }
}

/* Desktop landscape tablets - constrained vertical space with fullPage active */
@media (min-width: 1151px) and (max-width: 1280px) and (orientation: landscape) and (max-height: 900px) {
    /* Contact section - very compact and no overflow */
    .fp-section-contact {
        overflow: hidden;
        padding: 40px 60px;
    }
    
    .contact-card {
        padding: 20px;
        max-height: 85vh;
        overflow: hidden;
    }
    
    .contact-wrapper {
        max-height: 100%;
    }
    
    .contact-wrapper h2 {
        font-size: 1.8rem;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    
    .contact-intro {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .contact-intro p {
        margin-bottom: 0.4rem;
    }
    
    .contact-phone {
        font-size: 0.8rem;
    }
    
    /* WPForms specific overrides */
    .contact-form {
        margin-top: 1rem;
    }
    
    .wpforms-container {
        margin: 0;
    }
    
    .wpforms-field-container {
        margin: 0;
        padding: 0;
    }
    
    .wpforms-field {
        margin-bottom: 0.75rem !important;
        padding: 0 !important;
    }
    
    .wpforms-field-label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .wpforms-field input[type="text"],
    .wpforms-field input[type="email"],
    .wpforms-field textarea {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .wpforms-field textarea {
        min-height: 60px !important;
        max-height: 60px;
    }
    
    .wpforms-submit-container {
        margin-top: 0.75rem !important;
    }
    
    .wpforms-submit {
        padding: 8px 24px;
        font-size: 0.85rem;
    }
}

/* Surface Pro 7 landscape - 1368x912 */
@media (min-width: 1281px) and (max-width: 1400px) and (orientation: landscape) and (max-height: 950px) {
    /* Contact section - reduce but less aggressively than smaller tablets */
    .fp-section-contact {
        overflow: hidden;
        padding: 50px 60px;
    }
    
    .contact-card {
        padding: 35px;
        max-height: 88vh;
        overflow: hidden;
    }
    
    .contact-wrapper h2 {
        font-size: 2.3rem;
        margin-top: 0;
        margin-bottom: 0.8rem;
    }
    
    .contact-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-intro p {
        margin-bottom: 0.5rem;
    }
    
    .contact-form {
        margin-top: 1.5rem;
    }
    
    .wpforms-field {
        margin-bottom: 0.9rem !important;
    }
    
    .wpforms-field-label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .wpforms-field input[type="text"],
    .wpforms-field input[type="email"],
    .wpforms-field textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    .wpforms-field textarea {
        min-height: 90px !important;
    }
    
    .wpforms-submit {
        padding: 12px 32px;
        font-size: 0.95rem;
    }
}
