:root {
    /* Pedrelli Informática Palette */
    --primary-color: #2962FF;
    /* Tech Blue */
    --secondary-color: #212121;
    /* Dark Grey */
    --accent-color: #00E5FF;
    /* Cyan/Highlight */
    --text-color: #333;
    --light-bg: #E3F2FD;
    /* Very Light Blue */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    /* Space for logo overlap */
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    z-index: 1000;
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: translateX(-50%) scale(1.05);
}

.logo-img {
    width: 100%;
    height: auto;
}

.nav-link {
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    margin: 5px 0;
    /* Adjusted for mobile default */
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Desktop styles for navbar spacer */
@media (min-width: 992px) {
    .nav-link {
        margin: 0 15px;
        /* Reset for desktop */
    }

    .nav-spacer-right {
        margin-right: 80px !important;
    }

    .nav-spacer-left {
        margin-left: 80px !important;
    }

    /* Padding helpers for logo space */
    .ms-lg-auto {
        margin-left: auto !important;
    }

    .me-lg-auto {
        margin-right: auto !important;
    }
}

/* Mobile Navbar Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        /* Ensure full background */
        padding: 20px 0;
        margin-top: 60px;
        /* Space for logo if needed or just padding */
        text-align: center;
    }

    .logo-container {
        width: 100px;
        /* Smaller logo on mobile */
        height: 100px;
        top: 5px;
    }

    .navbar {
        padding-bottom: 1rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 10px 0;
    }
}

/* Hero Section with Slider */
/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

/* Animated Gaming Particles */
.gaming-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through */
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    color: var(--accent-color);
    opacity: 0.15;
    font-size: 4rem;
    animation: floatParticle 6s ease-in-out infinite;
}

.icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    font-size: 5rem;
}

.icon-2 {
    top: 60%;
    left: 5%;
    animation-delay: 1s;
    font-size: 3rem;
}

.icon-3 {
    top: 10%;
    right: 15%;
    animation-delay: 2s;
    font-size: 4rem;
}

.icon-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 0.5s;
    font-size: 6rem;
}

.icon-5 {
    top: 40%;
    right: 40%;
    animation-delay: 3s;
    filter: blur(2px);
    opacity: 0.1;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: white;
    width: 80%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    /* Strong shadow for readability */
    margin-bottom: 20px;
    opacity: 0;
    animation: slideDown 1s ease-out 0.5s forwards;
    /* Glitch effect on hover context (optional) */
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0;
    animation: slideUp 1s ease-out 1s forwards;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.hero-btn-container {
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.btn-hero {
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background-color: white;
    color: var(--primary-color);
}

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

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
        scale: 0.9;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto;
}

/* Products */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    background: white;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img-container {
    height: 250px;
    background-color: #eee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Locations */
.location-section {
    background-color: var(--light-bg);
}

.map-container {
    height: 400px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.hours-table {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.hours-row.closed {
    color: var(--primary-color);
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Quality Section */
.quality-section {
    background-color: white;
    /* Distinct from light-bg of Location */
}

.quality-img-container {
    overflow: hidden;
    border-radius: 15px;
}


/* Authority/Features Section */
.features-section {
    background-color: white;
    padding: 80px 0;
}

.feature-box {
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s;
    height: 100%;
    border: 1px solid #eee;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

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

.feature-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}