/* ========================================
   HERO SECTION STYLES
   ======================================== */

.hero-section {
    width: 100%;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

/* ========================================
   LEFT SIDE: Text Content
   ======================================== */
.hero-text {
    flex: 1;
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.greeting {
    display: inline-block;
    font-size: 1.1rem;
    color: #ffa500;
    background: rgba(255, 165, 0, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.name-highlight {
    color: #ffa500;
    font-family: 'Kanit', sans-serif;
    position: relative;
}

.hero-text h2 {
    font-size: 2.2rem;
    color: #ffa500;
    font-family: 'Kanit', sans-serif;
    margin-bottom: 1.5rem;
    min-height: 55px;
}

.typing {
    border-right: 3px solid #ffa500;
    padding-right: 5px;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.hero-text p {
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: #111;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: #ffa500;
    border: 2px solid #ffa500;
}

.btn-secondary:hover {
    background: rgba(255, 165, 0, 0.1);
    transform: translateY(-3px);
}

.btn-secondary:hover i {
    transform: scale(1.2);
}

/* Stats Section */
.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffa500;
    font-family: 'Kanit', sans-serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.5rem;
}

/* ========================================
   RIGHT SIDE: Profile Image
   ======================================== */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-card {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.image-card img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 165, 0, 0.2);
    position: relative;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .image-card {
        max-width: 400px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.5rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .greeting {
        font-size: 1rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.8rem;
        min-height: 50px;
    }

    .hero-text p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .stat-item {
        text-align: center;
    }

    .image-card {
        max-width: 350px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-section {
        padding: 1.5rem 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
        min-height: 45px;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-item {
        flex: 1;
        min-width: 100px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .image-card {
        max-width: 300px;
    }
}