/* === ZÁKLADNÉ NASTAVENIA, FONT A FARBY === */
#html_custom_template {
--orange: #ff6600;
--dark-blue: #0d2a4a;
--white: #ffffff;
--text-dark: #1f2937;
--text-secondary: #4b5563; /* Zjemnená farba textu */
--border-color: #e5e7eb;
--light-bg: #f9fafb;
}

#html_custom_template body {
margin: 0;
font-family: 'Inter', sans-serif;
background-color: #f9fafb;
color: var(--text-dark);
overflow-x: hidden;
}

#html_custom_template .showroom-section *, #html_custom_template .showroom-section *:before, #html_custom_template .showroom-section *:after {
box-sizing: border-box;
}

#html_custom_template .showroom-section {
font-family: 'Inter', sans-serif;
background-color: transparent;
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
overflow-x: hidden;
}

#html_custom_template .page-wrapper {
width: 100%;
margin: 0 auto;
overflow: hidden;
}

#html_custom_template .section-spacer {
margin-top: 80px;
}

/* === HERO SECTION (HLAVNÝ BANNER) === */
#html_custom_template .hero-section {
position: relative;
border-radius: 24px;
overflow: hidden;
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: flex-start;
height: 500px;
padding: 2.5rem; /* Odsadenie pre celý banner */
}

#html_custom_template .hero-content-box {
max-width: 550px;
background-color: rgba(255, 255, 255, 0.88); /* Polopriehľadná biela */
color: var(--text-dark);
padding: clamp(2rem, 5vw, 3rem);
border-radius: 16px;
backdrop-filter: blur(8px);
box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
#html_custom_template .hero-content-box h1 {
font-size: clamp(2.5rem, 5vw, 3.2rem);
font-weight: 800;
color: var(--text-dark);
line-height: 1.2;
margin-top: 0;
margin-bottom: 20px;
}
#html_custom_template .hero-content-box h1 span {
color: var(--orange);
}
#html_custom_template .hero-content-box p {
font-size: 1.1rem;
color: var(--text-secondary);
line-height: 1.7;
margin-bottom: 30px;
}
#html_custom_template .hero-button, #html_custom_template .button-primary {
display: inline-block;
background-color: var(--orange);
color: var(--white);
padding: 14px 28px;
border-radius: 12px;
text-decoration: none;
font-weight: 600;
font-size: 1rem;
transition: background-color 0.3s ease, transform 0.3s ease;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
align-self: flex-start;
}
#html_custom_template .hero-button:hover, #html_custom_template .button-primary:hover {
background-color: #e65c00;
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* === VÝHODY (PILLARS GRID) === */
#html_custom_template .pillars-section-header { text-align: center; margin-bottom: 50px; }
#html_custom_template .pillars-section-header h2 {
font-size: clamp(2.2rem, 5vw, 2.8rem);
font-weight: 800;
margin: 0 0 20px 0;
letter-spacing: -0.025em;
line-height: 1.2;
color: var(--text-dark);
position: relative;
display: inline-block;
}
#html_custom_template .pillars-section-header h2 span {
color: var(--orange);
}
#html_custom_template .pillars-section-header h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background-color: var(--orange);
border-radius: 2px;
}
#html_custom_template .pillars-section-header p { font-size: 1.15rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; line-height: 1.6; }

#html_custom_template .pillars-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 32px;
}
#html_custom_template .pillar-card {
background-color: var(--white);
border-radius: 20px;
padding: 35px;
text-align: center;
border: 1px solid var(--border-color);
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: column;
}
#html_custom_template .pillar-card:hover {
transform: translateY(-8px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.07);
}
#html_custom_template .pillar-card__icon { width: 50px; height: 50px; margin: 0 auto 25px auto; color: var(--orange); }
#html_custom_template .pillar-card__title { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
#html_custom_template .pillar-card__description { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; flex-grow: 1; }

