/**
 * Achievements Section CSS
 * Damac Properties tarzı istatistikler bölümü
 */

/* Achievements Section Container */
.achievements-section {
    position: relative;
    width: 100%;
    background: #fff;
}

/* Hero Section (Background Image + Title) */
.achievements-hero {
    position: relative;
    padding: 80px 0;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievements-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.achievements-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.achievements-hero-title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 1px;
}

.achievements-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-tertiary-black {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-tertiary-black:hover {
    background: #000;
    color: #fff;
}

/* Achievements Grid */
.achievements-grid {
    width: 100%;
    padding: 40px 0;
}

.achievements-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    gap: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.achievement-item {
    flex: 1 1 calc(50% - 20px);
    min-width: 200px;
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

@media (min-width: 768px) {
    .achievement-item {
        flex: 1 1 calc(33.333% - 20px);
    }
}

/* Achievement Content */
.achievement-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Achievement Icon */
.achievement-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.achievement-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Gold/Accent color - adjust based on your theme */
    opacity: 0.9;
}

/* If you want to apply gold color filter to icons */
.achievement-icon img[src*="ikon"] {
    /* Gold color filter for PNG icons */
    filter: brightness(0) saturate(100%) invert(27%) sepia(95%) saturate(2000%) hue-rotate(30deg) brightness(0.9) contrast(1.1);
}

/* Achievement Value */
.achievement-value {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 500;
    margin: 0 0 8px 0;
    padding-top: 12px;
    color: #333;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Achievement Title */
.achievement-title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 500;
    margin: 0 0 2px 0;
    padding-top: 12px;
    color: #333;
    line-height: 1.3;
}

/* Achievement Description */
.achievement-description {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 300;
    margin: 0;
    padding: 0 10px;
    color: #666;
    line-height: 1.4;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .achievements-hero {
        padding: 60px 20px;
        min-height: 300px;
    }
    
    .achievements-list {
        padding: 0 16px;
        gap: 30px 16px;
    }
    
    .achievement-item {
        flex: 1 1 calc(50% - 8px);
        min-width: 150px;
    }
    
    .achievement-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
}

/* Animation on Scroll */
.achievement-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.achievement-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delay */
.achievement-item:nth-child(1) { transition-delay: 0.1s; }
.achievement-item:nth-child(2) { transition-delay: 0.2s; }
.achievement-item:nth-child(3) { transition-delay: 0.3s; }
.achievement-item:nth-child(4) { transition-delay: 0.4s; }
.achievement-item:nth-child(5) { transition-delay: 0.5s; }
.achievement-item:nth-child(6) { transition-delay: 0.6s; }
.achievement-item:nth-child(7) { transition-delay: 0.7s; }
.achievement-item:nth-child(8) { transition-delay: 0.8s; }

