/* Feedback Sistemi - Əsas CSS */
/* Əsas rəng: #A47967 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Əsas konteyner */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #A47967 0%, #8B6B5C 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(164, 121, 103, 0.3);
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: fadeInDown 1s ease-out;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Kartlar */
.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Form elementləri */
.form-group {
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.6s ease-out;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #A47967;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #A47967;
    background: white;
    box-shadow: 0 0 0 3px rgba(164, 121, 103, 0.1);
    transform: scale(1.02);
}

/* Qiymətləndirmə sistemi */
.rating-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #A47967;
    transition: all 0.3s ease;
}

.rating-container:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.rating-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
}

.rating-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.rating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.rating-item:hover {
    background: rgba(164, 121, 103, 0.1);
    transform: scale(1.1);
}

.rating-item input[type="radio"] {
    display: none;
}

.rating-number {
    width: 40px;
    height: 40px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #6c757d;
    background: white;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.rating-item input[type="radio"]:checked + .rating-number {
    background: #A47967;
    color: white;
    border-color: #A47967;
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(164, 121, 103, 0.4);
}

.rating-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: center;
}

/* Düymələr */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #A47967 0%, #8B6B5C 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(164, 121, 103, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(164, 121, 103, 0.4);
    background: linear-gradient(135deg, #8B6B5C 0%, #A47967 100%);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Məlumat mesajları */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: slideInDown 0.5s ease-out;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Responsive dizayn */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .rating-scale {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        max-width: 100%;
    }
    
    .rating-item {
        margin: 0;
        padding: 8px 4px;
    }
    
    .rating-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .rating-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .rating-container {
        padding: 1rem;
    }
    
    .rating-question {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .rating-scale {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        margin: 0;
    }
    
    .rating-item {
        padding: 6px 2px;
        min-height: auto;
    }
    
    .rating-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        margin-bottom: 2px;
        border-width: 1px;
    }
    
    .rating-item input[type="radio"]:checked + .rating-number {
        transform: scale(1.1);
    }
    
    .rating-label {
        font-size: 0.65rem;
        line-height: 1.1;
        text-align: center;
        word-break: break-word;
        hyphens: auto;
    }
    
    /* Mobil üçün xüsusi grid layout */
    .rating-scale-mobile {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 360px) {
    .rating-scale {
        gap: 4px;
    }
    
    .rating-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .rating-label {
        font-size: 0.6rem;
    }
    
    .rating-item {
        padding: 4px 1px;
    }
}

/* Animasiyalar */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading animasiyası */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mağaza məlumatları */
.store-info {
    background: linear-gradient(135deg, #A47967 0%, #8B6B5C 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.store-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.store-info p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Təşəkkür səhifəsi */
.thank-you {
    text-align: center;
    padding: 3rem 2rem;
}

.thank-you-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.thank-you h2 {
    color: #A47967;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thank-you p {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
}
