/* ==================== HIRE ME PAGE STYLES ==================== */

#hire-me {
    min-height: 100vh;
    padding: 100px 20px 80px;
}

.hire-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Intro Section */
.hire-intro {
    text-align: center;
    margin-bottom: 60px;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Main Hire Content */
.hire-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Services Section */
.services-section h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.8), rgba(26, 31, 38, 0.8));
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow-strong), 0 15px 40px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
    opacity: 1;
    background: var(--gradient-accent);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: grayscale(1) brightness(1.2);
}

.service-card h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-section h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    text-align: center;
}

.hire-form {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.95), rgba(26, 31, 38, 0.95));
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-glow), 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.hire-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-accent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 10, 10, 0.6);
    border: 2px solid rgba(168, 168, 168, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(168, 168, 168, 0.1);
    background: rgba(10, 10, 10, 0.8);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    padding: 16px 50px;
    border: 2px solid var(--color-primary);
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow-strong), 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading .btn-loader {
    display: block;
}

.btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--bg-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-note {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form Messages */
.form-message {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.95), rgba(26, 31, 38, 0.95));
    border: 2px solid;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin-top: 30px;
    backdrop-filter: blur(20px);
}

.form-message.success {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(168, 168, 168, 0.2);
}

.form-message.error {
    border-color: var(--color-danger);
    box-shadow: 0 0 30px rgba(136, 136, 136, 0.2);
}

.message-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.form-message h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.form-message p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.form-message a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Quick Contact Section */
.quick-contact {
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.8), rgba(26, 31, 38, 0.8));
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.quick-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
}

.quick-contact h3 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.quick-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border: 2px solid;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quick-btn .icon {
    font-size: 1.3rem;
}

.quick-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s ease;
    z-index: -1;
}

.quick-btn:hover::before {
    left: 0;
}

.quick-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.quick-btn.whatsapp {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: linear-gradient(135deg, rgba(168, 168, 168, 0.1), rgba(140, 140, 140, 0.1));
}

.quick-btn.whatsapp::before {
    background: var(--gradient-primary);
}

.quick-btn.whatsapp:hover {
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow), 0 8px 25px rgba(0, 0, 0, 0.4);
}

.quick-btn.email {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    background: linear-gradient(135deg, rgba(212, 212, 212, 0.1), rgba(184, 184, 184, 0.1));
}

.quick-btn.email::before {
    background: var(--gradient-secondary);
}

.quick-btn.email:hover {
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold), 0 8px 25px rgba(0, 0, 0, 0.4);
}

.quick-btn.linkedin {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: linear-gradient(135deg, rgba(140, 140, 140, 0.1), rgba(192, 192, 192, 0.1));
}

.quick-btn.linkedin::before {
    background: var(--gradient-accent);
}

.quick-btn.linkedin:hover {
    color: var(--bg-primary);
    box-shadow: var(--shadow-teal), 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    #hire-me {
        padding: 80px 15px 60px;
    }

    .hire-intro .intro-text {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hire-form {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quick-contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .quick-btn {
        justify-content: center;
    }
}
