/* Wasii.dev Inspired Theme Enhancements */

/* 1. Ambient Orbs Background */
.ambient-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.ambient-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    z-index: -1;
}

.ambient-orbs .orb-1 {
    top: -100px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.4); /* Blue */
}

.ambient-orbs .orb-2 {
    bottom: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: rgba(168, 85, 247, 0.3); /* Purple */
}

/* Adjust dark mode opacity for orbs */
body.dark-mode .ambient-orbs .orb-1 { background: rgba(59, 130, 246, 0.15); }
body.dark-mode .ambient-orbs .orb-2 { background: rgba(168, 85, 247, 0.15); }

/* Ensure hero content sits above orbs */
.hero__container {
    position: relative;
    z-index: 10;
}

/* 2. Badge Intro */
.badge-intro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

body.dark-mode .badge-intro {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.ping-dot {
    position: relative;
    display: flex;
    width: 10px;
    height: 10px;
}

.ping-dot-animate {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0ea5e9;
    opacity: 0.75;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot-core {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0ea5e9;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* 3. Hero Title Redesign */
.hero__greeting {
    display: none; /* Replaced by the badge */
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 24px;
    color: var(--gray-800);
}

body.dark-mode .hero__title {
    color: var(--white);
}

.title-highlight {
    position: relative;
    display: inline-block;
    color: var(--primary-light);
}

.title-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    z-index: -1;
    fill: var(--primary-light);
    opacity: 0.3;
}

/* 4. Social Links Outline Style */
.hero__social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

body.dark-mode .social-link {
    border-color: var(--gray-700);
    background: var(--secondary);
    color: var(--gray-400);
}

.social-link:hover {
    border-color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    transform: translateY(-3px) scale(1.05);
}

/* 5. Bento Box Cards (Services & Projects) */
.service-card, .project-card-ui {
    background: var(--white) !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s ease !important;
}

body.dark-mode .service-card, body.dark-mode .project-card-ui {
    background: #0f172a !important; /* Slate 900 */
    border-color: #1e293b !important; /* Slate 800 */
}

.service-card:hover, .project-card-ui:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03) !important;
    transform: translateY(-5px) !important;
}

/* Encapsulated Icons */
.service-card__icon, .project-card-ui__icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    background: rgba(99, 102, 241, 0.1) !important;
    color: var(--primary-light) !important;
    margin-bottom: 20px !important;
    font-size: 1.5rem !important;
}

body.dark-mode .service-card__icon, body.dark-mode .project-card-ui__icon {
    background: rgba(99, 102, 241, 0.2) !important;
}

/* Global Colors Overrides for Deep Slate */
body.dark-mode {
    background-color: #020617; /* Slate 950 */
    color: #cbd5e1; /* Slate 300 */
}

body.dark-mode .header {
    background-color: rgba(2, 6, 23, 0.8) !important;
    backdrop-filter: blur(10px);
}

/* Pill Buttons Override */
.btn {
    border-radius: 9999px !important;
}


/* Badge Avatar */
.badge-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 4px;
    border: 1px solid rgba(59, 130, 246, 0.5);
}

/* Center Hero Content now that the image is gone */
.hero__container {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    min-height: 80vh;
}

.hero__content {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-underline {
    left: 50%;
    transform: translateX(-50%);
    width: 120%; /* slightly wider than text */
}

.hero__subtitle, .hero__description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons, .hero__social {
    justify-content: center;
}

