/* --- MODERN KAPCSOLAT OLDAL DIZÁJN ÉS ANIMÁCIÓK --- */
.contact-page-wrapper {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    background: transparent;
    perspective: 1000px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #111111;
    padding: 60px 50px;
    border-radius: 24px;
    border: 1px solid rgba(0, 204, 85, 0.2);
    box-shadow: 0 20px 50px rgba(27, 77, 62, 0.12);
    animation: fadeInContainer 0.8s ease-out;
}

@keyframes fadeInContainer {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-info, .contact-form-box {
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
}

/* Címek animációval és dinamikus színváltással */
.contact-info h2, .contact-form-box h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: titleColorShift 6s ease-in-out infinite;
}

@keyframes titleColorShift {
    0% { color: #1b4d3e; }
    50% { color: #00cc55; }
    100% { color: #1b4d3e; }
}

.contact-intro {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Elérhetőség elemek */
.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
    background: #ffffff;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-4px);
    border-color: #00cc55;
    box-shadow: 0 10px 25px rgba(27, 77, 62, 0.1);
}

.info-item .icon {
    font-size: 24px;
    background: #f0fdf4;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.info-item strong {
    display: block;
    font-size: 12px;
    color: #1b4d3e;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    font-weight: 700;
}

.info-item p {
    margin: 0;
    font-size: 15px;
    color: #444444;
    font-weight: 500;
}

.social-section {
    margin-top: 35px;
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.social-section strong {
    display: block;
    font-size: 12px;
    color: #1b4d3e;
    margin-bottom: 12px;
    letter-spacing: 0.8px;
    font-weight: 700;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #1b4d3e;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(27, 77, 62, 0.2);
}

.social-icons a:hover {
    background: #00cc55;
    transform: translateY(-3px) rotate(8deg);
}

/* Formázás az űrlaphoz */
.custom-contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.custom-contact-form .form-group {
    margin-bottom: 22px;
}

.custom-contact-form label {
    display: block;
    font-size: 13px;
    color: #1b4d3e;
    margin-bottom: 8px;
    font-weight: 700;
}

.custom-contact-form input,
.custom-contact-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box !important;
    background: #f8fafc;
    color: #111111;
    transition: all 0.3s ease;
}

.custom-contact-form textarea {
    min-height: 120px;
    max-height: 250px;
    resize: vertical; /* Csak függőlegesen legyen átméretezhető, így nem csúszhat szét */
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    outline: none;
    border-color: #00cc55;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 204, 85, 0.15);
}

.submit-btn {
    background: linear-gradient(135deg, #00cc55 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 204, 85, 0.4);
    width: 100%;
    box-sizing: border-box;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 204, 85, 0.6);
}