*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

/* ── CONTACT SECTION ── */
.contact-section {
    min-height: 100vh;
    background: url("../images/loise.jpg") center/cover no-repeat fixed;
    display: flex;
    align-items: center;
}

.contact-overlay {
    width: 100%;
    background: rgba(8, 18, 28, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 80px 60px;
}

/* HEADER */
.contact-header {
    text-align: center;
    margin-bottom: 56px;
}

.contact-header h1 {
    font-size: 46px;
    color: #00ff66;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.contact-sub {
    color: #9ca3af;
    font-size: 16px;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ── GRID: info + form ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

/* ── INFO PANEL ── */
.contact-info {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,255,102,0.12);
    border-radius: 18px;
    padding: 36px 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-info h2 {
    font-size: 20px;
    color: #00ff66;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,255,102,0.18);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(0,255,102,0.1);
    border: 1px solid rgba(0,255,102,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
    color: #00ff66;
    transition: background 0.2s, transform 0.2s;
}

.info-item:hover .info-icon {
    background: rgba(0,255,102,0.2);
    transform: scale(1.06);
}

.info-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
    margin-bottom: 3px;
}

.info-value {
    font-size: 14px;
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.2s;
}

.info-value:hover { color: #00ff66; }

.info-socials {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.info-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(0,255,102,0.2);
    background: rgba(0,255,102,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff66;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.info-socials a:hover {
    background: rgba(0,255,102,0.2);
    transform: translateY(-3px);
    border-color: #00ff66;
}

/* ── FORM PANEL ── */
.contact-form-wrap {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,255,102,0.12);
    border-radius: 18px;
    padding: 36px 34px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-form-wrap h2 {
    font-size: 20px;
    color: #00ff66;
    margin-bottom: 26px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,255,102,0.18);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.field-group label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #9ca3af;
    margin-bottom: 7px;
}

.field-group input,
.field-group textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 15px;
    color: #e5e7eb;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
}

.field-group input::placeholder,
.field-group textarea::placeholder { color: #4b5563; }

.field-group input:focus,
.field-group textarea:focus {
    border-color: rgba(0,255,102,0.5);
    background: rgba(0,255,102,0.04);
    box-shadow: 0 0 0 3px rgba(0,255,102,0.08);
}

/* SUBMIT BUTTON */
.cf-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #00ff66, #00c853);
    color: #021827;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

.cf-submit:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,255,102,0.28);
}

.cf-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* STATUS MESSAGE */
.cf-status {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.cf-success { background: rgba(0,255,102,0.08); color: #4ade80; border: 1px solid rgba(0,255,102,0.2); }
.cf-error   { background: rgba(255,59,59,0.08); color: #f87171; border: 1px solid rgba(255,59,59,0.2); }

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.contact-form-wrap.reveal { transition-delay: 0.12s; }

/* ── FOOTER ── */
footer {
    background: #08121c;
    text-align: center;
    padding: 20px;
    color: #aaa;
}

.social-links { margin-bottom: 12px; }

.social-links a {
    color: #00ff66;
    font-size: 22px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.2s;
}
.social-links a:hover { color: #7ee8a2; }

/* ── RESPONSIVE: tablet ── */
@media (max-width: 900px) {
    .contact-overlay { padding: 60px 36px; }
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .contact-header h1 { font-size: 36px; }
}

/* ── RESPONSIVE: mobile ── */
@media (max-width: 600px) {
    .contact-overlay { padding: 50px 20px; }
    .contact-header h1 { font-size: 28px; }
    .contact-sub { font-size: 14px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form-wrap, .contact-info { padding: 24px 20px; }
}
