/* contact.css */

.contact-hero {
    min-height: 100vh;
    padding: 120px 8% 60px;
    background: url('images/tech.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Info Side */
.contact-info h1 {
    font-size: 3.5rem;
    margin: 20px 0;
    line-height: 1.1;
}

.info-items {
    margin: 40px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 15px;
    border-radius: 12px;
}

.info-item h4 {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.5rem;
    color: #94a3b8;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Form Side (Glassmorphism) */
.contact-form-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.full-width {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
        position: relative;
        z-index: 99999 !important; 
        pointer-events: auto !important;
        cursor: pointer;
        color: white; /* Σιγουρέψου ότι φαίνεται πάνω στο background */
    }

    /* Και εδώ οι οδηγίες για το πώς θα ανοίγει το μενού */
    .nav-links {
        display: flex !important;
        position: fixed;
        right: -100%; /* Ξεκινάει κρυμμένο δεξιά */
        top: 0;
        width: 70%;
        height: 100vh;
        background: #0f172a;
        transition: 0.4s;
        z-index: 99998; /* Λίγο πιο κάτω από το κουμπί */
    }

    .nav-links.active {
        right: 0; /* Εμφανίζεται όταν πατάς το κουμπί */
    }
    .contact-hero {
        padding: 100px 5% 40px; /* Μειώνουμε τα περιθώρια πάνω-κάτω */
        height: auto; /* Επιτρέπουμε στη σελίδα να μεγαλώσει σε ύψος */
        min-height: 100vh;
    }

    .contact-wrapper {
        grid-template-columns: 1fr; /* Από 2 στήλες, γίνεται 1 */
        gap: 40px;
        text-align: center;
    }

    .contact-info h1 {
        text-align: center;
        font-size: 1rem; /* Μικραίνουμε τον τίτλο για να χωράει */
    }

    .info-item {
        flex-direction: column; /* Εικονίδιο πάνω, κείμενο από κάτω */
        gap: 10px;
    }

    .info-item i {
        margin: 10px auto; /* Κεντράρουμε το εικονίδιο */
    }
    .info-item div{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .info-item div h4, .info-item div p {
    margin: 0; /* Αφαιρεί τυχόν κρυφά κενά που χαλάνε την ευθεία */
    }

    .contact-form-card {
        padding: 25px 20px; /* Λιγότερο εσωτερικό κενό για να κερδίσουμε χώρο */
        width: 100%;
        backdrop-filter: blur(10px); /* Διατηρούμε το glass εφέ */
    }

    .social-links {
        justify-content: center; /* Κεντράρουμε τα social icons */
        margin-bottom: 20px;
    }

    /* Κάνουμε τα inputs λίγο μεγαλύτερα για να πατιούνται εύκολα με το δάχτυλο */
    .input-group input, 
    .input-group textarea {
        font-size: 16px; /* Αποφεύγει το αυτόματο ζουμ του iPhone */
    }
    
}