/* Hero Section Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
    padding: 2rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 71, 87, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    max-width: 1200px;
    padding: 0 2rem;
    width: 100%;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

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

.hero-photo {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 20px 40px var(--shadow-heavy);
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideUpFromBottom 1.2s ease 0.5s both;
}

.hero-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px var(--shadow-heavy);
}

.floating-icon {
    position: absolute;
    background: var(--bg-tertiary);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: slideUpFromBottom 1s ease both, float-icons 3s ease-in-out infinite;
    box-shadow: 0 10px 25px var(--shadow-light);
    transition: opacity 0.3s ease;
    opacity: 0;
    overflow: hidden;
}

.floating-icon svg,
.floating-icon img {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 0%;
    animation-delay: 0.7s, 0.7s;
}

.floating-icon:nth-child(2) {
    top: 15%;
    right: 0%;
    animation-delay: 0.9s, 0.9s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: -5%;
    animation-delay: 1.1s, 1.1s;
}

.floating-icon:nth-child(4) {
    bottom: 15%;
    right: 5%;
    animation-delay: 1.3s, 1.3s;
}

@keyframes float-icons {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-light);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Profile Picture Styles - Multiple Style Options */
.style1 .hero-photo {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 20px 40px var(--shadow-heavy);
    z-index: 2;
    position: relative;
}

.hero-greeting {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideUpFromBottom 0.8s ease 0.2s both;
}

.hero-name {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: slideUpFromBottom 0.9s ease 0.4s both;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUpFromBottom 0.9s ease 0.6s both;
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    opacity: 0;
    animation: slideUpFromBottom 1s ease 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideUpFromBottom 1s ease 1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
/* Large Desktop */
@media (max-width: 1200px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-content {
        gap: 3rem;
        padding: 0 2rem;
    }

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

    .hero-name {
        font-size: 3rem;
    }

    .hero-photo {
        width: 350px;
        height: 350px;
    }
}

/* Desktop / Laptop */
@media (max-width: 1024px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-content {
        gap: 2.5rem;
        padding: 0 2rem;
    }

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

    .hero-name {
        font-size: 2.8rem;
    }

    .hero-photo {
        width: 320px;
        height: 320px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-photo {
        width: 280px;
        height: 280px;
        order: -1;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .primary-btn,
    .secondary-btn {
        min-width: 150px;
    }
}

/* Mobile Landscape */
@media (max-width: 576px) {
    .hero {
        padding: 3rem 0 2.5rem;
        overflow-x: hidden;
    }

    .hero-content {
        gap: 2rem;
        padding: 0 2rem;
        overflow: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-text {
        max-width: 100%;
        overflow: hidden;
        order: 2;
    }

    .hero-text .hero-name {
        font-size: 3.5rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.1;
    }

    .hero-title {
        font-size: 1.4rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        text-align: center;
    }

    .hero-image {
        max-width: 100%;
        overflow: visible;
        padding: 0 1rem;
        order: 1;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-photo {
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
        max-width: 280px;
        max-height: 280px;
        margin: 0 auto;
        display: block;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .floating-icon:nth-child(1) {
        top: 10%;
        left: 5%;
    }

    .floating-icon:nth-child(2) {
        top: 5%;
        right: 5%;
    }

    .floating-icon:nth-child(3) {
        bottom: 25%;
        left: 0%;
    }

    .floating-icon:nth-child(4) {
        bottom: 10%;
        right: 10%;
    }

    .cta-buttons {
        gap: 0.8rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        gap: 0.8rem;
    }

    .primary-btn {
        flex: 0 1 auto;
        padding: 10px 10px 10px 14px;
        font-size: 0.85rem;
        min-width: 0;
    }

    .secondary-btn {
        flex: 0 0 auto;
        padding: 10px;
        font-size: 0.85rem;
        min-width: 0;
        width: 40px;
        height: 40px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 0 2rem;
        overflow-x: hidden;
    }

    .hero-content {
        gap: 2rem;
        padding: 0 2rem;
        overflow: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-text {
        max-width: 100%;
        overflow: hidden;
        order: 2;
    }

    .hero-text .hero-name {
        font-size: 3rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }

    .hero-title {
        font-size: 1.3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        text-align: center;
    }

    .hero-image {
        max-width: 100%;
        overflow: visible;
        padding: 0 1rem;
        order: 1;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-photo {
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
        max-width: 250px;
        max-height: 250px;
        margin: 0 auto;
        display: block;
    }

    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .floating-icon:nth-child(1) {
        top: 8%;
        left: 3%;
    }

    .floating-icon:nth-child(2) {
        top: 3%;
        right: 3%;
    }

    .floating-icon:nth-child(3) {
        bottom: 22%;
        left: -2%;
    }

    .floating-icon:nth-child(4) {
        bottom: 8%;
        right: 8%;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        gap: 0.6rem;
    }

    .primary-btn {
        flex: 0 1 auto;
        padding: 9px 8px 9px 12px;
        font-size: 0.8rem;
        min-width: 0;
    }

    .secondary-btn {
        flex: 0 0 auto;
        padding: 9px;
        font-size: 0.8rem;
        min-width: 0;
        width: 38px;
        height: 38px;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}