/*
Theme Name: One Stop Marketing 365
Author: Antigravity
Description: Custom theme for One Stop Marketing 365
Version: 1.1
text-domain: onestop365
*/

/* 
   One Stop Marketing 365 - Main Styles
   Style Guide Implementation
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Open+Sans:wght@400;600&display=swap');

:root {
    /* Color Palette */
    --color-base: #1a1a1a;
    /* Charcoal */
    --color-base-dark: #000000;
    --color-accent: #ccff00;
    /* Electric Lime */
    --color-accent-hover: #b3e600;
    --color-white: #ffffff;
    --color-slate: #2d2d2d;
    /* Deep Slate */
    --color-text-light: #f5f5f5;
    --color-text-dark: #333333;
    --color-border: #444444;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    /* 8px */
    --spacing-sm: 1rem;
    /* 16px */
    --spacing-md: 2rem;
    /* 32px */
    --spacing-lg: 4rem;
    /* 64px */
    --spacing-xl: 5rem;
    /* 80px */

    /* Layout */
    --container-width: 1200px;
    --header-height: 120px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-base);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-accent {
    color: var(--color-accent);
}

.text-white {
    color: var(--color-white);
    text-align: center;
    background: linear-gradient(135deg, var(--color-base) 0%, #222 100%);
}

.bg-dark {
    background-color: var(--color-base);
    color: var(--color-white);
}

.bg-slate {
    background-color: var(--color-slate);
    color: var(--color-white);
}

.footer-col .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo {
    width: 200px;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    /* Slightly rounded per guide */
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-base);
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-base);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-white);
    text-transform: uppercase;
}

.logo img {
    height: 85px;
    width: auto;
}

.logo span {
    color: var(--color-accent);
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-md);
}

.main-nav a {
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.main-nav a:hover {
    color: var(--color-accent);
}

.header-cta {
    margin-left: var(--spacing-md);
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* Hidden on mobile for now */
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background-color: var(--color-base);
    overflow: hidden;
    overflow: hidden;
    overflow: hidden;
}

/* Diagonal Background Effect */
/* Removed .hero::before gradient to let image show, or make it an overlay?
   User wants image bigger. Let's remove the default dark gradient or make it transparent.
 */
.hero::before {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    /* Increased gap */
    align-items: center;
    max-width: 1400px;
    /* Wider container for hero */
    padding: 0 var(--spacing-md);
}

.hero-content {
    color: var(--color-white);
    max-width: 600px;
    /* Limit text width for readability */
}

.hero-title {
    font-size: 4rem;
    /* Bigger title */
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    /* Bigger subtitle */
    color: #cccccc;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    line-height: 1.4;
}

/* Removed hero-actions */
.hero-actions {
    display: none;
}

.social-proof {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
}

.stars {
    color: var(--color-accent);
    margin-right: 10px;
}

/* Hero Visual */
/* Hero Visual - Expanded to fill right side */
.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    /* Make it fully visible */
}



/* Floating Card Element */
.hero-floating-card {
    position: absolute;
    bottom: 180px;
    left: 45%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-base);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: hero-float 4s ease-in-out infinite;
    z-index: 3;
    transform: translateX(-50%);
    /* Ensure it stays on top */
}

.icon-box {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@keyframes hero-float {
    0% {
        transform: translateX(-50%) translateY(0px);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }

    100% {
        transform: translateX(-50%) translateY(0px);
    }
}

/* Mobile Responsiveness for Hero */
@media (max-width: 768px) {
    .header-cta {
        display: none;
    }

    /* Hide header button on small mobile, rely on sticky bottom or hero */

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-xl);
    }

    .hero::before {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        clip-path: none;
        background: linear-gradient(0deg, rgba(45, 45, 45, 1) 0%, rgba(26, 26, 26, 0) 100%);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }

    .hero-visual {
        margin-top: var(--spacing-md);
    }

    .hero-floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -10px;
        width: 80%;
    }

    @keyframes float {
        0% {
            transform: translateX(-50%) translateY(0px);
        }

        50% {
            transform: translateX(-50%) translateY(-10px);
        }

        100% {
            transform: translateX(-50%) translateY(0px);
        }
    }
}

/* Industries Section */
.industries {
    padding: var(--spacing-lg) 0 var(--spacing-lg);
    background-color: #f9f9f9;
    text-align: center;
    text-align: center;
    scroll-margin-top: var(--header-height);
}

/* Industries Carousel */
.industries-carousel {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    max-width: 100%;
}

.industries-track {
    display: inline-block;
    animation: slide 30s linear infinite;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-base);
}

.industries-track span {
    display: inline-block;
    padding: 0 1rem;
}

