/* Root variables for easy theme customization */
:root {
    --brand-color: hsl(140, 41%, 45%);
    --dark-overlay: rgba(0, 0, 0, 0.5);
    --light-text: #ffffff;
    --neon-blue: hsl(0, 0%, 100%);
    --neon-pink: hsl(0, 0%, 100%);
    --neon-purple: hsl(140, 41%, 45%);
    --dark-bg: #0a0a0a;
    --glow-intensity: 0 0 10px hsl(140, 41%, 45%), 0 0 20px hsl(140, 41%, 45%);
}

/* Global Styles */
body {
    background: url('websiteimg1.jpg') no-repeat center center/cover;
    color: var(--light-text);
    font-family: 'Eras Medium ITC', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    cursor: url('mouse.svg'), auto;
    animation: glitch-bg 3s infinite alternate;
}

/* Custom Cursor for Interactive Elements */
a, button, .btn-primary, .navbar-nav .nav-link {
    cursor: url('mouse.svg'), pointer;
}

input, textarea {
    cursor: text;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    background: var(--dark-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 20px;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 1;
    animation: none;
}

.hero p {
    font-size: 1.3rem;
    margin-top: 1rem;
    opacity: 1;
}

/* Button Styling */
.btn-primary {
    background-color: var(--brand-color);
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #3d8b5e;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Floating Form Fields */
.form-floating input, .form-floating textarea {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-floating input:focus, .form-floating textarea:focus {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* NAVBAR */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    height: 70px;
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    height: 35px;
    width: auto;
}

.navbar-toggler {
    padding: 5px;
    height: 35px;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: bold;
}

.navbar-nav .nav-link.active {
    color: var(--brand-color) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--brand-color);
}

/* Dropdown Menu for Mobile Devices */
@media (max-width: 768px) {
    .navbar-nav {
        background: rgba(0, 0, 0, 0.9);
        border-radius: 0;
        padding: 10px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        height: auto;
        z-index: 1000;
    }

    .navbar-nav .nav-link {
        color: var(--neon-blue);
        text-shadow: 0 0 10px hsl(140, 41%, 45%), 0 0 20px hsl(140, 41%, 45%);
        padding: 10px 15px;
        display: block;
        text-align: center;
    }
}

/* SERVICE CARDS */
.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.384);
}

.service-card i {
    margin-bottom: 8px;
    font-size: 2rem;
}

.service-card h5 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.service-card p {
    margin-top: 3px;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Row - Reduce Gaps Between Cards */
.row.g-4 {
    --bs-gutter-y: 20px;
}

/* Icons for Services */
.service-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--brand-color);
}

/* Center the About Us Section */
#about-us {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.text-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    backdrop-filter: blur(5px);
    color: white;
    margin: 0 auto;
    max-width: 800px;
}

.about-heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: var(--glow-intensity);
}

.about-text {
    font-size: 1.2rem;
    color: #fff;
    text-shadow: var(--glow-intensity);
    max-width: 800px;
    margin: 10px auto;
    line-height: 1.6;
}

/* FOOTER */
footer {
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 25px 0;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* SMOOTH SCROLL */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* ANIMATIONS MOVING BACKGROUND */
@keyframes moveBackground {
    0% { background-position: center top; } /* Start at the top */
    33.33% { background-position: center bottom; } /* Reach bottom in 10 seconds (10/30 = ~33.33%) */
    66.67% { background-position: center bottom; } /* Pause at the bottom for 10 seconds */
    100% { background-position: center top; } /* Move back to the top in the remaining 10 seconds */
}

/* Removed fadeBackground animation and references to websiteimg2 */

.moving-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('websiteimg1.jpg') no-repeat center center/cover, var(--dark-overlay); /* Combine websiteimg1 with dark overlay */
    z-index: -1;
    animation: moveBackground 30s infinite ease-in-out;
}

/* about.html bottom footer always */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* allow mouse.svg to be active on entire screen */
.about-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 0;
}

.about-heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-text {
    max-width: 800px;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* get in touch shift up */
#contact {
    padding-bottom: 100px;
}

/* Logo Slideshow */
.logo-carousel {
    overflow: hidden;
    width: 100%;
    margin: auto;
    position: relative;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: slideLogos 30s linear infinite;
    width: max-content;
}

.carousel-track::before {
    content: url('sensation.svg');
    height: 300px;
    width: auto;
    max-width: 600px;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease-in-out;
}

.carousel-track img {
    height: 300px;
    width: auto;
    max-width: 600px;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease-in-out;
}

.carousel-track img:hover {
    transform: scale(1.1);
}

@keyframes slideLogos {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* Black Blur Background for Readability for services.html page */
.text-overlay {
    background: none;
    padding: 0;
    border-radius: 0;
    display: inline;
    backdrop-filter: none;
    color: inherit;
    margin: 0;
    max-width: 100%;
}

/* Darker Background for Readability (ONLY on services.html) */
.services-page {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('websiteimg1.jpg') no-repeat center center/cover;
    color: white;
}

/* Cyberpunk Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 20%, #1a1a1a 100%);
    color: var(--neon-blue);
    text-shadow: 0 0 10px hsl(140, 41%, 45%), 0 0 20px hsl(140, 41%, 45%);
    overflow-x: hidden;
    animation: glitch-bg 3s infinite alternate;
}

/* Cyberpunk Background Animation */
@keyframes glitch-bg {
    0% { background-position: 0 0; }
    100% { background-position: 5px 5px; }
}

/* Cyberpunk Glowing Text */
h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    color: var(--neon-pink);
    text-shadow: 0 0 10px hsl(140, 41%, 45%), 0 0 20px hsl(140, 41%, 45%), 0 0 30px hsl(140, 41%, 45%);
    transition: text-shadow 0.3s ease-in-out;
}

h1:hover, h2:hover {
    text-shadow: 0 0 20px hsl(140, 41%, 45%), 0 0 40px hsl(140, 41%, 45%);
}

/* Cyberpunk Scrolling Effect */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    box-shadow: 0 0 10px hsl(140, 41%, 45%), 0 0 20px hsl(140, 41%, 45%);
    border-radius: 10px;
}