/* Color Variables - Premium Dark Theme Focus */
:root {
    --bg-color: #0b1120;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --secondary-color: #1e293b;
    --accent-color: #10b981;
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --fb-color: #1877f2;
    --wa-color: #25d366;
    --yt-color: #ff0000;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
}

body {
    position: relative;
    overflow-x: hidden;
}

/* Dynamic Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    filter: blur(60px);
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Typography & General */
h1, h2, h3, h4, .logo, .greeting {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

span {
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-header h2 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
    box-shadow: var(--glass-shadow);
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.primary-btn {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

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

.secondary-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    gap: 2rem;
    padding-top: 5rem;
}

.hero-content {
    flex: 1;
}

.greeting {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.name {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    font-size: 2rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.hero-social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

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

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 4px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    animation: morph 8s ease-in-out infinite alternate;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    33% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    66% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    100% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--glass-shadow);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Sections Base */
section {
    padding: 5rem 5%;
}

/* About Section */
.about-content {
    display: flex;
    gap: 4rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
}

.about-text {
    flex: 1.5;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-text strong {
    color: #fff;
}

.about-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.detail-item i {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    padding: 1rem;
    border-radius: 15px;
}

.detail-item h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.detail-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(59,130,246,0.1), transparent);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-weight: 600;
    transition: var(--transition);
}

.social-btn i {
    font-size: 1.5rem;
}

.social-btn.facebook:hover { background: var(--fb-color); border-color: var(--fb-color); }
.social-btn.facebook-page:hover { background: var(--fb-color); border-color: var(--fb-color); }
.social-btn.whatsapp:hover { background: var(--wa-color); border-color: var(--wa-color); }
.social-btn.youtube:hover { background: var(--yt-color); border-color: var(--yt-color); }

.contact-form-placeholder {
    flex: 1;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
}

.glass-panel h3 {
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.submit-btn {
    width: 100%;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 3rem;
}

footer p {
    color: var(--text-muted);
}

.footer-credit {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-social-links {
        justify-content: center;
    }

    .bio {
        margin: 0 auto 2.5rem auto;
    }

    .hero-image-container {
        order: 1;
        margin-bottom: 3rem;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(15px);
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .name {
        font-size: 3.5rem;
    }

    .image-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .experience-badge {
        bottom: 10px;
        padding: 0.8rem 1.2rem;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2.8rem;
    }

    .image-wrapper {
        width: 250px;
        height: 250px;
    }

    .hero-buttons {
        flex-direction: column;
    }
}
