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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Video Styles */
.background-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    filter: blur(8px) brightness(0.5);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

/* Container and Layout */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 80px 0 40px;
}

.name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #E97451;
    text-shadow: 0 0 30px rgba(233, 116, 81, 0.3);
}

.title {
    font-size: 1.3rem;
    font-weight: 300;
    color: #e0e0e0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.main-content {
    flex: 1;
}

.section {
    margin-bottom: 20px;
    padding: 30px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Reels Grid */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.reel-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.reel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.reel-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
    /* BUBBLE OPACITY CONTROL: Change the last number (0.1) to adjust transparency */
    /* 0.0 = completely transparent, 1.0 = completely opaque */
    background: rgba(0, 0, 0, 0.5);
    /* BUBBLE COLOR CONTROL: Change the RGB values to change the bubble color */
    /* Examples: rgba(233, 116, 81, 0.1) = orange, rgba(0, 0, 0, 0.1) = black, rgba(255, 0, 0, 0.1) = red */
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Resume Styles */
.resume-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #E97451;
    margin: 40px 0 20px 0;
    text-align: left;
    border-bottom: 2px solid rgba(233, 116, 81, 0.3);
    padding-bottom: 10px;
}

.resume-section-title:first-child {
    margin-top: 0;
}

.resume-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.resume-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.resume-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.job-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.company {
    font-size: 1.1rem;
    font-weight: 500;
    color: #E97451;
    background: rgba(233, 116, 81, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(233, 116, 81, 0.3);
}

.date {
    font-size: 0.95rem;
    color: #b0b0b0;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
}

.job-description {
    font-size: 1.1rem;
    color: #d0d0d0;
    margin: 5px 0;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.link-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.link-text {
    font-weight: 600;
    font-size: 1rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }
    
    .title {
        font-size: 1.1rem;
    }
    
    .navigation {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .reels-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-link {
        padding: 20px 25px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 60px 0 30px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .section {
        margin-bottom: 60px;
        padding: 30px 0;
    }
    
    .reel-item {
        padding: 15px;
    }
    
    .about-text {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .resume-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .job-title {
        min-width: auto;
        font-size: 1.2rem;
    }
    
    .company, .date {
        font-size: 0.9rem;
        padding: 4px 10px;
    }
    
    .resume-section-title {
        font-size: 1.5rem;
        margin: 30px 0 15px 0;
    }
    
    .resume-item {
        padding: 15px;
        margin-bottom: 20px;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.8s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
/* Firefox */
html {
    scrollbar-width: thin; /* auto | thin | none */
    scrollbar-color: #E97451 rgba(255, 255, 255, 0.1); /* thumb | track */
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background-color: #E97451; /* match header name color */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ff8f6f;
}