/*
Theme Name: NeoBlack 2026.1
Description: Modern Full-Width Theme for Event Agency
Version: 2026.1
Author: Raku
Author URI: https://www.neo.krakow.pl/
*/

/* ==========================================
   1. ZMIENNE GLOBALNE & BASE RESET
   ========================================== */
:root {
    --bg-dark: #0b0c10;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary-color: #66fcf1;
    --accent-color: #45a29e;
    --text-main: #c5c6c7;
    --text-white: #ffffff;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   2. HEADER & NAWIGACJA GÓRNA
   ========================================== */
.site-header {
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
    padding: 20px 0;
}

.site-header .header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.brand-text .site-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.brand-text .site-title a {
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.brand-text .site-description {
    margin: 4px 0 0 0;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.main-nav li {
    position: relative;
    white-space: nowrap;
}

.main-nav a {
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 10px;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Podmenu rozwijane */
.main-nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #121318;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 9999;
    flex-direction: column;
    gap: 0;
}

.main-nav li:hover > ul {
    display: flex;
}

.main-nav ul ul li a {
    font-size: 0.85rem;
    padding: 8px 16px;
    color: var(--text-main);
    text-align: left;
}

.main-nav ul ul li a:hover {
    background: rgba(102, 252, 241, 0.1);
    color: var(--primary-color);
}

/* ==========================================
   3. SEKCJA HERO & BADGES
   ========================================== */
.hero-section {
    padding: 90px 20px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(69, 162, 158, 0.15) 0%, rgba(11, 12, 16, 1) 70%);
    border-bottom: 1px solid var(--card-border);
}

.hero-logo-wrapper {
    margin-bottom: 25px;
}

.hero-logo {
    max-width: 360px;
    width: 100%;
    height: auto;
    display: inline-block;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.12));
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto 15px auto;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: var(--text-main);
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary-color);
    color: #000;
    font-weight: 600;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 252, 241, 0.3);
    color: #000;
}

.hero-dynamic-bg {
    position: relative;
    padding: 120px 20px 140px 20px;
    text-align: center;
    overflow: hidden;
    background: 
        linear-gradient(180deg, rgba(11, 12, 16, 0.85) 0%, rgba(11, 12, 16, 0.65) 50%, rgba(11, 12, 16, 0.98) 100%),
        url('images/neo_9030358.jpg') center/cover no-repeat;
    background-attachment: fixed;
    border-bottom: 1px solid var(--card-border);
}

.hero-logo-clean {
    max-width: 380px;
    width: 100%;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 0 25px rgba(102, 252, 241, 0.3));
    transition: transform 0.4s ease;
}

.hero-logo-clean:hover {
    transform: scale(1.03);
}

.hero-photo-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 5;
    flex-wrap: wrap;
}

.photo-badge {
    width: 220px;
    height: 120px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.photo-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 60%);
    transition: opacity 0.3s ease;
}

.photo-badge span {
    position: relative;
    z-index: 2;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.photo-badge:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(102, 252, 241, 0.3);
}

.photo-badge:hover::before {
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 80%);
}

.hero-photo-badges a.photo-badge {
    text-decoration: none !important;
    color: var(--text-white) !important;
}

.hero-photo-badges a.photo-badge:hover span {
    color: var(--primary-color) !important;
}

/* ==========================================
   4. GŁÓWNY KONTENER I SIATKI WPISÓW
   ========================================== */
.site-main,
main.content-area {
    max-width: 1300px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-white);
    margin: 0;
}

.events-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.event-card {
    flex: 1 1 400px;
    max-width: 580px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(102, 252, 241, 0.12);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
    background-color: #121318;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .card-image img {
    transform: scale(1.04);
}

.card-meta {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.card-category a {
    position: relative;
    z-index: 2;
}

.card-title {
    margin: 0 0 10px 0;
}

.card-title a {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.3;
}

.event-card:hover .card-title a {
    color: var(--primary-color);
}

.card-excerpt {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.card-main-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

/* Single & Page Cards */
.single-event-card, 
.single-page-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
}

.single-post-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--text-white);
    margin: 10px 0 20px 0;
}

.single-featured-image {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 25px;
}

.single-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.4em;
}

.entry-content img {
    border-radius: 8px;
}

/* ==========================================
   5. BANERY PODSTRON (PAGE BANNERS)
   ========================================== */
.page-banner-fullwidth {
    position: relative;
    width: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 40px;
    padding: 60px 20px;
    box-sizing: border-box;
    overflow: hidden;
    border: none !important;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 16, 0.35);
    z-index: 1;
    pointer-events: none;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.7);
}

