:root {
    --accent-color: #ff6b00;
    --accent-hover: #ff8533;
    --accent-dark: #cc5500;
    --netflix-black: #141414;
    --netflix-dark-gray: #181818;
    --netflix-light-gray: #6D6D6E;
    --text-color: #FFFFFF;
    --gradient-start: rgba(255, 107, 0, 0.1);
    --gradient-end: rgba(26, 26, 26, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: var(--netflix-black);
    color: var(--text-color);
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #1a1a1a; /* Dark background */
}

#hexagonal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('hexagons.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    background-color: #1a1a1a; /* Dark background */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(26, 26, 26, 0.80) 0%,
        rgba(100, 96, 96, 0.55) 50%,
        rgba(26, 26, 26, 0.85) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 20vh;
    color: #fff; /* Light text for dark background */
}

.hero-content h1 {
    font-size: 4rem;
    font-family: 'Bebas Neue', sans-serif;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.hero-content .tagline {
    font-size: 1.5rem;
    font-family: 'Open Sans', sans-serif;
    margin: 1rem 0;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: #ff6b00;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    margin-top: 2rem;
    background-color: #ff6b00;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 10%, transparent);
    backdrop-filter: blur(5px);
    z-index: 9999;
}

.navbar .logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--accent-color);
    text-decoration: none;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: var(--accent-color);
}

.section {
    padding: 80px 0;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin: 20px auto;
    border-radius: 2px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-image img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 20px;
}

.skill-card {
    background-color: var(--netflix-dark-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.skill-card:hover {
    transform: translateY(-10px);
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

.skill-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.project-card {
    background: var(--netflix-dark-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    padding: 25px;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.15);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.project-content p {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-links .btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.project-links .btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.15);
}

.contact-link i {
    color: var(--accent-color);
    font-size: 1.2em;
}

.timeline-wrapper {
    width: 100%;
    height: 600px;
    margin: 20px 0;
    background-color: var(--netflix-dark-gray);
    border-radius: 10px;
    overflow: hidden;
}

#timeline-embed {
    width: 100%;
    height: 100%;
}

.tl-timeline {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--netflix-dark-gray) !important;
}

.tl-slidenav-next, .tl-slidenav-previous {
    background-color: var(--accent-color) !important;
}

.tl-slidenav-next:hover, .tl-slidenav-previous:hover {
    background-color: var(--accent-hover) !important;
}

.tl-headline-date, .tl-headline {
    color: var(--text-color) !important;
}

.tl-text {
    background-color: var(--netflix-dark-gray) !important;
    color: var(--text-color) !important;
}

.tl-text p {
    color: var(--text-color) !important;
}

.tl-timemarker.tl-timemarker-active .tl-timemarker-content-container {
    background-color: var(--accent-color) !important;
    color: var(--netflix-black) !important;
}

.tl-timemarker .tl-timemarker-content-container {
    background-color: var(--netflix-dark-gray) !important;
    color: var(--text-color) !important;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: var(--netflix-dark-gray);
    color: var(--netflix-light-gray);
}

/* Vertical Timeline Styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    opacity: 0.3;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideIn 0.8s forwards;
    border-left: 2px solid var(--accent-color);
}

.timeline-item:nth-child(even) {
    left: 50%;
    transform: translateX(100px);
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.8s;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    right: -48px;
    top: 32px;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(var(--accent-color-rgb), 0.1);
    transition: background-color 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -48px;
}

.timeline-date {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.timeline-content {
    padding: 20px;
    background: var(--netflix-dark-gray);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.15);
}

.timeline-content h3 {
    margin: 0 0 10px 0;
    color: var(--text-color);
}

.timeline-content h4 {
    margin: 0 0 15px 0;
    color: var(--accent-color);
    font-size: 0.9em;
}

.timeline-content p {
    margin: 0;
    line-height: 1.6;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Timeline */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 23px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 23px;
    }

    .timeline-content {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }

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

    .content-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}
