:root {
    --primary-color: #ffffff;
    --secondary-color: #cccccc;
    --background-color: #121212;
    --accent-color: #007bff;
    --dark-overlay: rgba(0, 0, 0, 0.7);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.5;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-overlay);
    z-index: -1;
}

header, main {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
}

header {
    margin-top: 150px;
    animation: fadeIn 1s ease-in-out;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4em;
    font-weight: 700;
    letter-spacing: -2px;
    margin: 0;
}

header p {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin: 10px 0 0;
}

section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    animation: fadeIn 1s ease-in-out;
}

#about .about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

#about .profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
    transition: transform 0.5s ease;
}

#about .profile-photo:hover {
    transform: scale(1.1) rotate(5deg);
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-top: 0;
    color: var(--accent-color);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.social-button {
    text-decoration: none;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-button:hover {
    background: var(--accent-color);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.5);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#contact p {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-top: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    header p {
        font-size: 1.2em;
    }
    section {
        padding: 30px 20px;
    }
    #about .about-container {
        flex-direction: column;
        text-align: center;
    }
    #about .profile-photo {
        width: 150px;
        height: 150px;
    }
}
