@import url('https://fonts.googleapis.com/css2?family=Iosevka+Charon:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/* ================= CSS VARIABLES ================= */
:root {
    /* Colors */
    --color-primary-background: #000000;   /* pure black */
    --color-primary-dark: #111111;         /* very dark gray */
    --color-secondary: #1a1a1a;            /* dark gray */        
    --color-white: #ffffff;                 /* white text */
    --color-neutral-light: #333333;        /* medium dark gray */
    --color-neutral-300: #555555;
    --color-neutral-400: #777777;
    --color-neutral-200: #aaaaaa;

    /* Fonts */
    --font: "Iosevka Charon", monospace;

    /* Font Weights */
    --fw-light: 300;
    --fw-medium: 400;
    --fw-semibold: 500;
    --fw-bold: 600;
    --fw-extrabold: 700;

    /* Font Sizes */
    --fs-body: 1rem;
    --fs-heading: 2rem;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
    --space-5xl: 5rem;

    /* Border Radius */
    --radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.3s ease;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type:none;
    text-decoration:none;
}

/* ================= BODY ================= */
body {
    font-family: var(--font);
    color: var(--color-neutral-light);
    background-color: var(--color-primary-background);
}

.header {
    position: relative;
    display: flex;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    z-index: 1000;
}

.logo {
    font-weight: var(--fw-extrabold);
    color: var(--color-white);
}

.logo a {
    text-decoration: none;
    color: inherit;
}

/* ================= ABOUT SECTION ================= */
.about-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    min-heigh:60vh;
    margin: 2rem auto;
    align-items: start;
    background:var(--color-primary);
    z-index: 2;
    color: var(--color-neutral-200);
}

/* About Column 2 */
.about-c2 {
    display: flex;
    flex-direction:column;
    gap: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-md);
    text-align: left;
}

.about-c2 h2 {
    font-size: 3rem;
    font-weight: var(--fw-bold);
    margin-top: var(--space-md);
}

.about-c2 p {
    font-size: 1.2rem;
    line-height: 1.8;
}
.about-c3 {
   justify-content:center;
}

.profile-pic {
    width: 75%;
    height: 75%;
    object-fit: cover;
    border-radius: 16px;
    align-item:center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ================= CONTACT SECTION ================= */
.site-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    min-height:35vh;
}

.gmail a {
    font-size: 1rem;
    color: var(--color-white);
    font-weight: var(--fw-medium);
    letter-spacing: 0.15rem;
    text-decoration:none;
}

.social-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.social-wrapper .social {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);  /*button special*/
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    padding: 0.8rem;
    transition: all 0.3s ease;
}

.social-wrapper .social:hover {
    transform: translateY(-6px); 
    background: var(--color-white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    width: 80px;   
    text-decoration: none;
    color: var(--color-neutral-light);
    font-size: 0.8rem;
}

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

/* ================= SKILLS SECTION ================= */
.site-skills{
    min-height:60vh;
}
.site-skills h2{
   text-align:center;
}
.tech-wrapper{
    display:flex;
    flex-direction:column;
    min-height:25vh;
}
.tech-wrapper h3{
    font-size:1.5rem;
    padding:1rem;
    text-align:center;
}
.tech-wrapper ul{
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}
.tech-wrapper li{
    font-size: 1rem;
    color: var(--color-white);
    font-weight: var(--fw-medium);
    letter-spacing: 0.15rem;
}

.skill-wrapper2{
  display: grid;
  grid-template-columns: repeat(2, auto); /* shrink to content */
  justify-content: center; /* center both blocks */
  gap: 2rem; /* control space between them */
}
    
.vision-wrapper{
    display: flex;
    flex-direction:column;
    gap: 2rem;
    width:300px;
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-md);
    text-align: left;
}
.vision-wrapper h3{
    font-size:1.5rem;
}
.vision-wrapper ul li{
    padding:1rem;
    font-size: 1rem;
    color: var(--color-neutral-200);
    font-weight: var(--fw-medium);
}
.lan-wrapper{
    display: flex;
    flex-direction:column;
    gap: 1.1rem;
    width:300px;
    max-width: 600px;
    margin: auto 0;
    padding: var(--space-md);
    text-align: left;
}
.lan-wrapper h3{
    font-size:1.5rem;
}
.lan-wrapper ul li{
    padding:0.5rem;
    font-size: 1rem;
    color: var(--color-neutral-200);
    font-weight: var(--fw-medium);
}
.bar {
  background:var(--color-neutral-light);
  height: 10px;
  width:80%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

/* Progress fill */
.bar div {
  height: 100%;
  width: var(--progress);
  background: var(--color-white);
  border-radius: 6px;
  text-align: right;
  padding-right: 6px;
  font-size: 0.7rem;
  color: white;
  line-height: 18px;
  transition: width 0.8s ease;
}


/*=================Project Section================*/

/* Projects Section */
.site-projects {
    padding: var(--space-5xl) var(--space-xl);
    background: var(--color-primary-background);
}

.site-projects h2 {
    font-size: var(--fs-heading);
    font-weight: var(--fw-extrabold);
    color: var(--color-white);
    margin-bottom: var(--space-3xl);
    letter-spacing: -0.02em;
}

/* Grid Layout */
.project-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
    max-width: 1400px;
    margin: 0 auto;
}

/* Project Card */
/* Projects Section */
.site-projects {
    padding: var(--space-5xl) var(--space-xl);
    background: var(--color-primary-background);
}

.site-projects h2 {
    font-size:1.5rem;
    padding:1rem;
    text-align:center;
}

/* Grid Layout */
.project-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
    max-width: 1400px;
    margin: 0 auto var(--space-3xl);
}

/* Project Card */
.card-project {
    display: flex;
    flex-direction: column;
    background: var(--color-primary-dark);
    border: 1px solid var(--color-neutral-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.card-project:hover {
    border-color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.08);
}

/* Project Image */
.img-project {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    background: var(--color-secondary);
}

/* Card Content */
.card-project h3 {
    font-size: 1.25rem;
    font-weight: var(--fw-bold);
    color: var(--color-white);
    margin: var(--space-lg) var(--space-lg) var(--space-sm);
    letter-spacing: -0.01em;
}

.card-project p {
    font-size: var(--fs-body);
    color: var(--color-neutral-200);
    margin: 0 var(--space-lg) var(--space-lg);
    line-height: 1.5;
    flex-grow: 1;
}

/* Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-lg);
}

.card-tags span {
    font-size: 0.85rem;
    color: var(--color-neutral-300);
    background: var(--color-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-weight: var(--fw-medium);
    border: 1px solid var(--color-neutral-light);
}

/* Link */
.card-project a {
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    color: var(--color-white);
    margin: var(--space-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-project a:hover {
    gap: 0.75rem;
    opacity: 0.8;
}

/* Projects Footer - Button Outside Grid */
.projects-footer {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.view-btn{
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-neutral-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    padding: 0.8rem;
    transition: all 0.3s ease;
}
.view-btn:hover{
    transform: translateY(-6px); 
    background: var(--color-white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}





/* ================= FOOTER SECTION ================= */

.copyright {
    margin: 2rem;
    text-align: center;
    padding: var(--space-md) var(--space-xl);
    color: var(--color-neutral-400);
}
