/* Google Fonts Import done in HTML (now in functions.php) */

:root {
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --card-border: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --accent-color: #0d6efd;
    --hero-bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

.header_post {
    display: flex;
    align-items: baseline;
    flex-direction: column;
}

#ipv6-info, #ipv4-info {
    word-break: break-all;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.4;
}

.text-secondary {
    --bs-text-opacity: 1;
    color: rgb(55 87 115) !important;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    color: var(--text-primary) !important;
    font-weight: 700;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: var(--hero-bg-gradient);
    height: 400px;
    position: relative;
    padding-bottom: 5rem;
    padding-top: 80px;
    /* Space for fixed navbar */
    color: #333;
    /* Dark text for contrast on light gradient */
}

.hero-section h1 {
    color: #2c3e50;
    text-shadow: none;
}

.hero-section p {
    color: #555;
    font-weight: 500;
}

/* Ensure the content pulls up correctly */
.mt-n5 {
    margin-top: -5rem !important;
}

/* Cards */
.card {
    border-radius: 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card Header/Footer */
.card-header,
.card-footer {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid var(--card-border) !important;
    border-top: 1px solid var(--card-border) !important;
    color: var(--text-primary);
}

.card-title {
    color: var(--text-primary);
}

.card-text.text-muted {
    color: var(--text-secondary) !important;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
    border-color: #dee2e6 !important;
}

/* Icon Box */
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    border-radius: 50%;
}

/* Icon Backgrounds - Light Theme variants */
.icon-box.text-primary {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.icon-box.text-success {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.icon-box.text-info {
    background-color: rgba(13, 202, 240, 0.1) !important;
}

.icon-box.text-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.icon-box.text-danger {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.hover-card:hover .icon-box {
    transform: scale(1.1);
}

/* Typography */
h1,
h5 {
    font-weight: 700;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.2s;
}

/* Map Container */
#map-container {
    background-color: #e9ecef !important;
    color: #6c757d;
}

#map-container iframe {
    filter: none;
    /* No dark mode filter */
}

/* Footer */
footer.bg-dark {
    background-color: #f8f9fa !important;
    /* Light footer */
    color: #6c757d !important;
    border-top: 1px solid #e9ecef;
}

footer.bg-dark p {
    color: #6c757d !important;
}


.img_kay {
    position: relative;
    display: block;
    width: 100%;

    aspect-ratio: 16 / 9; /* 🔥 reserva espaço antes do load */
    min-height: unset;
    max-height: unset;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 6rem 0 6rem 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

/* WP Admin Bar Fix */
body.admin-bar .navbar {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px !important;
    }

    #wpadminbar {
        position: fixed;
    }

}