/* === ROZCESTNÍK (CATEGORY HUB) === */
#html_custom_template .category-hub-section {
text-align: center;
}
#html_custom_template .category-hub-section h2 {
font-size: clamp(2.2rem, 5vw, 3rem);
font-weight: 800;
margin-bottom: 50px;
color: var(--text-dark);
}
#html_custom_template .category-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
#html_custom_template .category-card {
display: block;
position: relative;
overflow: hidden;
border-radius: 24px;
min-height: 400px;
background-size: cover;
background-position: center;
text-decoration: none;
color: var(--white);
transition: transform 0.3s ease;
}
#html_custom_template .category-card:hover {
transform: scale(1.03);
}
#html_custom_template .category-card::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 60%;
background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
z-index: 1;
}
#html_custom_template .category-card__title {
position: absolute;
bottom: 25px;
left: 25px;
right: 25px;
z-index: 2;
font-size: 1.7rem;
font-weight: 700;
line-height: 1.3;
text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* === BLOKY S OBRÁZKOM (FEATURE BLOCK SPLIT) === */
#html_custom_template .feature-block-split {
background-color: var(--white);
border-radius: 24px;
display: flex;
align-items: center;
overflow: hidden;
border: 1px solid var(--border-color);
gap: 20px;
}
#html_custom_template .feature-block-split--reversed { flex-direction: row-reverse; }
#html_custom_template .feature-block-split__image { flex: 1 1 50%; min-height: 450px; }
#html_custom_template .feature-block-split__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
#html_custom_template .feature-block-split__text { flex: 1 1 50%; padding: clamp(2rem, 5vw, 4rem); }
#html_custom_template .feature-block-split__text h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); font-weight: 700; color: var(--text-dark); margin-bottom: 20px; line-height: 1.3; }
#html_custom_template .feature-block-split__text p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 30px; }
#html_custom_template .feature-block-split__text p:last-of-type { margin-bottom: 40px; }
#html_custom_template .feature-block-split__text .highlight { color: var(--orange); font-weight: 600; }

/* === CTA SEKCE === */
#html_custom_template .cta-section {
background-color: var(--dark-blue);
color: var(--white);
text-align: center;
padding: 60px 30px;
border-radius: 24px;
}
#html_custom_template .cta-section h2 {
font-size: clamp(2rem, 5vw, 2.5rem);
font-weight: 800;
margin-bottom: 15px;
}
#html_custom_template .cta-section .sub-headline {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto 30px auto;
line-height: 1.7;
opacity: 0.9;
}

/* === FOOTER === */
#html_custom_template .page-footer { text-align: center; padding: 30px 20px; margin-top: 80px; border-top: 1px solid var(--border-color); font-size: 0.9rem; color: var(--text-secondary); }
#html_custom_template .page-footer a { color: var(--orange); text-decoration: none; }
#html_custom_template .page-footer a:hover { text-decoration: underline; }

/* === RESPONZIVITA === */
@media (max-width: 992px) {
#html_custom_template .feature-block-split, #html_custom_template .feature-block-split--reversed {
flex-direction: column;
}
#html_custom_template .hero-content-box {
margin: 0 auto;
}
#html_custom_template .feature-block-split__image {
min-height: 300px;
}
#html_custom_template .feature-block-split__text {
padding: 40px;
text-align: center;
}
}
@media (max-width: 768px) {
#html_custom_template .hero-section {
height: auto;
min-height: 450px;
padding: 40px 20px;
justify-content: center;
}
#html_custom_template .hero-content-box {
width: 100%;
max-width: 100%;
padding: 2rem;
text-align: center;
margin: 0;
}
#html_custom_template .hero-button {
align-self: center;
}
#html_custom_template .hero-content-box h1 {
font-size: 2.2rem;
}
#html_custom_template .pillars-grid, #html_custom_template .category-grid {
grid-template-columns: 1fr;
}
#html_custom_template .feature-block-split__text h2 {
font-size: 1.8rem;
}
}