.industries-track .separator {
    color: #ccc;
    font-weight: 300;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Services Section */
.services {
    padding: calc(var(--spacing-xl) * 2.5) 0 calc(var(--spacing-xl) * 2.5);
    background: linear-gradient(135deg, var(--color-base) 0%, #222 100%);
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-base) 0%, #222 100%);
    color: var(--color-white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
}

.services .section-title {
    color: var(--color-white);
}

.services .section-subtitle {
    font-size: 1.1rem;
    color: var(--color-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-header-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: var(--spacing-sm);
    width: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: var(--color-accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-base);
    transition: background 0.3s;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    background: var(--color-accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 0;
    color: #000000;
}

.service-card p {
    color: #000000;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
    /* Pushes link to bottom if needed */
}

.service-link {
    color: var(--color-base);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--color-accent-hover);
    /* Darker lime for text visibility */
    gap: 10px;
    /* Slide arrow effect */
}


/* How It Works (Timeline) */
.process {
    padding: var(--spacing-xl) 0;
    background-color: #f4f4f4;
    scroll-margin-top: var(--header-height);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #ddd;
    transform: translateX(-50%);
}

.timeline-step {
    position: relative;
    width: 50%;
    padding: 0 40px;
    box-sizing: border-box;
    margin-bottom: var(--spacing-lg);
}

.timeline-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-step:nth-child(even) {
    left: 50%;
    text-align: left;
}

.step-number {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--color-base);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-heading);
    z-index: 10;
    border: 4px solid #fff;
}

.timeline-step:nth-child(odd) .step-number {
    right: -20px;
}

.timeline-step:nth-child(even) .step-number {
    left: -20px;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--color-base);
}

.step-content p {
    color: #666;
}

/* Results Section */
.results {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-base);
    color: var(--color-white);
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.result-item h3 {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 0;
}

.result-item p {
    font-size: 1.1rem;
    color: #ccc;
}


/* Testimonials */
.testimonials {
    scroll-margin-top: var(--header-height);
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: #f9f9f9;
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
}

.testimonial-text {
    font-style: italic;
    color: #444;
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-base);
}

.testimonial-role {
    font-size: 0.9rem;
    color: #888;
}


/* FAQ Section */
.faq {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-base) 0%, #222 100%);
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-base) 0%, #222 100%);
    color: var(--color-white);
}

.faq .section-title {
    color: var(--color-white);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: start;
}

@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: var(--color-white);
    margin-bottom: var(--spacing-sm);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-accent);
    transition: background 0.3s;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #000000;
}

.faq-question:hover {
    background: var(--color-accent-hover);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #000000;
    font-weight: 900;
    background-color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    color: #555;
    line-height: 1.6;
    display: none;
    padding: 0 20px 20px;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question.active+.faq-answer {
    display: block;
    border-top: 1px solid #eee;
}


/* CTA Band */
.cta-band {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-base) 0%, #222 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-band h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}


/* Footer */
.site-footer {
    background-color: #222;
    color: #ccc;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

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

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid #333;
    text-align: center;
}

/* Contact Form Simple Styles */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

.contact-form button {
    width: 100%;
}

/* Mobile Process */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-step {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-step:nth-child(odd),
    .timeline-step:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-step:nth-child(odd) .step-number,
    .timeline-step:nth-child(even) .step-number {
        left: 0;
        right: auto;
    }
}





/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-accent);
    color: var(--color-base);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-5px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--color-base-dark);
    margin: 10% auto;
    padding: 30px;
    border: 1px solid var(--color-accent);
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: slideDown 0.3s;
}

.close-modal {
    color: var(--color-white);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--color-accent);
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-white);
}

.modal-header h2 {
    color: var(--color-white);
    margin-bottom: 10px;
}

.modal-header p {
    color: #ccc;
    font-size: 0.9rem;
}

.booking-form .form-group {
    margin-bottom: 15px;
}

.booking-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--color-white);
    font-weight: 600;
}

.booking-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    background-color: #222;
    color: var(--color-white);
    border-radius: 5px;
    font-size: 1rem;
}

.booking-form input:focus {
    outline: none;
    border-color: var(--color-accent);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }

}


/* Mobile Navigation Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Mobile Menu Active State (Hamburger Animation) */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

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

@media screen and (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    .main-nav ul li a {
        font-size: 1.5rem;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-cta {
        display: none;
        /* Hide CTA on mobile header to save space, assuming it's available elsewhere or in the menu */
    }

    /* Show CTA inside the mobile menu if needed, or adjust this strategy */
    .main-nav .header-cta-mobile {
        display: block;
        margin-top: var(--spacing-md);
    }

    /* Mobile Typography & Spacing Overrides */
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --container-width: 100%;
        --header-height: 80px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Adjust specific section spacing */
    section {
        padding: var(--spacing-lg) 0;
    }

    /* Hero Adjustments for Mobile */
    .hero {
        background-color: #000000;
        /* Completely black as requested */
    }

    .hero-visual,
    .hero-floating-card {
        display: none;
    }

    .cta-band {
        padding: var(--spacing-md) 0;
    }

    /* Stack Grids on Mobile */
    .services-grid,
    .process-steps,
    .testimonials-grid,
    .results-grid,
    .faq-container,
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md);
    }

    .footer-section {
        margin-bottom: var(--spacing-md);
    }
}