/* Custom CSS for Psikolojik Test Sitesi */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: 76px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Test Cards */
.test-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.test-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.test-icon {
    font-size: 2.5rem;
    height: 60px;
    display: flex;
    align-items: center;
}

.test-icon i {
    transition: all 0.3s ease;
}

.test-card:hover .test-icon i {
    transform: scale(1.1);
}

/* Navigation - Psikorehberim Tasarımı */
.navbar {
    background: white !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.navbar-brand {
    color: #2c3e50 !important;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #e67e22 !important;
}

.btn-appointment {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-appointment:hover {
    background: linear-gradient(135deg, #d35400, #e67e22);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* Buttons */
.btn {
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    transform: translateY(-2px);
}

/* Progress Bar */
.progress {
    height: 8px;
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Test Page Styles */
.test-container {
    max-width: 800px;
    margin: 0 auto;
}

.question-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.question-header {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    color: white;
    padding: 20px;
    text-align: center;
}

.question-body {
    padding: 30px;
}

.option-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.option-item:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.option-item.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.option-radio {
    margin-right: 15px;
    transform: scale(1.2);
}

/* Result Styles */
.result-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 40px;
    margin: 30px 0;
    text-align: center;
}

.score-display {
    font-size: 3rem;
    font-weight: bold;
    margin: 20px 0;
}

.result-level {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.result-normal {
    background: linear-gradient(135deg, var(--success-color), #20c997);
}

.result-hafif {
    background: linear-gradient(135deg, var(--warning-color), #fd7e14);
}

.result-yuksek {
    background: linear-gradient(135deg, #fd7e14, var(--danger-color));
}

.result-ciddi {
    background: linear-gradient(135deg, var(--danger-color), #721c24);
}

/* Contact Form */
.contact-section {
    background: #f8f9fa;
    padding: 60px 0;
    border-radius: 15px;
    margin: 30px 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .test-card {
        margin-bottom: 20px;
    }
    
    .question-body {
        padding: 20px;
    }
    
    .option-item {
        padding: 12px 15px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Footer - Psikorehberim Tasarımı */
.footer-modern {
    background: #34495e;
    color: #ecf0f1;
    padding: 50px 0 20px;
}

.footer-title {
    color: #ecf0f1;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-text {
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-link {
    color: #e67e22;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f39c12;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #e67e22;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact .contact-item i {
    color: #e67e22;
    margin-right: 10px;
    margin-top: 2px;
    width: 20px;
}

.footer-contact .contact-item span {
    font-weight: 600;
    margin-right: 10px;
    min-width: 50px;
}

.footer-contact .contact-item p {
    margin: 0;
    color: #bdc3c7;
}

.footer-hours {
    background: rgba(230, 126, 34, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #e67e22;
}

.footer-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 14px;
    margin: 0;
}

.footer-copyright a {
    color: #e67e22;
    text-decoration: none;
}

.footer-social {
    text-align: right;
}

.social-text {
    color: #95a5a6;
    font-size: 14px;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #e67e22;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-social {
        text-align: center;
        margin-top: 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}