/* =========================================
   1. ALAPBEÁLLÍTÁSOK (RESET & GLOBÁLIS)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #2c3e50;
    color: #ecf0f1;
}

h1, h2, h3, h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

/* =========================================
   2. NAVIGÁCIÓ (MENÜ)
   ========================================= */
.navbar {
    background-color: #2c3e50;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li a {
    color: #ecf0f1;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #e67e22;
}

/* =========================================
   3. GOMBOK (BUTTONS)
   ========================================= */
.btn {
    display: inline-block;
    background-color: #e67e22;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-weight: bold;
    margin-top: 20px;
}

.btn:hover {
    background-color: #d35400;
    transform: scale(1.05);
}

/* =========================================
   4. KAPCSOLAT & ŰRLAP
   ========================================= */
.contact-section {
    background-color: transparent; 
    padding: 80px 20px;
    position: relative;
    z-index: 10;
}

.contact-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(44, 62, 80, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid #e67e22; 
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 20px rgba(230, 126, 34, 0.15);
}

.contact-card h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.contact-subtitle {
    color: #bdc3c7;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    width: 100%;
    text-align: left;
}

.contact-form input, 
.contact-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #ecf0f1;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: #e67e22;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.3);
}

.contact-type-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 50px;
}

.radio-label span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.radio-label input[type="radio"]:checked + span {
    background: rgba(230, 126, 34, 0.2);
    border: 1px solid #e67e22;
    color: #e67e22;
    font-weight: bold;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(45deg, #d35400, #e67e22);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.5);
}

/* =========================================
   5. LÁBLÉC (FOOTER)
   ========================================= */
footer {
    background-color: #1a252f;
    color: #7f8c8d;
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid #2c3e50;
    font-size: 0.9rem;
}

/* =========================================
   6. MOBIL OPTIMALIZÁCIÓ (GLOBAL)
   ========================================= */
@media screen and (max-width: 900px) {
    /* Alap betűméret és konténer igazítás */
    .container {
        padding: 60px 20px !important;
    }
    
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.6rem !important; }
    
    /* Navigáció átalakítása */
    .navbar {
        flex-direction: column;
        padding: 15px;
        background: rgba(44, 62, 80, 0.98);
    }
    
    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .nav-links li {
        margin: 0;
    }

    .nav-links li a {
        margin: 0;
        font-size: 0.9rem;
        padding: 8px 12px;
        background: rgba(255,255,255,0.05);
        border-radius: 5px;
        display: block;
    }

    /* Kapcsolat űrlap optimalizálása */
    .contact-card {
        padding: 30px 20px;
        width: 100%;
    }

    .contact-type-selector {
        flex-direction: column; /* Egymás alá a gombok */
        border-radius: 15px;
    }
    
    .radio-label span {
        width: 100%;
        justify-content: center;
    }
}