﻿/* Modern Request/Suggestion Page Styles */

/* Hero Section */
.request-hero {
    text-align: center;
    margin-bottom: 3rem;
    animation: slideInDown 0.8s ease-out;
}


/* Form Section */
.request-form-section {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out;
}

.section-header {
    margin-bottom: 1.5rem;
}

    .section-header h3, .section-header h4 {
        color: white;
        font-weight: 700;
        margin: 0;
        display: flex;
        align-items: center;
    }

/* Modern Form Controls */
.form-control-modern {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    width: 100%;
}

    .form-control-modern::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .form-control-modern:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        background: rgba(255, 255, 255, 0.15);
        outline: none;
    }

.form-select-modern {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    width: 100%;
}

    .form-select-modern:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        background: rgba(255, 255, 255, 0.15);
        outline: none;
    }

    .form-select-modern option {
        background: #2c3e50;
        color: white;
    }

.form-label {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

    .form-label i {
        margin-right: 0.5rem;
        color: var(--primary-color);
    }

/* Character Count */
.character-count {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

    .character-count.over-limit {
        color: #ff6b6b;
    }

        .character-count.over-limit #charCount {
            font-weight: bold;
            color: #ff4757;
        }

/* KVKK Section */
.kvkk-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-check-input {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.form-check-label {
    font-size: 0.9rem;
    line-height: 1.5;
}

    .form-check-label a {
        color: var(--warning-color);
        text-decoration: none;
        font-weight: 600;
    }

        .form-check-label a:hover {
            text-decoration: underline;
            color: #ffd93d;
        }

/* Submit Button */
.btn-submit-modern {
    background: var(--default-button);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

    .btn-submit-modern:hover {
        transform: translateY(-2px);
        box-shadow: var(--default-button-shadow-hover);
        background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
    }

    .btn-submit-modern:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    .btn-submit-modern .btn-text {
        transition: all 0.3s ease;
    }

/* Sidebar Sections */
.contact-info-section,
.faq-section {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 100px;
    color: white;
    animation: slideInRight 0.8s ease-out;
}

/* Help Categories */
.help-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.help-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .help-item:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
    }

.help-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

    .help-icon.istek {
        background: linear-gradient(135deg, #ffd93d 0%, #ff9800 100%);
    }

    .help-icon.sikayet {
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    }

    .help-icon.oneri {
        background: var(--gradient-success);
    }

    .help-icon.destek {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

.help-content h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.help-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .faq-item:hover {
        border-color: rgba(255, 255, 255, 0.2);
    }

    .faq-item.active {
        border-color: var(--primary-color);
        background: rgba(102, 126, 234, 0.1);
    }

.faq-question {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-weight: 600;
}

    .faq-question:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .faq-question span {
        font-size: 0.95rem;
    }

    .faq-question i {
        transition: transform 0.3s ease;
        color: var(--primary-color);
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

    .faq-answer p {
        padding: 1rem;
        margin: 0;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
        line-height: 1.5;
    }

/* Alert Customizations */
.alert-success {
    background: rgba(72, 187, 120, 0.2);
    border: 1px solid rgba(72, 187, 120, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.alert .btn-close {
    filter: brightness(0) invert(1);
}

/* Validation Errors */
.text-danger {
    color: #ff6b6b !important;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .contact-info-section,
    .faq-section {
        position: static;
        margin-top: 2rem;
    }

    .request-form-section {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content,
    .request-form-section,
    .contact-info-section,
    .faq-section {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .btn-submit-modern {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .help-item {
        flex-direction: column;
        text-align: center;
    }

    .help-icon {
        margin: 0 auto 0.5rem;
    }

    .faq-question {
        padding: 0.75rem;
    }

        .faq-question span {
            font-size: 0.9rem;
        }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-icon {
        width: 80px;
        height: 80px;
    }

        .hero-icon i {
            font-size: 2rem;
        }

    .form-control-modern,
    .form-select-modern {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }

    .btn-submit-modern {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Loading States */
.form-control-modern:disabled,
.form-select-modern:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success/Error States */
.form-control-modern.is-valid {
    border-color: #4ade80;
    box-shadow: 0 0 0 0.2rem rgba(74, 222, 128, 0.25);
}

.form-control-modern.is-invalid {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

/* Print Styles */
@media print {
    .request-hero,
    .contact-info-section,
    .faq-section {
        display: none;
    }

    .request-form-section {
        background: white !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }

    .form-control-modern,
    .form-select-modern {
        background: white !important;
        color: black !important;
        border: 1px solid #ddd !important;
    }

    .form-label {
        color: black !important;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .form-select-modern option {
        background: #1a1a1a;
        color: white;
    }
}

/* Accessibility improvements */
.form-control-modern:focus,
.form-select-modern:focus,
.btn-submit-modern:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .form-control-modern,
    .form-select-modern {
        border-width: 3px;
    }

    .help-icon {
        border: 2px solid white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-icon::before {
        animation: none;
    }
}
