/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace; /* Monospace font for retro effect */
}

body {
    line-height: 1.6;
    color: #e0f0e0; /* Light green text */
    background-color: #1a1a1a; /* Dark background */
}

p {
    color: #e0f0e0;
    text-align: left;
}

p a {
    color: #e0f0e0;
    text-align: left;
}


/* Container for centered content */
.container {
    width: 80%;
    margin: 0 auto;
}

/* Container for centered content (horizontal and vertical) */
.centered-container {
    display: grid;
    place-items: center;
    height: 100vh;
}

/* Header and Hero Section with Video Background */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #c5ffbd;
}

/*.hero-video {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*    z-index: -1;*/
/*}*/

.overlay {
    position: relative;
    z-index: 1;
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
    background: rgba(10, 24, 21, 0.8); /* Semi-transparent overlay */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.overlay h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #c5ffbd;
}

.overlay p {
    font-size: 1.5rem;
    color: #c5ffbd;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #c5ffbd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.section-title {
    cursor: pointer;
    /* display: flex; */
    align-items: center;
    text-align: center;
}

.arrow {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 10px;
}

.section-content {
    padding-top: 10px;
}

/* Arrow pointing down */
.arrow.down {
    transform: rotate(0deg);
}

/* Arrow pointing up */
.arrow.up {
    transform: rotate(180deg);
}


/* About Section */
.about {
    padding: 2rem 0;
    background-color: #2a2a2a;
    text-align: center;
}


.about h2 {
    font-size: 2rem;
    text-align: center;
    margin: 0.5rem;
    color: #b0ffb0;
}

.about p {
    margin-bottom: 1rem;
    color: #b0ffb0;
}

/* Privacy Section */
.about {
    padding: 2rem 0;
    background-color: #2a2a2a;
    text-align: center;
}

.privacy h1 {
    font-size: 3.5rem;
    text-align: center;
    margin: 0.5rem;
    color: #b0ffb0;
}

.privacy h2 {
    font-size: 2rem;
    text-align: left;
    margin: 0.5rem;
    color: #b0ffb0;
}

.privacy h3 {
    font-size: 1rem;
    text-align: center;
    margin: 0;
}

.privacy p {
    margin-bottom: 1rem;
}

/* Button Styles */
.btn {
    padding: 1rem 2rem;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin: 1rem 0;
}

.btn:hover {
    background-color: #45a049;
}

/* Contact Section Specific Button Styling */
.contact button {
    padding: 1rem 2rem;
    margin: 1.5rem 0;
}


/* Skill Bars Container */
.skill-bars {
    margin-top: 1.5rem;
}

.skills h2 {
    font-size: 2rem;
    text-align: center;
    margin: 0.5rem;
    color: #b0ffb0; /* Light green text */
    text-align: center;
}

.skill-bars .skill-bar {
    margin-bottom: 1rem;
    text-align: left;
}

/* Progress Bar Container */
.skill-bars .progress-bar {
    width: 100%;
    background-color: #003300; /* Dark green background */
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #b0ffb0; /* Light green border */
    position: relative;
}

/* Skill Bars - Patterned Background */
.skill-bars .progress-bar span {
    display: block;
    height: 20px;
    border-radius: 10px;
    transition: width 0.3s ease; /* Smooth transition */
}

