/* Global styles for ONSHOT Website */
/* Self-hosted fonts (SIL OFL 1.1) - migrated from Google Fonts */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/space-grotesk-300.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/space-grotesk-400.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/space-grotesk-500.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/space-grotesk-600.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/space-grotesk-700.woff2') format('woff2');}
@font-face{font-family:'Outfit';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/outfit-300.woff2') format('woff2');}
@font-face{font-family:'Outfit';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/outfit-400.woff2') format('woff2');}
@font-face{font-family:'Outfit';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/outfit-500.woff2') format('woff2');}
@font-face{font-family:'Outfit';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/outfit-600.woff2') format('woff2');}
@font-face{font-family:'Outfit';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/outfit-700.woff2') format('woff2');}
@font-face{font-family:'Outfit';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/outfit-800.woff2') format('woff2');}
@font-face{font-family:'Outfit';font-style:normal;font-weight:900;font-display:swap;src:url('../fonts/outfit-900.woff2') format('woff2');}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/montserrat-300.woff2') format('woff2');}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/montserrat-400.woff2') format('woff2');}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/montserrat-500.woff2') format('woff2');}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/montserrat-600.woff2') format('woff2');}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/montserrat-700.woff2') format('woff2');}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/playfair-display-400.woff2') format('woff2');}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/playfair-display-500.woff2') format('woff2');}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/playfair-display-600.woff2') format('woff2');}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/playfair-display-700.woff2') format('woff2');}

:root {
    --primary-color: #ff5900;
    --primary-dark: #e64f00;
    --dark-bg: #111111;
    --grey-dark: #333;
    --grey-medium: #666;
    --grey-light: #f5f5f5;
    --light-text: #ffffff;
    --dark-text: #111111;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-dark: 0 5px 15px rgba(0,0,0,0.3);
    --heading-font: 'Space Grotesk', sans-serif;
    --body-font: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    color: #EDEDED;
    background-color: var(--dark-bg);
    line-height: 1.6;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

/* Universal readability upgrades */
h1, h2, h3, h4 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    font-weight: 700;
}

p, .btn {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    color: #DADADA;
}

/* Ensure paragraphs have good readability */
p {
    max-width: 65ch;
    line-height: 1.7;
}

/* Overlay class for text boxes */
.overlay-box {
    background-color: rgba(0,0,0,0.7);
    padding: 20px 25px;
    border-radius: 8px;
    color: #fff;
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Text overlay for sections that need it */
.text-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    border-left: 3px solid var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-top: 0;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-top: 20px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(255,89,0,0.25);
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,89,0,0.35);
}

.secondary-btn {
    background-color: rgba(0,0,0,0.7);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 700;
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,89,0,0.25);
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.text-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.text-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--primary-dark);
}

