/* ==================== ULTIMATE SITE-WIDE FIXES ==================== */
/* Tüm tespit edilen sorunların WORLD-CLASS çözümleri */

/* ===== 1. SERVICE CARDS - EQUAL HEIGHT & PERFECT ALIGNMENT ===== */
.service-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    align-items: stretch !important;
}

.service-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.25), rgba(15, 23, 42, 0.4)) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 24px !important;
    padding: 2rem !important;
    border: 2px solid rgba(234, 179, 8, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: rgba(234, 179, 8, 0.4) !important;
    box-shadow: 0 20px 50px rgba(234, 179, 8, 0.25) !important;
}

.service-card .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(234, 179, 8, 0.1));
    border: 2px solid rgba(234, 179, 8, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #eab308;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(234, 179, 8, 0.6);
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.3);
}

.service-card h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 1rem !important;
}

.service-card p {
    flex: 1 !important;
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

.service-card .service-features {
    margin-top: auto !important;
    padding: 0 !important;
    list-style: none !important;
}

.service-card .service-features li {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.5rem 0 !important;
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.service-card .service-features li i {
    color: #eab308 !important;
    font-size: 0.875rem !important;
}

/* ===== 2. CAMPAIGN CARDS - EQUAL HEIGHT ===== */
.campaign-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    align-items: stretch !important;
}

.campaign-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.25), rgba(15, 23, 42, 0.4)) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    border: 2px solid rgba(234, 179, 8, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.campaign-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: rgba(234, 179, 8, 0.4) !important;
    box-shadow: 0 20px 50px rgba(234, 179, 8, 0.25) !important;
}

.campaign-card .campaign-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(234, 179, 8, 0.1));
    border: 2px solid rgba(234, 179, 8, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #eab308;
}

.campaign-card h3 {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 0.75rem !important;
}

.campaign-card p {
    flex: 1 !important;
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
}

.campaign-card ul {
    margin-top: auto !important;
    padding: 0 !important;
    list-style: none !important;
}

.campaign-card ul li {
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    padding: 0.4rem 0 !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.campaign-card ul li i {
    color: #eab308 !important;
    font-size: 0.75rem !important;
}

/* ===== 3. FAQ ACCORDION - SMOOTH & FIRST OPEN ===== */
.faq-item {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.25), rgba(15, 23, 42, 0.4)) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    border: 2px solid rgba(234, 179, 8, 0.15) !important;
    margin-bottom: 1rem !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.faq-item:hover {
    border-color: rgba(234, 179, 8, 0.3) !important;
}

.faq-item.active {
    border-color: rgba(234, 179, 8, 0.5) !important;
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.2) !important;
}

.faq-header,
.faq-question {
    padding: 1.5rem 2rem !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease !important;
}

.faq-header:hover,
.faq-question:hover {
    background: rgba(234, 179, 8, 0.05) !important;
}

.faq-header h3,
.faq-question h3 {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 !important;
}

.faq-header i,
.faq-question i {
    font-size: 1.25rem !important;
    color: #eab308 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.faq-item.active .faq-header i,
.faq-item.active .faq-question i {
    transform: rotate(180deg) !important;
}

.faq-content,
.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.faq-item.active .faq-content,
.faq-item.active .faq-answer {
    max-height: 800px !important;
    padding: 0 2rem 1.5rem !important;
}

.faq-content p,
.faq-answer p {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* ===== 4. CONTACT FORM - VISUAL VALIDATION ===== */
.contact-form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.contact-form .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.contact-form .form-group.success input,
.contact-form .form-group.success textarea,
.contact-form .form-group.success select {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.contact-form .form-group.error input,
.contact-form .form-group.error textarea,
.contact-form .form-group.error select {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.contact-form .form-error {
    display: none;
    font-size: 0.85rem;
    color: #ef4444;
    margin-top: 0.5rem;
    animation: errorShake 0.4s ease;
}

.contact-form .form-group.error .form-error {
    display: block;
}

.contact-form .form-success {
    display: none;
    padding: 1rem 1.25rem;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    border-radius: 12px;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: successSlide 0.5s ease;
}

.contact-form .form-success.show {
    display: block;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes successSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 5. FOOTER - ENHANCED HOVER & SOCIAL ICONS ===== */
.footer-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: all 0.3s ease !important;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #eab308, #f59e0b);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #eab308 !important;
    transform: translateX(5px) !important;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a,
.top-social a {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(234, 179, 8, 0.05)) !important;
    border: 2px solid rgba(234, 179, 8, 0.3) !important;
    border-radius: 50% !important;
    color: #eab308 !important;
    font-size: 1.25rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer-social a:hover,
.top-social a:hover {
    background: linear-gradient(135deg, #eab308, #f59e0b) !important;
    color: #0f172a !important;
    border-color: #eab308 !important;
    transform: translateY(-5px) scale(1.1) rotate(5deg) !important;
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.4) !important;
}

/* ===== 6. LOADING SCREEN - OPTIMIZED DURATION ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-progress {
    height: 4px;
    background: linear-gradient(90deg, #eab308, #f59e0b);
    border-radius: 4px;
    animation: loadingProgress 1.5s ease-in-out forwards !important;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ===== 7. ABOUT TIMELINE - SMOOTH ANIMATION ===== */
.about-timeline {
    position: relative;
    padding: 2rem 0;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(234, 179, 8, 0.3), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: 1fr !important;
    }

    .campaign-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .footer-social a,
    .top-social a {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.1rem !important;
    }
}