.skill-bars .progress-bar.html span {
    background: repeating-linear-gradient(45deg, #007700, #007700 10px, #009900 10px, #009900 20px);
}

.skill-bars .progress-bar.css span {
    background: repeating-linear-gradient(45deg, #007700, #007700 10px, #009900 10px, #009900 20px);
}

.skill-bars .progress-bar.python span {
    background: repeating-linear-gradient(45deg, #007700, #007700 10px, #009900 10px, #009900 20px);
}

.skill-bars .progress-bar.javascript span {
    background: repeating-linear-gradient(45deg, #007700, #007700 10px, #009900 10px, #009900 20px);
}

.skill-bars .progress-bar.grc span {
    background: repeating-linear-gradient(45deg, #007700, #007700 10px, #009900 10px, #009900 20px);
}

/* Skill Labels */
.skill-bars .skill-label {
    font-size: 1rem;
    color: #b0ffb0;
    margin-bottom: 0.5rem;
}


/* Portfolio Section */
.portfolio {
    padding: 2rem 0;
    background-color: #1a1a1a;
    text-align: center;
}

.portfolio h2 {
    font-size: 2rem;
    text-align: center;
    margin: 0.5rem;
    color: #b0ffb0;
}

/* Portfolio Items Container */
.portfolio-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

/* Portfolio Item */
.portfolio-item {
    background-color: #2a2a2a;
    border: 1px solid #004d00;
    border-radius: 8px;
    padding: 1rem;
    width: calc(50% - 1.5rem);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #004d00;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

.portfolio-item h3 {
    color: #c5ffbd;
    margin-bottom: 0.5rem;
}

.portfolio-item p {
    color: #b0ffb0;
}

/* Hover Effect */
.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.9);
}


/* DJ Sets Section */
.dj {
    padding: 1rem 0;
    background-color: #2a2a2a;
    text-align: center;
}

.dj h2 {
    font-size: 2rem;
    text-align: center;
    margin: 0.5rem;
    color: #b0ffb0;
    cursor: pointer; /* clickable header */
}

.dj iframe {
    width: 100%;
    border: 0;
}

.dj-columns {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.dj-column {
    width: 48%;
}

/*Music Section */
.music {
    padding: 1rem 0;
}
.music h2 {
    font-size: 2rem;
    text-align: center;
    margin: 0.5rem;
    color: #b0ffb0;
    cursor: pointer; /* clickable header */
}
.music-columns {
    display: flex;
    justify-content: space-evenly;
    margin-top: 1.5rem;
}

.music-column {
    width: 27%;
}


/* YouTube Section */
.youtube {
    padding: 1rem 0;
    background-color: #2a2a2a;
}

.youtube h2 {
    font-size: 2rem;
    margin: 0.5rem;
    color: #b0ffb0;
    text-align: center;
    cursor: pointer;
}

.youtube-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.video-category {
    background-color: #1a1a1a;
    padding: 0 1rem;
    border-radius: 8px;
    border: 1px solid #004d00;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.video-category h3 {
    color: #b0ffb0;
    margin: 0.2rem 0 1rem;
}

.video-container {
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}


/* Contact Section */
.contact {
    padding: 2rem 0;
    background-color: #1a1a1a;
    text-align: center;
}

.contact h2 {
    margin-bottom: 1rem;
    color: #b0ffb0;
    font-size: 2rem;
    text-align: center;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #b0ffb0;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #b0ffb0;
}

.contact button {
    padding: 0.75rem 1.5rem;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #45a049;
}

.antispam {
    display: none;
}

/* Footer Section */
.footer {
    padding: 1rem 0;
    background-color: #2a2a2a;
    text-align: center;
    color: #b0ffb0;
}

.footer p {
    text-align: center;
}

.social-links a {
    color: #b0ffb0;
    text-decoration: none;
    margin: 0 0.5rem;
}

.social-links a:hover {
    text-decoration: underline;
}

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

.modal-content {
    background-color: #1e1e1e;
    margin: 15% auto;
    padding: 20px;
    border: 2px solid #4caf50;
    width: 70%;
    max-width: 500px;
    color: #4caf50;
    border-radius: 8px;
    text-align: center;
}

.modal-content h2 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #4caf50;
}

.modal-message {
    font-size: 1.2em;
    color: #4caf50;
    text-align: center;
}

.close-btn {
    background-color: #444;
    color: #4caf50;
    border: 2px solid #4caf50;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 15px;
}

.close-btn:hover,
.close-btn:focus {
    background-color: #333;
    color: #fff;
    border-color: #fff;
}

/* Themed Button */
.theme-button {
    background-color: #444;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.theme-button:hover {
    background-color: #023e8a; /* Slightly darker blue for hover effect */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

.theme-button:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Media Query for Mobile Devices */
@media only screen and (max-width: 768px) {
    .hero-video {
        display: none; /* Hide the video on mobile devices */
    }

    .background-image {
        display: block; /* Show fallback image on mobile devices */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1; /* keep image behind content */
    }
}

/* Default styles for desktop */
.hero-video {
    display: block; /* Video shown by default */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.background-image {
    display: none; /* Hide fallback image by default */
}

/* Typing Animation */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #b0ffb0; }
}
