/*
Theme Name: HVOF Theme 2026
Theme URI: https://hvof.pl/
Description: Custom WordPress theme for HVOF.pl, designed for 2026 standards.
Author: Your Name
Author URI: https://yourwebsite.com
Version: 1.0.0
Text Domain: hvof-theme
*/

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0D0D0D; /* Głęboky antracytowe tło */
    color: white; /* Biały tekst o wysokim kontraście */
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Container */
.container {
    max-width: 1200px; /* Maksymalna szerokość kontenera */
    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 700; /* Bold */
    color: white; /* Biały dla nagłówków */
}

a {
    color: #FF5733; /* Titanium Orange dla linków */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffa500; /* Jaśniejszy odcień Titanium Orange dla hover */
}

/* --- Sekcja Hero --- */
.hvof-hero {
    /* Style background-image pochodzą z PHP w front-page.php */
    min-height: 60vh; /* Pełna wysokość ekranu */
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hvof-hero .absolute {
    position: absolute;
}
.hvof-hero .inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.hvof-hero .bg-black {
    background-color: black;
}
.hvof-hero .opacity-70 {
    opacity: 0.7;
}
.hvof-hero .z-0 {
    z-index: 0;
}
.hvof-hero .relative {
    position: relative;
}
.hvof-hero .z-10 {
    z-index: 10;
}
.hvof-hero .text-6xl {
    font-size: 3.75rem; /* ~60px */
}
.hvof-hero .font-extrabold {
    font-weight: 800;
}
.hvof-hero .mb-6 {
    margin-bottom: 1.5rem;
}
.hvof-hero .text-xl {
    font-size: 1.25rem; /* ~20px */
}
.hvof-hero .max-w-2xl {
    max-width: 42rem; /* ~672px */
}
.hvof-hero .mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.hvof-hero .mb-10 {
    margin-bottom: 2.5rem;
}
.hvof-hero .flex {
    display: flex;
}
.hvof-hero .justify-center {
    justify-content: center;
}
.hvof-hero .space-x-6 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1.5rem * var(--tw-space-x-reverse));
    margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
}
/* Animacje AOS */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-fade-in-up.aos-animate {
    opacity: 1;
    transform: translateY(0);
}
.delay-200 {
    transition-delay: 0.2s;
}
.delay-400 {
    transition-delay: 0.4s;
}

/* --- Przyciski (Buttony) --- */
.hvof-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hvof-btn--primary {
    background-color: #FF5733; /* Titanium Orange */
    color: white;
    border: 1px solid #FF5733;
}

.hvof-btn--primary:hover {
    background-color: #e64e2d;
    border-color: #e64e2d;
}

.hvof-btn--ghost {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.hvof-btn--ghost:hover {
    background-color: white;
    color: #0D0D0D;
}

/* --- Glassmorphism Effect --- */
.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.glassmorphism:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- Sekcja Bento Grid --- */
.hvof-bento-grid .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Domyślnie 1 kolumna */
    gap: 1.5rem; /* Odstępy między elementami */
}

@media (min-width: 768px) { /* Medium screens */
    .hvof-bento-grid .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hvof-bento-grid .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

@media (min-width: 1024px) { /* Large screens */
    .hvof-bento-grid .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bento-item {
    background-color: #1a1a1a; /* Ciemniejsze tło dla kafelków */
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 87, 51, 0.2); /* Delikatna ramka Titanium Orange */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 87, 51, 0.5);
}

.bento-item h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #FF5733; /* Titanium Orange */
    margin-bottom: 1rem;
}

.bento-item p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
}
.bento-item .text-6xl {
    font-size: 3.75rem; /* ~60px */
}
.bento-item .text-5xl {
    font-size: 3rem; /* ~48px */
}
.bento-item .text-xl {
    font-size: 1.25rem; /* ~20px */
}
.bento-item .font-light {
    font-weight: 300;
}
.bento-item .text-gray-400 {
    color: #a0aec0; /* Jasnoszary */
}
/* Krytyczna blokada rozmiaru logo */
header img, .custom-logo-link img {
    max-width: 180px !important;
    height: auto !important;
    display: block;
    margin: 15px auto !important;
}

/* Fix tła Hero, jeśli obrazek się nie ładuje */
.hvof-hero {
    background-color: #000 !important;
}
/* Naprawa Bento Grid - Równe wysokości i responsywność */
.hvof-bento-grid .grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    grid-auto-rows: 1fr !important; /* Wszystkie rzędy będą równej wysokości */
    gap: 1.5rem !important;
}

.bento-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* Wymuszenie wypełnienia całej wysokości grida */
    justify-content: space-between !important;
}

/* Fix dla Full HD - 3 kolumny */
@media (min-width: 1200px) {
    .hvof-bento-grid .grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}