/* General Styles */
:root {
    --background-color: #121212;
    --text-color: #fff;
    --header-bg-color: #1f1f1f;
    --card-bg-color: #1f1f1f;
    --accent-color: #00ffdd;
    --accent-color-hover: #00b3a4;
    --button-text-color: #121212;
    --secondary-accent-color: #c01717;
    --header-text-color: #50C878;
    --hero-overlay-color: rgba(0, 0, 0, 0.5);
}

body.light-mode {
    --background-color: #ffffff;
    --text-color: #000000;
    --header-bg-color: #f8f9fa;
    --card-bg-color: #f8f9fa;
    --accent-color: #0056b3;
    --accent-color-hover: #004085;
    --button-text-color: #ffffff;
    --secondary-accent-color: #dc3545;
    --header-text-color: #343a40;
    --hero-overlay-color: rgba(255, 255, 255, 0.5);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Flex', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h2 {
    color: var(--header-text-color);
}

/* Header & Navigation */
header {
    background-color: var(--header-bg-color);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: auto;
    color: var(--secondary-accent-color) !important;
}

nav ul {
    list-style: none;
    display: flex;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    margin-left: 20px;
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
#home {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.light-mode #home {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hero-overlay-color);
    z-index: -1;
}

.hero {
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--button-text-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--accent-color-hover);
}

/* Sections */
section {
    padding: 4rem 2rem;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--card-bg-color);
    border-radius: 5px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
    text-decoration: none;
    color: var(--text-color);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: var(--card-bg-color);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
}

#modal-image {
    width: 100%;
    margin-bottom: 1rem;
}

/* About Me Section */
.about-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
}

.about-text h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 1rem;
}

.skills-list, .fun-facts-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skills-list li, .fun-facts-list li {
    background-color: var(--card-bg-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

/* Contact Section */
#contact h2 {
    text-align: center;
    margin-bottom: 2rem;
}













.social-links a:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--header-bg-color);
    padding: 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social-links a {
    margin: 0 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-social-links a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: var(--header-bg-color);
        width: 100%;
        text-align: center;
    }

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

    .hamburger {
        display: block;
    }

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