:root {
    --primary-color: #798af5; /* #0000CD; */ /* Blue from logo */
    --primary-color-darker: #596ed5;
    --secondary-color: #1a1a1a; /* Black from logo */
    --light-bg: #f4f4f4;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-left: 15px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0 80px 0;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-logo {
    /* Huge logo settings */
    max-height: 65vh;
    width: auto;
    max-width: 90%;
    margin-bottom: 20px;
    mix-blend-mode: multiply;
}

.hero-subtitle {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    position: relative;
    padding-top: 3rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

.bg-light-custom {
    background-color: var(--light-bg);
}

/* Jövőkép Icon styling */
.jovokep-icon {
    font-size: 8rem;
    color: var(--primary-color);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
    font-weight: bold;
}

/* Custom Button Styling to ensure specific blue */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-color-darker); /* Slightly darker blue on hover */
    border-color: var(--primary-color-darker);
}

/* Contact Section */
.contact-card {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-card h3 {
    font-weight: 700;
}

.contact-info-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: -3px;
}

footer {
    background-color: var(--secondary-color);
    color: #aaa;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

/*Form*/

/* --- FŐ KERET --- */
.TurnKeyCRM {
    max-width: 800px;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-color); /* Mobility Kék */
    box-sizing: border-box;
}

/* Mezőcsoportok */
fieldset {
    border: none !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    background: none !important;
}

/* Címsorok */
legend {
    display: block !important;
    width: 100% !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px !important;
    margin-bottom: 25px !important;
    text-align: left !important;
    float: none !important; /* MiniCRM reset */
}

/* --- MEZŐK ELRENDEZÉSE (A hiba javítása) --- */

/* Biztosítjuk, hogy minden blokk teljes szélességű legyen és ne folyjon szét */
.InputBlock {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    clear: both !important; /* Megakadályozza az egymás mellé csúszást */
    position: relative;
}

/* A címke mindig a mező FÖLÖTT legyen */
.InputBlock label {
    display: block !important;
    width: 100% !important;
    float: none !important; /* MiniCRM alap float törlése */
    text-align: left !important;
    font-weight: 600;
    margin-bottom: 8px !important;
    color: #495057;
    font-size: 14px;
    padding: 0 !important;
}

.InputBlock label.Required::after {
    content: " *";
    color: #dc3545;
}

/* Input mezők stílusa */
.InputBlock input[type="text"],
.InputBlock select,
.InputBlock textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    box-sizing: border-box !important; /* Ez akadályozza meg a túllógást */
    font-family: 'Open Sans', sans-serif;
    height: auto !important; /* Fix magasság törlése */
    margin: 0 !important;
}

.InputBlock textarea {
    min-height: 100px;
    resize: vertical;
}

/* Fókusz állapot */
.InputBlock input:focus,
.InputBlock select:focus,
.InputBlock textarea:focus {
    border-color: #80bdff !important;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

/* Kisbetűs leírások */
.Description {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px !important;
    font-style: italic;
    display: block !important;
    clear: both;
}

/* --- CHECKBOX (GDPR) JAVÍTÁS --- */

/* A GDPR blokknál speciális elrendezés kell */
.InputBlock input[type="checkbox"] {
    width: auto !important;
    display: inline-block !important;
    margin-right: 10px !important;
    transform: scale(1.2);
    float: left; /* Checkbox balra */
    margin-top: 3px;
}

.SetLabel {
    display: block !important;
    font-weight: 400 !important;
    cursor: pointer;
    padding-left: 25px !important; /* Hely a checkboxnak */
}

.CheckBoxLabel {
    font-size: 13px;
    line-height: 1.5;
    display: block;
}

/* Linkek */
a {
    color: var(--primary-color-darker);
    text-decoration: none;
    font-weight: 600;
}
a:hover {
    text-decoration: underline;
}



/* Mobil nézet finomítás */
@media (max-width: 600px) {
    .TurnKeyCRM {
        padding: 20px;
        margin: 10px;
    }
}
