/* ==========================================================================
   Aziziye Okulları - İlkokula Geçiş Değerlendirme Testi Stylesheet
   Theme: aziziyeokullari.com (Montserrat font & Corporate Navy/Blue Palette)
   ========================================================================== */

:root {
    /* Color Palette matching aziziyeokullari.com */
    --primary-navy: #172554;
    --primary-blue: #1e3a8a;
    --accent-blue: #3730a3;
    --bright-blue: #4f46e5;
    --soft-blue: #f0f4ff;
    --card-blue: #eef2ff;
    
    --cta-orange: #ff5722;
    --cta-orange-hover: #f4511e;
    
    --accent-gold: #f59e0b;
    --accent-gold-dark: #d97706;
    --accent-purple: #8b5cf6;
    --accent-sky: #0ea5e9;
    --accent-pink: #ec4899;
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border-light: #e2e8f0;
    --border-focus: #3b82f6;
    
    /* Fonts & Radii */
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Shadow System */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(30, 58, 138, 0.08), 0 4px 10px -2px rgba(30, 58, 138, 0.03);
    --shadow-lg: 0 20px 40px -10px rgba(30, 58, 138, 0.15);
    --shadow-orange: 0 10px 25px -3px rgba(255, 87, 34, 0.4);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    /* Subtle grid pattern matching aziziyeokullari.com */
    background-image: 
        linear-gradient(to right, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
    background-size: 32px 32px;
}

main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.25;
}

.text-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.85rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-divider {
    width: 1px;
    height: 28px;
    background-color: var(--border-light);
}

.brand-tag {
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary-blue);
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 0.55rem 1.2rem;
    background-color: var(--soft-blue);
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.header-phone:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.35);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.45);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-cta {
    background: linear-gradient(135deg, var(--cta-orange), #ff7043);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 1.15rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-orange);
    width: 100%;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--cta-orange-hover), var(--cta-orange));
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -3px rgba(255, 87, 34, 0.5);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 4.5rem 0 3.5rem;
    text-align: center;
}

.hero-container {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    max-width: 700px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.feature-chip i {
    font-size: 1.1rem;
    color: var(--accent-blue);
}

.btn-hero {
    padding: 1.15rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   Quiz Section
   ========================================================================== */
.quiz-section {
    padding: 3rem 0;
}

.quiz-container {
    max-width: 760px;
}

/* Progress Header */
.quiz-progress-wrapper {
    margin-bottom: 1.75rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-step-text {
    color: var(--text-secondary);
}

.progress-step-text strong {
    color: var(--primary-navy);
}

.progress-percentage-text {
    font-weight: 800;
    color: var(--primary-blue);
}

.progress-bar-bg {
    width: 100%;
    height: 10px;
    background-color: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 7%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    border-radius: var(--radius-full);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Category Tag */
.quiz-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background-color: var(--soft-blue);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
}

.quiz-category-tag i {
    font-size: 1rem;
}

/* Question Card */
.question-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.question-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Options Grid */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    background-color: #ffffff;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.option-radio-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.option-radio-circle::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.option-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.option-card:hover .option-content {
    border-color: #a5b4fc;
    background-color: #f8fafc;
}

.option-card input[type="radio"]:checked + .option-content {
    border-color: var(--primary-blue);
    background-color: var(--soft-blue);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.12);
}

.option-card input[type="radio"]:checked + .option-content .option-radio-circle {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
}

.option-card input[type="radio"]:checked + .option-content .option-radio-circle::after {
    transform: scale(1);
}

/* Quiz Controls */
.quiz-nav-controls {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* ==========================================================================
   Results Summary Section (Matching image.png Layout)
   ========================================================================== */
.results-section {
    padding: 4rem 0;
    animation: fadeIn 0.4s ease;
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    background-color: #dcfce7;
    color: #15803d;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.results-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.4rem;
}

.results-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Results Dual Card Grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* Left Card */
.summary-left-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.summary-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.summary-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.icon-blue { background-color: #dbeafe; color: #1d4ed8; }
.icon-indigo { background-color: #e0e7ff; color: #4338ca; }
.icon-amber { background-color: #fef3c7; color: #b45309; }

.summary-text {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.summary-text strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.summary-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-light);
    margin: 1.75rem 0;
}

/* Right Card */
.summary-right-card {
    background-color: var(--card-blue);
    border: 1px solid #c7d2fe;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.report-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.report-badge-icon {
    width: 52px;
    height: 52px;
    background-color: #dbeafe;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-blue);
}

.report-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-navy);
}

.report-card-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
}

.highlight-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.icon-purple { background-color: #f3e8ff; color: #7e22ce; }
.icon-gold { background-color: #fef9c3; color: #a16207; }
.icon-sky { background-color: #e0f2fe; color: #0369a1; }
.icon-pink { background-color: #fce7f3; color: #be185d; }

.highlight-item span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.3;
}

/* ==========================================================================
   Lead Form Modal
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.25s ease;
}

.modal-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 640px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background-color: #e2e8f0;
    color: var(--primary-navy);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.modal-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Lead Form Controls */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

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

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.required {
    color: #ef4444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    background-color: #ffffff;
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--primary-blue);
    width: 16px;
    height: 16px;
}

.checkbox-label a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Modal Success State */
.modal-success {
    text-align: center;
    padding: 1rem 0;
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.5rem;
}

.success-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.success-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.success-info-box {
    background-color: var(--soft-blue);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 900px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .question-card {
        padding: 1.5rem;
    }
    
    .question-text {
        font-size: 1.15rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-card {
        padding: 1.75rem 1.25rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .summary-left-card,
    .summary-right-card {
        padding: 1.5rem;
    }
}
