/* ========== HAKKIMIZDA SECTION ========== */
#hakkimizda {
    background: radial-gradient(circle at top, rgba(24,36,25,0.7), rgba(5,7,5,1));
    position: relative;
    overflow: hidden;
}

#hakkimizda::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(134,183,106,0.08), transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: aboutGlow 12s ease-in-out infinite;
}

@keyframes aboutGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(-80px, 80px) scale(1.2); opacity: 0.6; }
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 50px;
}

/* ========== ABOUT CARD - 3D ANIMATIONS ========== */
/* <a> tag olduğunda link default rengini sıfırla */
a.about-card {
    color: inherit;
    text-decoration: none;
    display: block;
}

.about-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 480px;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1500px;
    opacity: 0;
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
    transition: all 1200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Different entrance animations for each card */
.about-card:nth-child(1) {
    transform: translate3d(-100px, 80px, -200px) rotateY(-45deg) rotateX(25deg);
}

.about-card:nth-child(2) {
    transform: translate3d(0, 120px, -250px) rotateX(35deg) scale(0.8);
}

.about-card:nth-child(3) {
    transform: translate3d(100px, 80px, -200px) rotateY(45deg) rotateX(25deg);
}

.about-card.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0) rotateX(0) scale(1);
}

/* Stagger animation timing */
.about-card:nth-child(1).visible {
    transition-delay: 0s;
}

.about-card:nth-child(2).visible {
    transition-delay: 0.2s;
}

.about-card:nth-child(3).visible {
    transition-delay: 0.4s;
}

/* Card glow effect */
.about-card::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(134,183,106,0.3), transparent 60%);
    opacity: 0;
    transition: opacity 800ms ease-out;
    z-index: 2;
    pointer-events: none;
    animation: cardGlow 3s ease-in-out infinite;
}

@keyframes cardGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10px, -10px) scale(1.1); }
}

.about-card:hover::before {
    opacity: 1;
}

/* Decorative border */
.about-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 2px solid rgba(134,183,106,0.2);
    opacity: 0;
    transition: all 600ms ease-out;
    z-index: 4;
    pointer-events: none;
}

.about-card:hover::after {
    opacity: 1;
    inset: -5px;
    border-color: rgba(134,183,106,0.6);
    box-shadow: 0 0 40px rgba(134,183,106,0.4);
}

/* ========== IMAGE ANIMATION ========== */
.about-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 1200ms cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(0.85) contrast(1.1);
    transform: scale(1.15);
}

.about-card.visible .about-card-image {
    transform: scale(1.05);
}

.about-card:hover .about-card-image {
    transform: scale(1.25) rotate(3deg);
    filter: brightness(1.1) contrast(1.2);
}

/* ========== OVERLAY ANIMATION ========== */
.about-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,7,6,0.95) 0%, rgba(5,7,6,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
    transition: all 900ms cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
    transform: translateY(20px);
    opacity: 0;
}

.about-card.visible .about-card-overlay {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.4s;
}

.about-card:hover .about-card-overlay {
    background: linear-gradient(to top, rgba(5,7,6,0.98) 0%, rgba(5,7,6,0.85) 70%, rgba(5,7,6,0.4) 100%);
    padding: 40px;
}

/* ========== TITLE ANIMATION ========== */
.about-card-title {
    font-size: 26px;
    margin-bottom: 16px;
    transition: all 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Playfair Display', serif;
    transform: translateY(50px);
    opacity: 0;
    position: relative;
}

.about-card.visible .about-card-title {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.6s;
}

.about-card-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
    transition: width 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-card:hover .about-card-title {
    transform: translateY(-20px) scale(1.08);
    color: var(--accent-green);
    text-shadow: 0 0 25px rgba(134,183,106,0.6);
}

.about-card:hover .about-card-title::after {
    width: 60px;
}

/* ========== TEXT ANIMATION ========== */
.about-card-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-card.visible .about-card-text {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.about-card:hover .about-card-text {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.2s;
}

/* ========== DEVAMINI OKU LINK ========== */
.about-card-more {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-gold);
    opacity: 0;
    transform: translateY(10px);
    transition: all 500ms ease;
}

.about-card:hover .about-card-more {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* ========== HOVER 3D EFFECT ========== */
.about-card:hover {
    transform: translateY(-20px) rotateX(12deg) rotateZ(1deg) scale(1.05);
    box-shadow: 
        0 50px 120px rgba(0,0,0,0.98),
        0 0 80px rgba(134,183,106,0.5),
        inset 0 0 120px rgba(134,183,106,0.15);
}

/* Card number indicator (optional) */
.about-card::before {
    counter-increment: card-counter;
}

/* ========== MOUSE PARALLAX TILT ========== */
.about-card[data-tilt] {
    will-change: transform;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
    
    .about-card {
        height: 420px;
    }
    
    .about-card:nth-child(1),
    .about-card:nth-child(2),
    .about-card:nth-child(3) {
        transform: translate3d(0, 80px, -150px) rotateX(25deg);
    }
}

@media (max-width: 720px) {
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    
    .about-card {
        height: 380px;
    }
    
    .about-card-title {
        font-size: 22px;
    }
    
    .about-card-text {
        font-size: 13px;
    }
    
    .about-card-overlay {
        padding: 28px;
    }
    
    .about-card:hover .about-card-overlay {
        padding: 32px;
    }
}