/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

/* ===== GRADIENT ORBS ===== */
.hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    will-change: transform;
}

.hero-orb:nth-child(1) {
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    top: 10%;
    left: -5%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb:nth-child(2) {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    bottom: 15%;
    right: 10%;
    animation: orbFloat2 15s ease-in-out infinite;
}

.hero-orb:nth-child(3) {
    width: 200px;
    height: 200px;
    background: var(--accent-warm);
    top: 50%;
    left: 40%;
    animation: orbFloat3 10s ease-in-out infinite;
    opacity: 0.15;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -30px) scale(1.08); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, 20px) scale(1.03); }
    75% { transform: translate(-30px, -15px) scale(0.97); }
}

[data-theme="dark"] .hero-orb:nth-child(1) {
    opacity: 0.2;
}

[data-theme="dark"] .hero-orb:nth-child(2) {
    opacity: 0.15;
}

[data-theme="dark"] .hero-orb:nth-child(3) {
    opacity: 0.08;
}

@media (prefers-reduced-motion: reduce) {
    .hero-orb { animation: none !important; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-text {
    padding-top: 0.5rem;
}

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

.hero-text h2 {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    text-wrap: balance;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

/* ===== HERO PHOTO ===== */
.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-photo-wrapper {
    position: relative;
    width: 220px;
    height: 280px;
}

.hero-photo-wrapper {
    position: relative;
}

/* Glow behind subject (follows silhouette via drop-shadow) */
.hero-photo-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 12px;
    background: radial-gradient(ellipse at 50% 40%, var(--primary-color), transparent 70%);
    opacity: 0.25;
    filter: blur(20px);
    animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 0.35; transform: scale(1.05); }
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 24px rgba(37, 99, 235, 0.15));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.4s ease;
    animation: heroPhotoFloat 4s ease-in-out infinite;
}

@keyframes heroPhotoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-photo:hover {
    animation-play-state: paused;
    filter: drop-shadow(0 12px 32px rgba(37, 99, 235, 0.25));
    transform: translateY(-8px) scale(1.02);
}

.hero-image.animate-text {
    animation-delay: 0.6s;
}

[data-theme="dark"] .hero-photo {
    filter: drop-shadow(0 8px 24px rgba(96, 165, 250, 0.2));
}

[data-theme="dark"] .hero-photo:hover {
    filter: drop-shadow(0 12px 32px rgba(96, 165, 250, 0.3));
}

[data-theme="dark"] .hero-photo-wrapper::after {
    opacity: 0.15;
}

@media (prefers-reduced-motion: reduce) {
    .hero-photo {
        animation: none;
    }
    .hero-photo-wrapper::after {
        animation: none;
    }
    .hero-photo:hover {
        transform: none;
    }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dark);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-text {
        padding-top: 0;
    }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text h2 { font-size: 1.3rem; }
    .hero-text p { font-size: 1rem; }
    .hero-buttons { justify-content: center; }

    .hero-photo-wrapper {
        width: 180px;
        height: 230px;
    }
}

@media (max-width: 480px) {
    .hero-text {
        padding-top: 0;
    }
    .hero-text h1 { font-size: 1.8rem; }
    .hero-text h2 { font-size: 1.1rem; }
    .hero-text p { font-size: 0.95rem; }
    .btn { padding: 0.5rem 1.5rem; font-size: 0.85rem; }

    .hero-photo-wrapper {
        width: 140px;
        height: 180px;
    }
}
