/* Modern AWAİ YAPI Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif !important;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #0f172a;
}

/* Global font family for all elements except icons */
*:not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not(.fa):not(i[class*="fa-"]) {
    font-family: 'Poppins', sans-serif !important;
}

/* FontAwesome icons - preserve original font */
.fas, .far, .fab, .fal, .fad, .fa, i[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "FontAwesome" !important;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #f59e0b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* Button hover effects */
.btn-hover {
    transition: all 0.3s ease;
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.loading:nth-child(1) { animation-delay: 0.1s; }
.loading:nth-child(2) { animation-delay: 0.2s; }
.loading:nth-child(3) { animation-delay: 0.3s; }
.loading:nth-child(4) { animation-delay: 0.4s; }

/* Intersection Observer animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Custom focus styles */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Hover effects for interactive elements */
.interactive:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-construction {
    background-color: #f97316;
    color: white;
}

.status-completed {
    background-color: #10b981;
    color: white;
}

/* Project cards */
.project-card {
    transition: all 0.3s ease;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Navigation styles */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: #f59e0b;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Form styles */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Utility classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur-strong {
    backdrop-filter: blur(20px);
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-accent {
        background-color: #000;
    }
    
    .text-accent {
        color: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile project card improvements */
@media (max-width: 768px) {
    .project-card {
        margin-bottom: 2rem;
    }
    
    /* Status badges - mobile specific */
    .project-card .status-badge,
    .project-card .bg-orange-500,
    .project-card .bg-green-500 {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        font-weight: 700;
        letter-spacing: 0.025em;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    /* Project info grid - mobile spacing */
    .project-card .grid.grid-cols-3 {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .project-card .grid.grid-cols-3 > div {
        padding: 0.75rem 0.5rem;
        border-radius: 0.75rem;
    }
    
    .project-card .grid.grid-cols-3 .text-2xl {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .project-card .grid.grid-cols-3 .text-sm {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    /* Bottom status and button area */
    .project-card .flex.items-center.justify-between {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    /* Status indicator - mobile */
    .project-card .flex.items-center.text-orange-500,
    .project-card .flex.items-center.text-green-500 {
        justify-content: center;
        padding: 0.75rem;
        border-radius: 0.75rem;
        font-weight: 600;
        font-size: 0.875rem;
    }
    
    .project-card .flex.items-center.text-orange-500 {
        background-color: #fed7aa;
        color: #ea580c;
    }
    
    .project-card .flex.items-center.text-green-500 {
        background-color: #bbf7d0;
        color: #16a34a;
    }
    
    /* Detail button - mobile */
    .project-card .project-detail-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        font-weight: 600;
    }
    
    /* Project title in overlay - mobile */
    .project-card .absolute.bottom-6.left-6 h3 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .project-card .absolute.bottom-6.left-6 p {
        font-size: 0.875rem;
    }
    
    /* Features list - mobile */
    .project-card .space-y-3 {
        margin-bottom: 1.5rem;
    }
    
    .project-card .space-y-3 .flex.items-center {
        font-size: 0.875rem;
    }
    
    /* Project description - mobile */
    .project-card p.text-gray-600 {
        font-size: 0.875rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
}