@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&display=swap');

:root {
    --pf-bg: #0b101a;
    --pf-blue: #00f2ff;
    --pf-dark-blue: #0a2e38;
    --pf-orange: #ff9d00;
    --pf-glass: rgba(11, 16, 26, 0.85);
    --pf-border: rgba(0, 242, 255, 0.3);
}

/* Reset Layout Base */
body {
    background: var(--pf-bg) !important;
    color: #fff !important;
    font-family: 'Rajdhani', sans-serif !important;
    margin: 0;
    overflow-x: hidden;
}

/* CANVAS 3D */
#pf-global-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2; /* Dietro a tutto */
    pointer-events: none;
}

.pf-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* TOP BAR */
#pf-top-bar {
    background: #000;
    color: var(--pf-blue);
    padding: 8px 0;
    font-size: 14px;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--pf-dark-blue);
    text-align: center;
    position: relative;
    z-index: 100;
}
.sep { margin: 0 15px; color: #555; }

/* HEADER */
#pf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pf-border);
    position: sticky;
    top: 0;
    z-index: 999;
}

.pf-logo { display: flex; align-items: center; gap: 10px; }
.pf-logo i { font-size: 2.5em; color: var(--pf-orange); }
.pf-logo h2 { margin: 0; line-height: 1; color: #fff; font-size: 28px; }
.pf-logo small { display: block; font-size: 12px; letter-spacing: 3px; color: #aaa; }
.highlight { color: var(--pf-blue); }

.pf-nav a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 700;
    font-size: 18px;
    transition: 0.3s;
}
.pf-nav a:hover, .pf-nav a.active { color: var(--pf-blue); text-shadow: 0 0 10px var(--pf-blue); }
/* Forza orizzontale anche se il tema sovrascrive */
#pf-header .pf-nav ul,
#pf-header .pf-nav .menu {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#pf-header .pf-nav ul li,
#pf-header .pf-nav .menu li {
    display: flex;
    align-items: center;
}
#pf-header .pf-nav ul li a,
#pf-header .pf-nav .menu li a {
    color: #ccc;
    font-weight: 700;
    font-size: 18px;
}

/* WRAPPER PRINCIPALE */
#pf-main-wrapper {
    position: relative;
    z-index: 10;
    min-height: 80vh;
}

/* BUTTONS */
.pf-btn {
    background: var(--pf-blue);
    border: none;
    color: #000;
    padding: 10px 25px;
    font-weight: 800;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.pf-btn:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--pf-blue);
}
.pf-btn-icon { color: #fff; font-size: 20px; margin-right: 15px; }

/* HERO SECTION & WIDGET */
.pf-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 10%;
    flex-wrap: wrap;
}

.hero-title {
    font-size: 5em;
    line-height: 0.9;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}
.outline-text {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}
.hero-sub { font-size: 1.5em; color: #aaa; margin-bottom: 30px; }
.pf-features span { margin-right: 20px; font-size: 1.1em; color: var(--pf-orange); }

/* WIDGET CARD */
.pf-booking-widget {
    background: var(--pf-glass);
    border: 1px solid var(--pf-border);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    position: relative;
}
.widget-header {
    background: var(--pf-dark-blue);
    color: var(--pf-blue);
    padding: 10px;
    text-align: center;
    font-weight: bold;
    margin: -30px -30px 20px -30px;
    border-bottom: 1px solid var(--pf-border);
}

.pf-input {
    width: 100%;
    background: rgba(0,0,0,0.5);
    border: 1px solid #444;
    color: #fff;
    padding: 12px;
    margin-bottom: 5px;
    font-family: inherit;
    box-sizing: border-box; /* IMPORTANTE per evitare sbordature */
}
.pf-input:focus {
    border-color: var(--pf-orange);
    outline: none;
}
.form-row { display: flex; gap: 10px; margin-bottom: 15px; }
.form-group { margin-bottom: 15px; width: 100%; }
.form-group label { display: block; color: var(--pf-blue); font-size: 12px; margin-bottom: 5px; letter-spacing: 1px; }
.mt-20 { margin-top: 20px; }
.full-width { width: 100%; text-align: center; }
/* FOOTER */
#pf-footer {
    border-top: 1px solid #333;
    padding: 40px 5%;
    background: #05080d;
    position: relative;
    z-index: 10;
}
.pf-footer-content {
    display: flex;
    justify-content: space-between;
}

/* MEDIA QUERIES */
@media(max-width: 768px) {
    .pf-hero { padding: 40px 5%; flex-direction: column; text-align: center; }
    .hero-title { font-size: 3em; }
    .desktop-only { display: none; }
    .pf-booking-widget { margin-top: 40px; }
}
