/* --- RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #000000;
    --sidebar-bg: #ce2929;
    --accent-color: #F41414;
    --text-white: #FFFFFF;
    --text-grey: #D3D3D3;
    --font-head: 'Braah One', cursive;
    --font-sub: 'Barlow', sans-serif;
    --font-body: 'Blinker', sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Hides horizontal scrollbar and extra space */
    margin: 0;
    padding: 0;
}
body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-body);
    /* Removed overflow:hidden to allow normal scrolling */
    min-height: 100vh; 
}


/* --- LAYOUT STRUCTURE --- */
.main-container {
    display: flex;
    width: 100%;
    position: relative;
}

/* --- FIXED SIDEBAR --- */
/* --- FIXED SIDEBAR (EXACT DESIGN) --- */


/* --- HERO IMAGE CONTAINER --- */
.image-box {
    position: relative;
    width: 580px; 
    height: 580px;
    display: flex;
    margin-left: -80px;
    justify-content: center;
    align-items: flex-end; /* Aligns image to bottom */
    margin-left: -100px;
}

.top-dot img {
    width: 140%;  /* Makes logo smaller than the circle */
    height: auto;
    margin-left: -4px;
    margin-top: -10px;
    object-fit: contain;
}

/* --- PROFILE IMAGE --- */
.profile-img {
    width: auto;
    height: 110%;
    z-index: 2;
    position: relative;
    bottom: -10px;
    
    /* The !important command forces the browser to ignore any other shadow rules */
    filter: none !important; 
    box-shadow: none !important;
}

/* --- CONTENT AREA ADJUSTMENT --- */
/* Ensure body content doesn't get hidden behind the fixed sidebar */
.content-area {
    margin-left: 90px; /* Must match sidebar width */
    width: calc(100% - 90px);
}

section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    /* Changed padding-bottom from 60px to 150px to make room for the marquee */
    padding: 60px 8% 150px 8%; 
}

/* --- HERO SECTION --- */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
    margin-bottom: 60px;
    margin-right: -50px;
}

/* --- HERO IMAGE AREA --- */
.image-box {
    position: relative;
    width: 500px; /* You can adjust this width if needed */
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Aligns image to bottom */
}

/* HIDE THE BACKGROUND DESIGN */
.glow-circle {
    display: none; /* This creates the "No Design" look */
}

/* THE PROFILE IMAGE */
.profile-img {
    width: auto;
    height: 100%; /* Fits the height of the box */
    z-index: 2;
    position: relative;
    /* Optional: Keep a simple shadow on the person, or remove this line for flat look */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.text-box { max-width: 650px; }

.text-box h2 {
    font-family: var(--font-head);
    font-size: 64px;
    line-height: 1.2;
    font-weight: 400;
}
.text-box h2 .dot { color: var(--accent-color); }

.name-wrapper {
    position: relative;
    display: inline-block;
    margin: 10px 0 20px 0;
}
.name-wrapper h1 {
    font-family: var(--font-sub);
    font-size: 55px;
    font-weight: 400;
    line-height: 1.2;
}
.underline {
    width: 380px;
    height: 4px;
    background: var(--accent-color);
    position: absolute;
    right: -370px;
    bottom: 8px;
    animation: comeFromRight 1.5s ease-out forwards;

}

/* KEYFRAMES FOR RIGHT-TO-LEFT ANIMATION */
@keyframes comeFromRight {
    0% {
        width: 0;       /* Start with no width */
        opacity: 0;     /* Start invisible */
    }
    100% {
        width: 360px;   /* Grow to full width (expands to the left) */
        opacity: 1;     /* Become visible */
    }
}

.bio {
    font-size: 20px;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: justify;
}

.buttons { display: flex; gap: 30px; }

.btn {
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline { border: 1px solid var(--accent-color); color: white; background: transparent; }
.btn-outline:hover { background: rgba(244, 20, 20, 0.1); }
.btn-fill { background: var(--accent-color); border: 1px solid var(--accent-color); color: white; box-shadow: 0 4px 15px rgba(244, 20, 20, 0.3); }
.btn-fill:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(244, 20, 20, 0.4); }

/* --- SKILLS MARQUEE --- */
.skills-marquee {
    position: absolute;
    bottom: 30px; /* Sits nicely inside the 150px padding we created */
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
    z-index: 10; /* Ensures it sits on top of background but below modals */
    
    /* Optional: Mask to fade edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

.marquee-content span {
    font-size: 36px;
    font-weight: bold;
    color: rgba(255,255,255,0.1);
    margin: 0 40px;
    text-transform: uppercase;
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}


.service-text { font-family: var(--font-sub); font-size: 28px; font-weight: 400; }
.icon { font-size: 24px; width: 30px; text-align: center; }

.vertical-line {
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: var(--accent-color);
    z-index: 1;
}
.line-dot {
    position: absolute;
    right: -25px;
    width: 12px;
    height: 12px;
    background-color: transparent;
    border-radius: 50%;
}
.line-dot.active { background-color: var(--accent-color); box-shadow: 0 0 8px var(--accent-color); }

/* --- ANIMATIONS --- */
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(0.95); opacity: 0.5; }
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.fade-in { animation: fadeIn 1.5s ease forwards; opacity: 0; }
.slide-up { animation: slideUp 0.8s ease forwards; opacity: 0; transform: translateY(30px); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
    .main-container { flex-direction: column; }
    
    .sidebar {
        width: 100%;
        height: 70px; /* Standard navbar height */
        flex-direction: row;
        padding: 0 30px;
        position: relative; /* Not fixed on mobile */
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .content-area {
        margin-left: 0; /* Remove left margin on mobile */
        width: 100%;
    }

    .nav-menu { display: none; }
    
    section { padding: 60px 5%; min-height: auto; }
    
    /* Elements Adjustment */
    .hero-content { flex-direction: column; text-align: center; }
    .image-box { width: 300px; height: 300px; margin-bottom: 30px; }
    .name-wrapper { display: block; }
    .underline { right: 50%; transform: translateX(50%); }
    .buttons { justify-content: center; }
    
    .about-container { flex-direction: column; gap: 40px; }
    .about-left, .about-right { max-width: 100%; width: 100%; }
    .info-grid { column-gap: 20px; }
    .timeline-list { align-items: flex-end; }
}


/* --- TOOLS STRIP --- */
.tools-wrapper {
    margin-top: 30px;
}

.tools-card {
    background-color: #040914;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    justify-content: space-between; /* Spreads them out evenly */
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto; /* Adds scroll on mobile if needed */
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 60px;
}

.tool-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #007ACC; /* VS Code Blue */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    border: 2px solid white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.tool-item span {
    font-size: 12px;
    color: var(--text-grey);
}

/* --- BUTTONS CONTAINER --- */
.hero-buttons {
    display: flex;
    align-items: center; /* Aligns them vertically center */
    gap: 25px; /* Adds space between Download button and GitHub icon */
    margin-top: 30px;
}

/* --- GITHUB ICON BUTTON --- */
.github-icon-btn {
    font-size: 35px; /* Make the icon nice and big */
    color: #FFFFFF;  /* Default color (White) */
    text-decoration: none;
    transition: all 0.3s ease; /* Smooth animation */
    display: flex;
    align-items: center;
}

/* HOVER EFFECT */
.github-icon-btn:hover {
    color: #F41414; /* Changes to your Red Accent Color */
    transform: scale(1.1); /* Slightly zooms in */
}
