/*
Theme Name: Pi-Bio Kft
Author: Synetiq IT
Description: Pi-Bio Kft
Version: 1.9
*/

:root {
    --primary-color: #d19a15;
    --text-dark: #2b2b2b;
    --text-light: #4a4a4a;
    --bg-main: #e8e8e8;
    --bg-alt: #dcdcdc;
    --box-bg: #f4f4f4;
    --header-height: clamp(80px, 8vw, 100px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-main);
    padding-top: var(--header-height);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--box-bg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 60px);
    width: 100%;
}

.logo-small img {
    height: clamp(50px, 5vw, 85px);
    width: auto;
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: clamp(15px, 2vw, 30px);
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: clamp(14px, 1.2vw, 18px);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.infoblock-wrapper {
    position: absolute;
    top: var(--header-height);
    left: 0;
    z-index: 900;
    transition: transform 0.3s ease;
}

.infoblock-wrapper:hover {
    transform: scale(1.02);
}

.infoblock-wrapper img {
    display: block;
    height: clamp(80px, 8vw, 120px);
    width: auto;
}

section {
    padding: clamp(60px, 8vw, 100px) 0;
    scroll-margin-top: var(--header-height);
}

h2 {
    text-align: center;
    font-size: clamp(28px, 3vw, 38px);
    margin-bottom: clamp(40px, 5vw, 60px);
    text-transform: uppercase;
    position: relative;
    letter-spacing: 2px;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

.hero-section {
    padding: 0;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--text-dark);
}

.hero-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.6);
    z-index: 1;
}

.hero-container {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.logo-large {
    width: clamp(280px, 45vw, 850px);
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
}

.about-section {
    background-color: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: clamp(50px, 6vw, 80px);
}

.feature-box {
    background: var(--box-bg);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-bottom: 4px solid var(--primary-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--text-dark);
}

.feature-box p {
    color: var(--text-light);
}

.services-area {
    background-color: var(--box-bg);
    padding: clamp(30px, 5vw, 60px);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: clamp(40px, 5vw, 60px);
}

.services-area h3 {
    font-size: clamp(26px, 2.5vw, 32px);
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
    font-size: clamp(16px, 1.5vw, 18px);
}

.services-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.services-list li {
    padding: 15px 0 15px 35px;
    border-bottom: 1px solid #dcdcdc;
    position: relative;
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 500;
    color: var(--text-dark);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 15px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

.about-description {
    background: var(--box-bg);
    padding: clamp(30px, 5vw, 50px);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary-color);
}

.lead-text {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.official-activities {
    list-style: none;
    margin-bottom: 30px;
}

.official-activities li {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.official-activities li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.official-activities strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}

.disclaimer-text {
    font-style: italic;
    color: #666;
    border-top: 1px solid #dcdcdc;
    padding-top: 20px;
    margin-top: 10px;
}

.contact-section {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('https://www.transparenttextures.com/patterns/dark-tire.png');
    background-color: #1a1a1a;
    color: #f4f4f4;
}

.contact-section h2 {
    color: #f4f4f4;
}

.contact-card {
    text-align: center;
    padding: clamp(40px, 6vw, 70px);
    border: 4px solid var(--primary-color);
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.company-name {
    font-size: clamp(30px, 3.5vw, 42px);
    margin-bottom: 25px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.phone-number {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.site-footer {
    background-color: #111;
    color: #777;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    :root {
        --header-height: 90px;
    }
    .header-inner {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding-top: 5px;
    }
    .logo-small img {
        height: 40px;
        margin-top: 5px;
        margin-bottom: 0;
    }
    .main-nav ul {
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: center;
        width: 100%;
    }
    .main-nav a {
        font-size: 12px;
        padding: 5px;
        letter-spacing: 0;
    }
    .infoblock-wrapper img {
        height: 50px;
    }
}