.page-title::after {
    display: none !important;
}

/* ==========================================
   6. PODSTRONA KONTAKT (PEŁNA SZEROKOŚĆ)
   ========================================== */
.contact-page-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.contact-header-text {
    text-align: center !important;
    margin-bottom: 35px !important;
}

.contact-header-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.contact-header-text p {
    font-size: 1.05rem;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto;
}

/* Moduł wiatraka na całą szerokość */
.windmill-fullwidth-box {
    text-align: center !important;
    margin-bottom: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.windmill-fullwidth-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.windmill-static-img {
    max-width: 160px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    filter: drop-shadow(0 0 15px rgba(102, 252, 241, 0.2));
}

.windmill-side-caption {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    font-size: 1rem !important;
}

.windmill-fullwidth-box h3 {
    color: var(--text-white) !important;
    font-size: 1.4rem !important;
    margin-top: 20px !important;
    margin-bottom: 25px !important;
}

.steps-fullwidth-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    text-align: left !important;
}

.step-card-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 15px !important;
}

.step-num {
    background: var(--primary-color) !important;
    color: #000000 !important;
    font-weight: 800 !important;
    min-width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 0.9rem !important;
}

.step-card-text strong {
    color: var(--text-white) !important;
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 0.95rem !important;
}

.step-card-text p {
    margin: 0 !important;
    font-size: 0.88rem !important;
    color: var(--text-main) !important;
    line-height: 1.4 !important;
}

/* Siatka 2-kolumnowa dla Szybkiego Kontaktu i Zespołu */
.contact-fullwidth-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
	margin-top: 0 !important;
    margin-bottom: 15px !important;
    width: 100% !important;
}

.contact-box {
    background: var(--card-bg) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 16px !important;
    padding: 25px 30px !important;
    box-sizing: border-box !important;
}

.contact-box h3 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    color: var(--text-white) !important;
    font-size: 1.35rem !important;
}

.contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-list li {
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.contact-svg-icon {
    flex-shrink: 0 !important;
}

.contact-divider {
    border: 0 !important;
    height: 1px !important;
    background: var(--card-border) !important;
    margin: 15px 0 !important;
}

.team-member {
    font-size: 0.95rem;
    line-height: 1.6;
}

.company-details-box code {
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    color: var(--primary-color) !important;
    font-size: 0.95rem !important;
}

.map-wrapper {
    margin-top: 15px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* ==========================================
   7. PODSTRONA OFERTA
   ========================================== */
.offer-page-container {
    width: 100%;
    margin: 0 auto;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.offer-card {
    display: flex;
    flex-direction: column;
}

.offer-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.offer-card-header h3 {
    margin: 0 !important;
    font-size: 1.4rem;
}

.offer-card-desc {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

ul.offer-list,
.offer-list {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.offer-list li {
    position: relative !important;
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 20px !important;
    margin-bottom: 12px !important;
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
}

/* UKRYCIE TWARDEJ KROPKI SPAN WSTAWIONEJ W HTML */
.offer-list li > span:first-child {
    display: none !important;
}

.offer-list li::marker {
    content: "" !important;
    display: none !important;
}

/* CZYSTY, ŚWIECĄCY DIAMENCIK */
.offer-list li::before {
    content: "" !important;
    position: absolute !important;
    left: 2px !important;
    top: 7px !important;
    width: 6px !important;
    height: 6px !important;
    background-color: #66fcf1 !important;
    transform: rotate(45deg) !important;
    box-shadow: 0 0 6px rgba(102, 252, 241, 0.7) !important;
}



.offer-wide-box {
    margin-bottom: 30px;
}

.locations-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.location-tag {
    background: rgba(102, 252, 241, 0.08);
    border: 1px solid rgba(102, 252, 241, 0.2);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
}

.marketing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 15px;
}

.marketing-grid ul {
    padding-left: 20px;
    margin-top: 8px;
    font-size: 0.92rem;
}

.offer-bonus-box {
    background: linear-gradient(135deg, rgba(102, 252, 241, 0.1) 0%, rgba(11, 12, 16, 0.5) 100%) !important;
    border: 1px solid var(--primary-color) !important;
    margin-bottom: 30px;
}

.bonus-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bonus-badge {
    background: var(--primary-color);
    color: #000;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 10px 18px;
    border-radius: 10px;
    letter-spacing: 1px;
}

.bonus-content h4 {
    margin: 0 0 5px 0;
    color: var(--text-white);
    font-size: 1.2rem;
}

.bonus-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* ==========================================
   8. STOPKA
   ========================================== */
.site-footer {
    border-top: 1px solid var(--card-border);
    padding: 40px 20px;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 60px;
}

.site-footer a {
    color: var(--primary-color);
}

/* ==========================================
   9. MEDIA QUERIES (RESPONSYWNOŚĆ)
   ========================================== */
@media (max-width: 900px) {
    .steps-fullwidth-grid {
        grid-template-columns: 1fr !important;
    }
    .contact-fullwidth-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 850px) {
    .offer-grid,
    .marketing-grid {
        grid-template-columns: 1fr;
    }
    
    .bonus-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
     
    .event-card {
        flex: 1 1 100%;
    }         
    
    .card-image {
        height: 200px;
    }

    .hero-photo-badges {
        display: none;
    }
    
    .hero-dynamic-bg {
        padding: 80px 20px;
        background-attachment: scroll;
    }
    
    .page-banner-fullwidth {
        min-height: 200px;
        padding: 40px 20px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .steps-fullwidth-grid {
        grid-template-columns: 1fr !important;
    }
}
/* --- ANIMACJA OBROTOWA WIATRAKA --- */

@keyframes spinWindmill {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.windmill-animated-img {
    max-width: 160px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    filter: drop-shadow(0 0 15px rgba(102, 252, 241, 0.3)) !important;
    
    /* Ciągły obrót: 12 sekund na pełen obrót, liniowo, bez końca */
    animation: spinWindmill 12s linear infinite !important;
    
    /* Płynne przyspieszenie/interakcja po najechaniu */
    transition: filter 0.3s ease !important;
}

.windmill-animated-img:hover {
    animation-duration: 4s !important; /* Przyspiesza obrót po najechaniu myszką */
    filter: drop-shadow(0 0 25px rgba(102, 252, 241, 0.6)) !important;
}
/* --- FORMULARZ WYSZUKIWARKI --- */
.search-form-custom {
    width: 100%;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    border-radius: 30px;
    padding: 6px 6px 6px 18px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input-group:focus-within {
    border-color: var(--primary-color, #66fcf1);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.2);
}

.search-input-group input[type="text"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white, #ffffff);
    font-size: 0.95rem;
    font-family: inherit;
}

.search-input-group input[type="text"]::placeholder {
    color: var(--text-main, #c5c6c7);
    opacity: 0.6;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
}

@media (max-width: 480px) {
    .search-btn span {
        display: none; /* Na małych ekranach zostaje sama ikonka lupy */
    }
    .search-btn {
        padding: 10px 14px;
        border-radius: 50%;
    }
}
/* --- STYLIZACJA STRONY LINKÓW --- */
.links-custom-list .link-category-item h2 {
    font-family: var(--font-heading, 'Syne', sans-serif);
    color: var(--text-white, #ffffff);
    font-size: 1.25rem;
    margin: 15px 0 10px 0;
    border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    padding-bottom: 5px;
}

.links-custom-list ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 10px 0 0 0 !important;
}

.links-custom-list ul li {
    margin-bottom: 8px !important;
    font-size: 0.95rem;
}
/* --- ODCHUDZENIE HEADERA I BANERÓW NA TELEFONACH --- */
@media (max-width: 768px) {

    /* 1. Zmniejszenie paddingu i wysokości głównego nagłówka strony */
    .site-header {
        padding: 8px 0 !important;
    }

    .site-header .header-container {
        gap: 6px !important;
        padding: 0 15px !important;
    }

    .brand-text .site-title {
        font-size: 1.1rem !important;
    }

    .brand-text .site-description {
        display: none !important; /* Ukrywa opis pod tytułem na telefonach, oszczędzając miejsce */
    }

    .main-nav ul {
        gap: 8px !important;
    }

    .main-nav a {
        font-size: 0.8rem !important;
        padding: 4px 6px !important;
    }

    /* 2. Zmniejszenie wysokie sekcji Banera na podstronach */
    .page-banner-fullwidth {
        min-height: 120px !important;
        padding: 20px 15px !important;
        margin-bottom: 20px !important;
    }

    .page-title {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }

    /* 3. Odchudzenie sekcji Hero na stronie głównej */
    .hero-dynamic-bg,
    .hero-section {
        padding: 30px 15px !important;
    }

    .hero-content h2 {
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }

    .hero-content p {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }

    .hero-logo-clean,
    .hero-logo {
        max-width: 180px !important;
    }
}