/*
Theme Name: Places3D
Theme URI: https://places3d.com
Author: Yvenel Benoit
Description: Lightweight WordPress shell theme for Places3D.com. GPSMap AI provides the production 3D globe, search, SEO routes and database logic.
Version: 1.0.3
License: GPL v2 or later
Text Domain: places3d
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
    --places3d-bg: #050814;
    --places3d-surface: rgba(5, 8, 20, 0.78);
    --places3d-border: rgba(255, 255, 255, 0.12);
    --places3d-text: #f7fafc;
    --places3d-muted: #aab4c3;
    --places3d-green: #00ff88;
}

html {
    scroll-behavior: smooth;
}

body.places3d-theme {
    margin: 0;
    background: var(--places3d-bg);
    color: var(--places3d-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.places3d-skip-link {
    position: absolute;
    left: -999px;
}

.places3d-skip-link:focus {
    left: 12px;
    top: 12px;
    z-index: 9999;
    background: #fff;
    color: #000;
    padding: 10px 12px;
    border-radius: 8px;
}

.places3d-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 18px;
    background: var(--places3d-surface);
    border-bottom: 1px solid var(--places3d-border);
    backdrop-filter: blur(16px);
}

.places3d-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--places3d-text);
    text-decoration: none;
    font-weight: 900;
}

.places3d-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--places3d-green);
    color: #03120b;
    font-size: 12px;
}

.places3d-nav {
    margin-left: auto;
}

.places3d-nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.places3d-nav a {
    color: var(--places3d-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.places3d-nav a:hover,
.places3d-nav a:focus {
    color: var(--places3d-text);
}

.places3d-main {
    min-height: 100vh;
    padding-top: 68px;
}

.places3d-content {
    width: min(960px, calc(100% - 32px));
    min-height: 70vh;
    margin: 0 auto;
    padding: 110px 0 56px;
}

.places3d-entry {
    color: var(--places3d-text);
}

.places3d-entry a {
    color: var(--places3d-green);
}

.places3d-plugin-notice {
    width: min(900px, calc(100% - 32px));
    margin: 110px auto 40px;
    padding: 28px;
    border: 1px solid var(--places3d-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.places3d-footer {
    padding: 22px 18px;
    color: var(--places3d-muted);
    text-align: center;
    border-top: 1px solid var(--places3d-border);
    background: #030611;
}

@media (max-width: 700px) {
    .places3d-header {
        position: relative;
        flex-wrap: wrap;
        padding: 14px;
    }

    .places3d-main {
        padding-top: 0;
    }

    .places3d-nav {
        width: 100%;
        margin-left: 0;
    }

    .places3d-nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }
}

