/* public_html/css/home_style.css */
/* Importando a Inter (para textos) e a Rajdhani (para títulos) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --bg-dark: #050508;
    --panel-bg: rgba(10, 10, 15, 0.65);
    --neon-blue: #00f2ff;
    --neon-gold: #ffaa00;
    --neon-purple: #b026ff;
    --text-main: #ffffff;  /* Clareado para branco puro */
    --text-muted: #c4c4cc; /* Clareado para maior visibilidade */
}

/* Fundo Animado Tech Grid */
body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    background-image: 
        linear-gradient(rgba(0, 242, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center center;
    color: var(--text-main);
    font-family: 'Inter', sans-serif; /* Nova fonte ultra legível para textos */
    font-weight: 400;
    min-height: 100vh;
    animation: moveGrid 15s linear infinite;
}

@keyframes moveGrid {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

/* Forçando a fonte Rajdhani apenas onde precisa de estilo */
h1, h2, h3, h4, h5, h6, .panel-title, .nav-link, .btn-flutuante-chamado {
    font-family: 'Rajdhani', sans-serif !important;
}

/* =======================================
   NAVBAR & DROPDOWNS
   ======================================= */
.top-navbar {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 242, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 242, 255, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item { position: relative; display: flex; align-items: center; }

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 15px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue);
    background: rgba(0, 242, 255, 0.05);
}

/* Dropdown Mágico Aprimorado */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-top: 2px solid var(--neon-blue);
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    animation: dropFade 0.3s ease forwards;
}

@keyframes dropFade {
    from { opacity: 0; transform: translateY(-15px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-item:hover .dropdown-content { display: block; }

.dropdown-content a {
    color: var(--text-muted);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.dropdown-content a:hover {
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.15), transparent);
    color: var(--neon-blue);
    padding-left: 25px;
    border-left: 3px solid var(--neon-blue);
}

/* =======================================
   LAYOUT 3 COLUNAS & PAINÉIS
   ======================================= */
.main-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 30px;
    max-width: 1450px;
    margin: 40px auto;
    padding: 0 20px;
}

.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* NOVO EFEITO NEON CORRENDO + VIDRO */
.glass-panel::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue)); transition: all 0.4s ease;
}
.glass-panel::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg); transition: 0.5s;
}
.glass-panel:hover { 
    border-color: rgba(0, 242, 255, 0.5); 
    box-shadow: 0 10px 40px rgba(0, 242, 255, 0.15), 0 0 15px rgba(0, 242, 255, 0.1) inset; 
    transform: translateY(-5px); 
}
.glass-panel:hover::before { left: 100%; transition: all 0.6s ease; }
.glass-panel:hover::after { left: 150%; }

.panel-title {
    color: var(--neon-gold);
    text-transform: uppercase;
    text-align: left;
    font-size: 19px;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 170, 0, 0.2);
    text-shadow: 0 0 15px rgba(255, 170, 0, 0.4);
    letter-spacing: 1px;
}

/* =======================================
   PUBLICIDADE & BANNERS
   ======================================= */
.ad-banner {
    width: 100%;
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative; transition: 0.4s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.ad-banner img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.ad-banner:hover { border-color: var(--neon-blue); box-shadow: 0 0 25px rgba(0, 242, 255, 0.3); }
.ad-banner:hover img { transform: scale(1.08); filter: brightness(1.2); }

.banner-sm { height: 120px; margin-bottom: 15px; }
.banner-md { height: 300px; margin-bottom: 15px; }
.banner-lg { height: 100px; margin-bottom: 30px; }

/* =======================================
   CARROSSEL PREMIUM
   ======================================= */
.carousel-container {
    width: 100%; height: 380px;
    border-radius: 16px; overflow: hidden; position: relative;
    border: 1px solid rgba(0, 242, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.15);
    margin-bottom: 30px;
}
.carousel-slide {
    width: 100%; height: 100%; background-size: cover; background-position: center;
    position: absolute; top: 0; left: 0;
    opacity: 0; transition: opacity 1.2s ease-in-out, transform 5s linear;
    transform: scale(1.05);
}
.carousel-slide.active { opacity: 1; transform: scale(1); }
.carousel-caption {
    position: absolute; bottom: 30px; left: 30px;
    background: rgba(5, 5, 8, 0.85); backdrop-filter: blur(10px);
    padding: 20px 25px; border-left: 4px solid var(--neon-blue);
    border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@media (max-width: 1024px) {
    .main-wrapper { grid-template-columns: 1fr; }
    .top-navbar { flex-direction: column; gap: 15px; padding: 15px; }
    .nav-menu { flex-wrap: wrap; justify-content: center; }
}