.text-link:hover i {
    transform: translateX(5px);
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-question {
    font-size: 1.4rem;
    color: #ff5900;
    margin-bottom: 30px;
    font-weight: 500;
    text-align: center;
}

/* Compact Services Section */
.services-overview.compact {
    padding: 80px 0;
}

.section-intro {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.service-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
}

.service-section:hover {
    border-color: var(--primary-color);
    background: rgba(255, 89, 0, 0.05);
}

.service-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-section h3 i {
    font-size: 1.1rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li strong {
    color: #fff;
}

@media screen and (max-width: 900px) {
    .service-sections {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-section {
        padding: 25px;
    }
}

/* Process Block */
.process-block {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(255, 89, 0, 0.05) 100%);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.process-step {
    background: rgba(255, 89, 0, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}

.process-step:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.process-arrow {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .process-step {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* 3 Category Blocks */
.category-blocks {
    padding: 80px 0;
    background: var(--dark-bg);
}

.blocks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-block {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.category-block:hover {
    background: rgba(255, 89, 0, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.category-block i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-block h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.category-block p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .blocks-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-block {
        padding: 30px 20px;
    }
    
    .hero-question {
        font-size: 1.1rem;
    }
}

/* Header & Navigation */
header {
    background-color: rgba(13,13,13,0.9);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(13, 13, 13, 0.98);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
    z-index: 1001;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    top: 100%;
    left: 0;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Desktop dropdown behavior - hide by default, show on Marketing hover only */
@media screen and (min-width: 1201px) {
    .dropdown-content {
        display: none !important;
    }
    
    .dropdown:hover .dropdown-content {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Half-screen/tablet dropdown behavior - show dropdown by default */
@media screen and (min-width: 769px) and (max-width: 1200px) {
    .dropdown-content {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.dropdown-content li {
    list-style: none;
    margin: 0;
}

.dropdown-content a {
    color: #DADADA !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    border-radius: 4px;
    margin: 2px 8px;
}

.dropdown-content a:hover {
    background-color: rgba(255, 89, 0, 0.15);
    color: var(--primary-color) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown > a::after {
    content: ' ▼';
    font-size: 0.7em;
    opacity: 0.6;
    margin-left: 5px;
}

/* Page spacing to prevent navbar overlap */
.page-hero {
    padding-top: 120px;
    margin-bottom: 40px;
}

.services-detail {
    padding-top: 40px;
}

header.scrolled {
    background-color: rgba(13, 13, 13, 0.95);
    box-shadow: var(--shadow-dark);
    padding: 10px 0;
}

header.scrolled nav ul li a {
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

header.scrolled .logo h1 {
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: var(--light-text);
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.logo::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 3px;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--grey-medium);
    margin-bottom: 0;
    white-space: nowrap;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    position: relative;
    transition: var(--transition);
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 89, 0, 0.5);
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-cta:hover {
    background-color: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--light-text);
    transition: var(--transition);
}

/* Mobile menu button active state */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Desktop Navigation - Show navbar, hide burger */
@media screen and (min-width: 1201px) {
    .mobile-menu-btn {
        display: none !important;
    }
    
    nav ul {
        display: flex !important;
        position: static !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        padding: 0 !important;
        backdrop-filter: none !important;
    }
}

/* Mobile Navigation - Hide navbar, show burger */
@media screen and (max-width: 1200px) {
    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* Force hide desktop navbar completely in mobile */
    /* Only hide while the nav is CLOSED. Previously this targeted the <ul>
       itself (nav ul:not(.show):not(.active)) which always matched because the
       toggle adds .active to <nav>, not the <ul> - so the menu never opened. */
    nav:not(.active) ul:not(.show) {
        display: none !important;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        overflow-y: auto;
        backdrop-filter: blur(10px);
        z-index: 1000;
        display: none;
    }
    
    nav.active ul,
    nav ul.show {
        left: 0;
        display: flex !important;
    }
    
    nav ul li {
        margin: 1rem 0;
        text-align: center;
    }
    
    nav ul li a {
        font-size: 1.2rem;
        font-weight: 500;
        color: #fff;
        text-shadow: none;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        border-radius: 8px;
        transition: var(--transition);
    }
    
    nav ul li a:hover,
    nav ul li a.active {
        background: rgba(255, 89, 0, 0.2);
        color: var(--primary-color);
        transform: none;
    }
    
    /* Mobile dropdown styles - remove gap and orange highlight */
    .dropdown-content {
        position: static !important;
        display: block !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        backdrop-filter: none !important;
        width: 100%;
        margin: 0 !important;
        padding: 0;
    }
    
    .dropdown-content li {
        margin: 0 !important;
    }
    
    .dropdown-content a {
        font-size: 1rem !important;
        font-weight: 400 !important;
        color: #DADADA !important;
        padding: 0.8rem 3rem !important;
        margin: 0 !important;
        border-radius: 4px !important;
        background: transparent !important;
        border-left: none !important;
    }
    
    .dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.05) !important;
        color: #DADADA !important;
    }
    
    .dropdown > a::after {
        display: none;
    }
}

/* Ensure clean break between desktop and mobile menu */
@media screen and (min-width: 992px) {
    nav ul {
        display: flex !important;
        flex-direction: row;
        opacity: 1 !important;
        visibility: visible !important;
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: none;
        box-shadow: none;
    }
}

/* Hero Section */
.hero {
    height: 90vh;
    background-image: url('../images/_DSC4137.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--light-text);
    margin-top: 70px;
}

.hero.fullscreen {
    height: 100vh;
    margin-top: 0;
}

.hero.fullscreen .hero-content {
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 80%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 33vw;
    min-width: 400px;
    margin: 0;
    padding: 0 0 0 5%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    left: 0;
    bottom: 0;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    line-height: 1.1;
    text-transform: none;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    font-weight: 400;
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 10px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
    color: #EDEDED;
    margin-bottom: 20px;
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

/* Intro Section */
.intro {
    padding: 120px 0;
    background-color: #111111;
}

.intro .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.intro-text {
    flex: 1;
    padding-right: 50px;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro-image {
    flex: 1;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: var(--shadow);
    height: 500px;
    background-image: url('../images/intro-image.jpg');
    background-size: cover;
    background-position: center;
}

/* Featured Work Section */
.featured-work {
    padding: 100px 0;
    background-color: #161616;
    color: var(--light-text);
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255,89,0,0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-image.img1 {
    background-image: url('../images/gallery1.jpg');
}

.gallery-image.img2 {
    background-image: url('../images/gallery2.jpg');
}

.gallery-image.img3 {
    background-image: url('../images/gallery3.jpg');
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: var(--light-text);
    transition: var(--transition);
}

.gallery-overlay h3 {
    margin-bottom: 10px;
}

.center-btn {
    text-align: center;
}

/* Services Overview Section */
.services-overview {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    background-color: var(--background-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 0;
    color: var(--grey-dark);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    width: 100%;
}

.testimonial-content {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

.client-info {
    margin-top: 20px;
}

.client-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.client-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--grey-medium);
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--light-text);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--background-color);
    color: var(--light-text);
    padding-top: 70px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--grey-medium);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--grey-medium);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 89, 0, 0.5);
}

.footer-column ul li a:active {
    color: var(--primary-color);
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 89, 0, 0.5);
    box-shadow: 0 0 8px rgba(255, 89, 0, 0.5);
}

.contact-info li {
    display: flex;
    align-items: center;
    color: var(--grey-medium);
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    color: var(--grey-medium);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .intro .container {
        flex-direction: column;
    }
    
    .intro-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .gallery-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    :root {
        --padding-standard: 15px;
    }

    .header-container {
        padding: 15px;
    }
    
    /* Fix for blurred text on service cards with read-more prompt */
    .service-content p {
        display: block;
        max-height: 100px;
        overflow: hidden;
        position: relative;
        margin-bottom: 35px;
    }
    
    .service-content p::after {
        content: 'Read more';
        position: absolute;
        bottom: -25px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 5px;
        background-color: rgba(255, 89, 0, 0.1);
        color: var(--primary-color);
        font-weight: 500;
        cursor: pointer;
        border-radius: 4px;
    }
    
    .service-content p.expanded {
        max-height: none;
        overflow: visible;
    }
    
    .service-content p.expanded::after {
        content: 'Read less';
    }
    
    .mobile-menu-btn {
        display: flex;
        margin-left: auto;
    }
    
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #0d0d0d; /* Solid dark background */
        padding: 20px;
        border-radius: 0 0 5px 5px;
        box-shadow: var(--shadow-dark);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }
    
    nav.active ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        background-color: rgba(13, 13, 13, 0.95); /* More opaque background for better readability */
        backdrop-filter: blur(10px); /* Additional blur effect */
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    nav ul li {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 20vh;
    }
    
    /* Phone view: push the subtext down toward the button (closer to the
       button below than to the heading above) and tighten the gap to the CTA. */
    .hero-content .hero-question {
        margin-bottom: 12px;
        margin-top: 4vh;
        align-self: center;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }
    
    /* Phone view: move ONSHOT MEDIA heading + subtext down ~15% and
       center the CTA button (was left-aligned) without overlapping text. */
    .hero-content {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        padding-right: 5%;
        justify-content: flex-start;
        padding-top: 22vh;
    }
    
    .hero-cta {
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-top: 14px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0 10px;
    }
    
    .gallery-card {
        height: 300px;
        width: 100%;
        max-width: 100vw;
    }
    
    .gallery-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background-color: #000;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (max-width: 576px) {
    .hero-section {
        height: 90vh;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    /* Ensure all content fits width of screen */
    .container, .services-container, .team-section, .about-section, .contact-section {
        width: 100%;
        max-width: 100vw;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    /* Fix images to fit screen width */
    img {
        max-width: 100%;
        height: auto;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ensure mobile menu is accessible on very small screens */
    .header-container {
        padding: 0 15px;
    }
    
    .mobile-menu-btn {
        display: flex;
        margin-right: 5px;
    }
    
    .logo {
        max-width: 70%;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        display: none;
    }
}
