/* 1. Global Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    outline: none;
}

:root {
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: #ffffff;
    --main-color: #ff4d94; /* Pink accent */
}

html {
    font-size: 62.5%; /* Corrected for easier rem calculations (1rem = 10px) */
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* 2. Header & Navigation */
/* 2. Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: space-between; /* This is the key for Left/Right split */
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
    /* Prevent the logo from growing too much */
    flex: 0 1 auto; 
}

nav {
    display: flex;
    /* This ensures the nav stays on the right if space-between fails */
    margin-left: auto; 
}

nav a {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 3.5rem;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap; /* Keeps links from breaking into two lines */
}
.logo {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
}

.logo span {
    color: var(--main-color);
}

nav a {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 3.5rem;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover, nav a.active {
    color: var(--main-color);
}

/* 3. Common Section Styling */
section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.heading {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 5rem;
}

.heading span {
    color: var(--main-color);
}

/* 4. Home Section */
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
}

.home-content h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content h1 span {
    color: var(--main-color);
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.home-content p {
    font-size: 1.6rem;
    max-width: 50rem;
    margin: 2rem 0;
}

.home-img img {
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
}

.home-img img:hover {
    box-shadow: 0 0 50px var(--main-color);
    transform: scale(1.02);
}

/* 5. Buttons & Social Icons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: white;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    box-shadow: 0 0 2rem var(--main-color);
    transform: translateY(-3px);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    transition: 0.5s ease;
}

.social-icons a:hover {
    background: var(--main-color);
    color: white;
    box-shadow: 0 0 1.5rem var(--main-color);
}


/* 6. HOBBIES SECTION DESIGN */
/* --- HOBBIES SECTION STYLING --- */
.Hobbies {
    background: var(--bg-color);
    padding: 10rem 9%;
}

/* Container for the hobby items */
.education-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding-top: 4rem;
}

/* Individual Hobby Box */
.education-content .content {
    background: var(--second-bg-color);
    border: 0.2rem solid transparent;
    border-radius: 2rem;
    padding: 4rem 3rem;
    transition: 0.5s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hover Effect: Glowing Border & Lift */
.education-content .content:hover {
    border-color: var(--main-color);
    transform: translateY(-1rem);
    box-shadow: 0 0 3rem var(--main-color);
}

/* LARGE ICON & LABEL DESIGN */
.content .year {
    font-size: 3.5rem; /* Very Big Font for Hobby Name */
    font-weight: 800;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.content .year i {
    font-size: 6rem; /* Massive Sport Icons */
    color: var(--text-color);
}

/* HOBBY TITLES (The Roles) */
.content h3 {
    font-size: 2.8rem; /* Big Header for Role */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
}

/* HOBBY DESCRIPTION */
.content p {
    font-size: 1.8rem; /* Large, Readable Text */
    line-height: 1.6;
    color: #e0e0e0;
}

/* Heading Typography */
.heading {
    font-size: 6rem; /* Huge Section Title */
    text-align: center;
    margin-bottom: 2rem;
}


/* 7. Achievements Section */
.achievement {
    background: var(--second-bg-color);
}

.achievement-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-box {
    position: relative;
    border-radius: 2rem;
    height: 350px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.achievement-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.achievement-box:hover img {
    transform: scale(1.1);
}

.achievement-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(255, 77, 148, 0.9));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 2rem;
    transform: translateY(100%);
    transition: .5s ease;
}

.achievement-box:hover .achievement-layer {
    transform: translateY(0);
}

.achievement-layer h4 {
    font-size: 2.5rem;
}

.achievement-layer p {
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

/* 8. Contact Section */
/* --- CONTACT SECTION DESIGN --- */
.contact {
    background: var(--bg-color);
    padding: 10rem 9%;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 5rem;
}

.contact-box {
    flex: 1 1 40rem;
    background: var(--second-bg-color);
    padding: 5rem 3rem;
    border-radius: 3rem;
    border: 0.3rem solid transparent;
    transition: 0.5s ease;
}

/* Glow Effect on Hover */
.contact-box:hover {
    border-color: var(--main-color);
    transform: scale(1.03);
    box-shadow: 0 0 4rem var(--main-color);
}

/* MASSIVE ICONS */
.contact-box i {
    font-size: 8rem;
    color: var(--main-color);
    margin-bottom: 2rem;
}

/* BIG SECTION HEADERS */
.contact-box h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* MASSIVE CONTACT TEXT */
.contact-box p {
    font-size: 3rem; /* Very Big Font for the Number/Email */
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 3rem;
    word-break: break-all; /* Prevents long emails from breaking the box */
}

/* Button Styling for Contact */
.contact-box .btn {
    font-size: 1.8rem;
    padding: 1rem 3rem;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .contact-box p {
        font-size: 2.2rem;
    }
    .heading {
        font-size: 4.5rem;
    }
}


/* Add this to the bottom of style.css */
.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}


/* --- VIDEO BACKGROUND STYLING --- */
section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Clips the video to the section */
}

.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1; /* Puts video behind text */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes video fill the space without stretching */
    filter: brightness(40%); /* Darks the video so text pops */
}

/* Ensures content sits on top of video */
.home-content, .section-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Specific Header Backgrounds for each section */
header {
    transition: 0.5s background;
}

/* These classes will be added by JavaScript later */
header.home-active { background: rgba(255, 77, 148, 0.2); backdrop-filter: blur(10px); }
header.hobbies-active { background: rgba(0, 0, 0, 0.9); }
header.achievement-active { background: linear-gradient(to right, #000, var(--main-color)); }
header.contact-active { background: #111; border-bottom: 2px solid var(--main-color); }

:root {
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: #ff4d94; /* Pink Neon Theme */
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    text-decoration: none; border: none; outline: none;
    scroll-behavior: smooth; font-family: 'Poppins', sans-serif;
}

body { background: var(--bg-color); color: var(--text-color); }

header {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 2rem 9%; display: flex;
    justify-content: space-between; align-items: center;
    z-index: 100; transition: 0.5s background;
}

/* Header Variations per Section */
header.home-active { background: rgba(255, 77, 148, 0.1); backdrop-filter: blur(10px); }
header.Hobbies-active { background: rgba(0, 0, 0, 0.8); border-bottom: 1px solid var(--main-color); }
header.achievement-active { background: linear-gradient(to right, #000, #ff4d94); }
header.contact-active { background: #111; }

section {
    min-height: 100vh; padding: 10rem 9% 2rem;
    position: relative; overflow: hidden;
    display: flex; align-items: center;
}

.back-video {
    position: absolute; right: 0; bottom: 0;
    z-index: -1; width: 100%; height: 100%;
    object-fit: cover; filter: brightness(35%);
}

.section-overlay { width: 100%; z-index: 1; }

.home-img img {
    width: 32vw; border-radius: 50%;
    border: 6px solid var(--main-color);
    box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color);
    transition: 0.4s ease;
}

.achievement-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; margin-top: 3rem;
}

.achievement-box {
    position: relative; border-radius: 2rem;
    overflow: hidden; display: flex; height: 250px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.achievement-layer {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2rem; transform: translateY(100px); transition: .5s ease;
}

.achievement-box:hover .achievement-layer { transform: translateY(0); }