/* Contact Page Specific Styles */

.contact-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(151, 71, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(151, 71, 255, 0.1) 0%, transparent 50%);
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.contact-hero p {
    font-size: 1.3rem;
    color: var(--accent-purple);
    font-weight: 400;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: var(--primary-dark);
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.section-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

/* Input Styles */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    resize: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(151, 71, 255, 0.1);
}

.form-group textarea {
    min-height: 120px;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark);
    color: var(--white);
}

/* Service Grid - Highlight Selection */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-label {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 18px 20px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 60px;
    height: 60px;
    position: relative;
    overflow: hidden;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
}

.service-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(151, 71, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-item:hover .service-label {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-item:hover .service-label::before {
    left: 100%;
}

.service-item.selected .service-label {
    background: linear-gradient(135deg, rgba(151, 71, 255, 0.25), rgba(151, 71, 255, 0.15));
    border-color: var(--accent-purple);
    color: var(--white);
    box-shadow: 0 0 0 2px rgba(151, 71, 255, 0.3), 0 8px 25px rgba(151, 71, 255, 0.2);
    transform: translateY(-2px);
}

.service-item.selected .service-label::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 12px;
    width: 20px;
    height: 20px;
    background: var(--accent-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: var(--white);
}

/* Budget Slider */
.budget-slider-container {
    padding: 30px 0;
}

.budget-header {
    margin-bottom: 25px;
}

.budget-title {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 400;
    margin-right: 8px;
}

#budget-display {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 600;
}

.slider-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.budget-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.budget-slider::-webkit-slider-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border-radius: 3px;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.budget-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.budget-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    border: none;
}

.budget-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.budget-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slider-track-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 6px;
    background: var(--accent-purple);
    border-radius: 3px;
    transform: translateY(-50%);
    z-index: 1;
    transition: width 0.3s ease;
    pointer-events: none;
}

.slider-range {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 400;
}

.range-min, .range-max {
    color: rgba(255, 255, 255, 0.6);
}

/* Submit Button */
.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn {
    background: var(--accent-purple);
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.submit-btn:hover {
    background: #8a3ff5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(151, 71, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: var(--dark);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.info-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-card p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Active Navigation State */
.nav-menu a.active {
    color: var(--accent-purple);
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-purple);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-form {
        padding: 40px;
    }
    
    .checkbox-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .radio-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 20px 80px;
    }

    .contact-hero .hero-content {
        padding: 0 10px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
    }
    
    .service-label {
        padding: 16px 18px;
        min-height: 55px;
        height: auto;
    }
    
    .budget-title {
        font-size: 1.2rem;
    }
    
    #budget-display {
        font-size: 1.2rem;
    }
    
    .budget-slider::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }
    
    .budget-slider::-moz-range-thumb {
        width: 24px;
        height: 24px;
    }
    
    .slider-range {
        font-size: 0.85rem;
    }
    
    .contact-info-section {
        padding: 60px 20px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .info-card {
        padding: 30px 20px;
        text-align: center;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 80px 15px 50px;
    }

    .contact-hero .hero-content {
        padding: 0 5px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-form-section {
        padding: 50px 0;
    }
    
    .contact-form {
        padding: 25px 15px;
        margin: 0 15px;
        border-radius: 16px;
    }
    
    .service-grid {
        gap: 12px;
    }
    
    .service-label {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .budget-title {
        font-size: 1.1rem;
    }
    
    #budget-display {
        font-size: 1.1rem;
    }
    
    .slider-range {
        font-size: 0.8rem;
    }
    
    .submit-btn {
        padding: 16px 30px;
        font-size: 1rem;
        min-width: 160px;
    }
    
    .contact-info-section {
        padding: 50px 15px;
    }
    
    .contact-info-grid {
        max-width: 100%;
        gap: 20px;
    }
    
    .info-card {
        max-width: 100%;
        padding: 25px 18px;
    }
}