/* ==================== HOME PAGE HERO SECTION ==================== */

/* Hero Section Genel Container */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 3rem 0;
}

/* Ana başlık konteyner */
.display-3 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* İsim vurgusu - Parlak lila efekt */
.display-3 .text-primary {
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 50%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 4s ease infinite, glow-pulse 2s ease-in-out infinite;
    letter-spacing: 1.5px;
    display: inline-block;
    position: relative;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(var(--accent-light-rgb), 0.6));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(var(--text-primary-rgb), 0.8));
    }
}

/* Profesyonel unvan */
.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.6;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: inline-block;
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
    animation: expand-line 1.5s ease-out forwards;
}

@keyframes expand-line {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

/* Açıklama metni */
.hero-description {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 1.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-width: 90%;
}

/* ==================== HERO BUTTONS ==================== */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-buttons .btn {
    min-width: 180px;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-width: 2px;
    position: relative;
    overflow: hidden;
}

/* Hakkımda butonu - Primary */
.hero-buttons .btn-primary {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.9) 0%, rgba(var(--accent-light-rgb), 0.8) 100%);
    border: 2px solid rgba(var(--accent-light-rgb), 0.5);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.3);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(var(--accent-light-rgb), 0.5);
    border-color: rgba(var(--text-primary-rgb), 0.7);
}

/* Projeler butonu - Info */
.hero-buttons .btn-info {
    background: linear-gradient(135deg, var(--info-color) 0%, var(--info-color-dark) 100%);
    border: 2px solid rgba(var(--info-color-rgb), 0.5);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(var(--info-color-rgb), 0.3);
}

.hero-buttons .btn-info:hover {
    background: linear-gradient(135deg, var(--info-color-dark) 0%, var(--info-color-dark) 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(var(--info-color-rgb), 0.5);
    border-color: rgba(var(--info-color-rgb), 0.7);
}

/* İş Deneyimi butonu - Outline */
.hero-buttons .btn-outline-light {
    color: var(--text-primary) !important;
    border: 2px solid rgba(var(--accent-light-rgb), 0.5) !important;
    background: rgba(var(--secondary-bg-rgb), 0.3) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(var(--secondary-bg-rgb), 0.3);
}

.hero-buttons .btn-outline-light:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.8), rgba(var(--accent-light-rgb), 0.7)) !important;
    border: 2px solid rgba(var(--text-primary-rgb), 0.7) !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(var(--accent-light-rgb), 0.4) !important;
}

/* Button ripple effect */
.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn:hover::before {
    width: 300px;
    height: 300px;
}

/* ==================== FEATURED PROJECTS ==================== */
.projects-page-title {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.projects-page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(97, 97, 147, 0.5);
}

/* ==================== CURRENT JOB ==================== */
.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(97, 97, 147, 0.5);
}

/* ==================== DECORATIVE ELEMENTS ==================== */
/* Dekoratif parıltı efekti */
.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(var(--accent-light-rgb), 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: float 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-30px) translateX(20px);
    }
}

/* ==================== RESPONSIVE - HERO BUTTONS ==================== */
@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn {
        min-width: 150px;
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column !important;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        min-width: unset;
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
}

/* ==================== RESPONSIVE - HOME PAGE ==================== */

/* Tablet */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 2rem 0;
    }

    .display-3 {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .projects-page-title,
    .page-title {
        font-size: 1.9rem;
    }
}

/* Mobil */
@media (max-width: 576px) {
    .hero-section {
        min-height: 50vh;
        text-align: center;
    }

    .display-3 {
        font-size: 2.2rem;
    }

    .display-3 .text-primary {
        display: block;
        margin-top: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        letter-spacing: 1.5px;
    }

    .hero-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-description {
        font-size: 1rem;
        text-align: center;
        margin: 0 auto 2rem;
    }

    .projects-page-title,
    .page-title {
        font-size: 1.7rem;
    }

    .projects-page-title {
        text-align: center !important;
    }

    .projects-page-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Küçük mobil */
@media (max-width: 480px) {
    .hero-section {
        padding: 1.5rem 0;
    }

    .display-3 {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .projects-page-title,
    .page-title {
        font-size: 1.5rem;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll snap for sections */
@media (min-width: 768px) {
    .container {
        scroll-snap-type: y proximity;
    }

    .hero-section,
    .row.mb-5 {
        scroll-snap-align: start;
    }
}