/* ==========================================================================
   Thermocalor Bt. - Egyedi CSS Stíluslap
   ========================================================================== */

/* 1. Változók és Alapbeállítások */
:root {
    --primary-blue: #0f3a61;
    --primary-blue-dark: #0a2945;
    --accent-orange: #f37021;
    --accent-orange-hover: #d95e14;
    --dark-slate: #0f172a;
    --light-slate: #f8fafc;
    --text-slate: #334155;
    --muted-slate: #64748b;
    --border-color: #e2e8f0;
    
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-slate);
    background-color: var(--light-slate);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-slate);
    font-weight: 700;
}

/* Színek segédosztályai */
.bg-primary-slate {
    background-color: var(--primary-blue) !important;
}

.bg-dark-slate {
    background-color: var(--dark-slate) !important;
}

.text-accent {
    color: var(--accent-orange) !important;
}

.text-light-slate {
    color: #cbd5e1 !important;
}

.fs-7 {
    font-size: 0.875rem;
}

.fs-8 {
    font-size: 0.75rem;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

/* 2. Navigáció és Főmenü */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
}

.brand-title {
    letter-spacing: 0.05em;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
}

.nav-link {
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-orange) !important;
}

/* 3. Egyedi Gombok */
.btn-accent {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
}

.btn-accent:hover, .btn-accent:focus {
    background-color: var(--accent-orange-hover) !important;
    border-color: var(--accent-orange-hover) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
}

.btn-outline-primary-slate {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary-slate:hover {
    background-color: var(--primary-blue);
    color: white;
}

.btn-outline-accent {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.btn-outline-accent:hover {
    background-color: var(--accent-orange);
    color: white;
}

/* 4. Hős (Hero) Szekció */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 58, 97, 0.95) 0%, rgba(15, 23, 42, 0.97) 100%);
    color: white;
    padding: 100px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 50%, rgba(243, 112, 33, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-accent-text {
    background: linear-gradient(to right, #ffffff, #ffd7be);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 5. Szolgáltatás Kártyák */
.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-color: rgba(243, 112, 33, 0.3);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(15, 58, 97, 0.05);
    color: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--accent-orange);
    color: white;
}

/* 6. Folyamat (Process) Lépések */
.process-step-num {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--light-slate);
    box-shadow: 0 0 0 2px var(--primary-blue);
}

/* 7. Fotógaléria & Szűrők */
.filter-btn {
    border-radius: 20px;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    background-color: white;
    color: var(--text-slate);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.gallery-card {
    overflow: hidden;
    border-radius: 10px;
    border: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: #eaeaea;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 58, 97, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* 8. Termékkártyák (Aktualitások) */
.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 58, 97, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    z-index: 1;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-orange);
}

/* 9. GYIK Harmonika */
.accordion-button:not(.collapsed) {
    background-color: rgba(15, 58, 97, 0.05);
    color: var(--primary-blue);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(15, 58, 97, 0.25);
    border-color: var(--primary-blue);
}

/* 10. Kapcsolat és Térkép */
.contact-info-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(243, 112, 33, 0.1);
    color: var(--accent-orange);
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* 11. Lábléc hover */
footer a.hover-accent:hover {
    color: var(--accent-orange) !important;
}

/* Back to Top show/hide */
.back-to-top.show {
    display: flex !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reszponzív finomítások */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-section {
        padding: 60px 0;
    }
}
