/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 4% 3rem;
    }
}

body.dark-mode .hero {
    background: var(--bg-dark);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--light-pink), transparent);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-pink), transparent);
    bottom: -100px;
    left: -100px;
    opacity: 0.3;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--dark-pink), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 105, 180, 0.1);
    color: var(--primary-pink);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 105, 180, 0.2);
}

.hero-badge i {
    animation: wave 1.5s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
}

body.dark-mode .hero-text h1 {
    color: var(--text-dark);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text {
    font-size: 1.5rem;
    color: var(--text-secondary-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .typing-text {
        font-size: 1.1rem;
    }
}

body.dark-mode .typing-text {
    color: var(--text-secondary-dark);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary-light);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

body.dark-mode .hero-text p {
    color: var(--text-secondary-dark);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Skills Tags */
.hero-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    opacity: 1;
    visibility: visible;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.08), rgba(216, 27, 96, 0.05));
    padding: 0.75rem 1.3rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 105, 180, 0.2);
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
}

.skill-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 105, 180, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

body.dark-mode .skill-tag {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.15), rgba(216, 27, 96, 0.08));
    color: var(--text-dark);
    border-color: rgba(255, 105, 180, 0.3);
}

.skill-tag:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.25);
    border-color: var(--primary-pink);
}

.skill-tag i {
    color: var(--primary-pink);
    font-size: 1rem;
    flex-shrink: 0;
}

.skill-tag span {
    position: relative;
    z-index: 1;
}

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

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Background Shape Animations */
.shape {
    animation: float-slow infinite;
}

.shape-1 {
    animation: float-slow 8s ease-in-out infinite;
}

.shape-2 {
    animation: float-slow 10s ease-in-out infinite reverse;
}

.shape-3 {
    animation: float-slow 12s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-30px, -30px); }
    50% { transform: translate(30px, 30px); }
    75% { transform: translate(-20px, 20px); }
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-image-decoration {
    position: absolute;
    inset: -20px;
    border: 3px solid var(--primary-pink);
    border-radius: 35px;
    z-index: -1;
    opacity: 0.3;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary-light);
    font-size: 0.85rem;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid var(--primary-pink);
    border-radius: 10px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--primary-pink);
    border-radius: 2px;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 1; top: 5px; }
    50% { opacity: 0.3; top: 15px; }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        max-width: 100%;
        font-size: 1rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-skills {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .hero-image-wrapper img {
        max-width: 320px;
    }

    .hero-glow {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        padding: 0 1rem;
    }

    .hero-image-wrapper img {
        max-width: 280px;
    }

    .hero-glow {
        width: 220px;
        height: 220px;
    }

    .shape-1 {
        width: 400px;
        height: 400px;
    }

    .shape-2 {
        width: 300px;
        height: 300px;
    }

    .shape-3 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    /* make room for fixed header and avoid overlap on small phones */
    .hero {
        padding: 6.5rem 3% 2rem;
    }
    .hero-container{
        padding-top: 4rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .typing-text {
        font-size: 1rem;
    }

    .hero-text p {
        font-size: 0.9rem;
        padding: 0;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.9rem;
    }

    .hero-skills {
        gap: 0.5rem;
    }

    .skill-tag {
        font-size: 0.7rem;
        padding: 0.5rem 0.9rem;
        gap: 0.5rem;
    }

    .skill-tag i {
        font-size: 0.85rem;
    }

    .hero-image-wrapper img {
        max-width: 240px;
        max-height: 260px;
        object-fit: cover;
        object-position: center center;
        border-radius: 24px;
    }

    .hero-glow {
        width: 180px;
        height: 180px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .shape-1 {
        width: 300px;
        height: 300px;
    }

    .shape-2 {
        width: 250px;
        height: 250px;
    }

    .shape-3 {
        width: 150px;
        height: 150px;
    }
}

/* Very small phones (e.g., iPhone SE) */
@media (max-width: 375px) {
    .hero {
        padding: 9rem 3% 3rem;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .typing-text {
        font-size: 0.95rem;
    }

    .hero-text p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .hero-image-wrapper img {
        max-width: 200px;
        max-height: 240px;
        object-fit: cover;
        object-position: center center;
        border-radius: 20px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 0.3rem 0.8rem;
    }

    .cta-buttons {
        gap: 0.6rem;
    }
}
