@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

/* main styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    font-size: 50px;
}

.btn {
    background-color: #f4b400;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #1a3c8d;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #1a3c8d; 
    transform: translateY(-2px);
}

.btn-icon {
    margin-right: 10px;
}

/* Navbar Styles */
.navbar {
    background-color: #000;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #999;
}

.music-control {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.music-logo {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.music-control:hover .music-logo {
    transform: scale(1.1);
}

/* header */
.header-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.header-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.header-section .container {
    position: relative;
    z-index: 1;
}

.header-title {
    font-size: 3.8rem;
    font-family: 'Harry Potter';
    color: #fff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-image: url('images/your-background-image.jpg');
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding-bottom: 0;
    background-blend-mode: overlay;
    color: #fff; 
}

.about-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px; 
}

.about-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin-right: 20px; 
}

.about-content h2 {
    font-size: 50px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.highlight {
    color: #1a3c8d; 
}

.intro {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.skills-container {
    margin-top: 20px;
}

.skills-container h1 {
    font-size: 1.8rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
    color: #1a3c8d;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background-color: #1a3c8d;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.profile-container {
    position: relative;
    max-width: 450px;
    align-self: flex-start; 
}


.profile-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 2px solid #1a3c8d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.ravenclaw-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #1a3c8d;
    border: 2px solid #333;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.logo-image {
    width: 40px;
    height: auto;
}


/* projects */
.projects-section {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 20px rgba(255, 255, 255, 0.2);
}

.project-card img.project-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.project-card p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 24px;
}

.project-technologies {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.project-technologies span {
    font-size: 14px;
    color: #1a3c8d;
    border: 1px solid #1a3c8d; 
    padding: 5px 10px;
    border-radius: 4px;
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.project-links a {
    color: #1a3c8d; 
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.project-links a:hover {
    color: #fff;
    text-shadow: 0px 0px 8px #1a3c8d; 
}


.intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    margin-bottom: 100px;
}

.intro-title {
    font-size: 3rem;
    font-family: 'Harry Potter';
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.intro-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
}



/* Certificates Section */
.certificates-section {
    background-color: #000; 
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.certificates-container {
    max-width: 1200px;
    margin: auto;
}

.certificates-container h1 {
    font-size: 1.8rem; 
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    color: #1a3c8d; 
}

.certificates-container .intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    font-style: italic;
}

.certificate-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Certificate Card */
.certificate-card {
    position: relative;
    width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(26, 60, 141, 0.3); 
    transition: transform 0.3s, box-shadow 0.3s;
}

.certificate-card:hover {
    transform: scale(0.5); 
    box-shadow: 0 6px 16px rgba(26, 60, 141, 0.6); 
    z-index: 5; 
}

.certificate-image-container {
    position: relative;
}

.certificate-image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s;
}

.certificate-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8); 
    color: #fff;
    padding: 15px;
    text-align: left;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s, transform 0.3s;
}

.certificate-card:hover{
    opacity: 1;
    transform: scale(2.2); 
}

.certificate-title {
    font-size: 1.2rem;
    color: #1a3c8d; 
    margin-bottom: 8px;
}

.certificate-card p {
    font-size: 1rem;
    color: #ccc;
}



/* Contact */
.contact-section {
    height: 100vh; 
    background-color: #000; 
    color: #fff;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: space-between; 
    text-align: center;
    padding: 0 20px; 
    overflow: hidden; 
}

.contact-container {
    max-width: 900px;
    width: 100%;
    margin: auto; 
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(10px);
    text-align: center;
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 20px rgba(255, 255, 255, 0.2);
}

.contact-image {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
}

.contact-card p {
    font-size: 16px;
    margin-bottom: 24px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.contact-links a {
    color: #1a3c8d; 
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-links a:hover {
    color: #fff;
    text-shadow: 0px 0px 8px #1a3c8d;
}

.contact-links svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.contact-links a:hover svg {
    transform: scale(1.2); 
}


/* footer */
.footer-section {
    background-color: transparent; 
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #1a3c8d; 
    font-family: 'Poppins', sans-serif;
    width: 100%; 
}

.footer-credit {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}

/* splash screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; 
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
}

.splash-content h1 {
    font-family: 'Harry Potter', serif; 
    font-size: 2rem;
    margin-bottom: 5px;
    animation: fadeIn 1s ease-in-out;
}

.splash-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: -50px;
}

#hogwarts-letter {
    max-width: 400px;
    margin-top: -40px; 
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#hogwarts-letter:hover {
    transform: scale(1.1);
    opacity: 0.9;
}




@media (max-width: 768px) {
    .header-title {
        font-size: 2.5rem;
    }

    .header-subtitle {
        font-size: 1.2rem;
    }

    .about-section .container {
        flex-direction: column;
    }

    .about-content {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .profile-container {
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
    .contact-grid {
        flex-direction: column;
        align-items: center;
    }
    .social-link {
        width: 100%;
        max-width: 200px;
    }
    .certificate-grid {
        flex-direction: column;
        align-items: center;
    }

    .certificate-card {
        width: 100%;
        max-width: 350px;
    }
}

@font-face {
    font-family: 'Harry Potter';
    src: url('path-to-harry-potter-font.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
