/*
 * Hero Section Styles
 * Theme: Cetintas Portfolyo
 */

.hero {
    position: relative;
    min-height: 60vh;
    padding: 2rem 2rem 3.5rem;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.95fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.hero-badge .separator {
    color: var(--text-muted);
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -1px;
}

.hero-title-lead,
.hero-title-accent {
    display: block;
}

.hero-title-accent {
    margin-top: 0.1em;
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.stat-icon {
    font-size: var(--font-size-xl);
}

.stat-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-image img,
.hero-image picture {
    border: none;
    outline: none;
}

.hero-image picture {
    display: block;
    width: min(100%, 360px);
    max-width: 360px;
}

.hero-image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 18%;
    max-width: none;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    border: none;
    outline: none;
    border-radius: var(--radius-2xl);
    box-shadow: none;
    position: relative;
    z-index: 2;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    border-radius: var(--radius-2xl);
    z-index: 1;
    opacity: 0.15;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

@media (min-width: 769px) {
    .hero::before {
        background-image: url('../../assets/images/heroBg.webp');
    }
}

/* Responsive — Hero (moved from _responsive.css) */
@media (max-width: 768px) {
    .hero-content,
    .about-card {
        grid-template-columns: 1fr;
    }

    .hero-text {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-image {
        order: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero-image picture {
        width: min(100%, 270px);
        max-width: 270px;
    }

    .hero-image img {
        width: 100%;
        max-width: 270px;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1/1;
        border-radius: 50%;
    }

    .image-wrapper {
        max-width: 400px;
    }
}

@media (max-width: 1080px) {
    .hero-content {
        gap: var(--spacing-xl);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }
}
