/* ==========================================
   HERO SECTION - STUDIO LAYOUT + PREMIUM FX
   ========================================== */
.hero {
    padding: 140px 5% 80px;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 20%, var(--accent-glow) 0%, transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* Image Left, Text Right */
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    gap: 80px;
}

/* --- IMAGE STYLING & HOVER --- */
.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

#hero-img {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 40px; 
    border: 1px solid rgba(128, 128, 128, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); 
    z-index: 2;
    position: relative;
}

/* Subtle blue glow behind image */
.hero-image::after {
    content: '';
    position: absolute;
    inset: 20px;
    background: #4facfe;
    filter: blur(40px);
    opacity: 0.1;
    z-index: 1;
    transition: all 0.6s ease;
}

.hero-image:hover #hero-img {
    transform: translateY(-15px) scale(1.05);
    border-color: #4facfe;
    box-shadow: 0 40px 80px rgba(79, 172, 254, 0.25);
}

.hero-image:hover::after {
    opacity: 0.3;
    transform: scale(1.1);
}

/* --- TEXT STYLING --- */
.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.hero-text h1 span {
    display: block; /* Moves name to its own line */
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    margin-top: 8px;
}

.hero-tagline {
    font-size: 1.4rem;
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: 40px;
}

/* --- BUTTON CONTAINER --- */
/* --- HERO BUTTONS CONTAINER --- */
.hero-btns {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 35px;
}

/* Base style for both buttons */
.btn-primary, .btn-cv {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: inline-block;
}

/* SOLID BLUE BUTTON (Get In Touch) */
.btn-primary {
    background: #4facfe;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
}

.btn-primary:hover {
    background: transparent;
    border-color: #4facfe;
    color: #4facfe !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(79, 172, 254, 0.2);
}

/* OUTLINE/WHITISH BUTTON (Download CV) */
.btn-cv {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff !important;
}

/* Light theme adjustment for the outline button */
body.light-theme .btn-cv {
    border-color: rgba(0, 0, 0, 0.2);
    color: #1a1a1a !important;
}

.btn-cv:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #1a1a1a !important;
    transform: translateY(-5px);
}

/* --- SOCIAL LINKS --- */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    background: #4facfe;
    border-color: #4facfe;
    color: white;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
}

/* Light Theme Override */
body.light-theme .btn-primary {
    background: #121212;
    color: #ffffff !important;
}

/* --- SOCIAL LINKS --- */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon-btn {
    width: 42px;
    height: 42px;
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-btn:hover {
    transform: translateY(-5px);
    background: #4facfe;
    color: white;
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
}

/* --- RESPONSIVE MOBILE LAYOUT --- */
@media (max-width: 950px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .social-links {
        justify-content: center;
    }
    
    #hero-img {
        max-width: 280px;
    }

    .hero-text h1 { font-size: 2.8rem; }
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    min-height: 42px; /* Prevents layout jump */
}

.social-icon-btn i {
    pointer-events: none; /* Ensures the click registers on the anchor tag */
}
