@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* =====================================================
                    LIGHT THEME
===================================================== */

:root{

    /* Backgrounds */
    --bg:#F4F3EE;
    --card:#FFFFFF;
    --hero:#F4F3EE;
    --navbar:#F4F3EE;

    /* Text */
    --text:#463F3A;
    --text-secondary:#8A817C;

    /* Accent */
    --primary:#463F3A;
    --secondary:#8A817C;

    /* Borders */
    --line:#BCB8B1;

    /* Shadow */
    --shadow:0 8px 25px rgba(70,63,58,.08);

    /* Buttons */
    --button-bg:#463F3A;
    --button-text:#F4F3EE;
}

/* =====================================================
                    DARK THEME
===================================================== */

.dark-mode{

    /* Backgrounds */
    --bg:#11151C;
    --card:#19212E;
    --hero:#11151C;
    --navbar:#11151C;

    /* Text */
    --text:#f4f0ee;
    --text-secondary:#BCB8B1;

    /* Accent */
    --primary:#7A4343;
    --secondary:#522D2D;
    --accent:#413C4D;

    /* Borders */
    --line:#341D1C;

    /* Shadow */
    --shadow:0 10px 35px rgba(0,0,0,.45);

    /* Buttons */
    --button-bg:#7A4343;
    --button-text:#F4F3EE;
}

/* =====================================================
                    RESET
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
    transition:.35s ease;
}

/* =====================================================
                    NAVBAR
===================================================== */

.navbar{
    background:var(--navbar)!important;
    border-bottom:1px solid var(--line);
    padding:1rem 0;
    transition:.35s;
}

.navbar-brand{
    color:var(--text)!important;
    font-weight:700;
}

.nav-link{
    color:var(--text)!important;
    font-weight:500;
    transition:.3s;
}

.nav-link:hover{
    color:var(--primary)!important;
}

/* =====================================================
                THEME BUTTON
===================================================== */

#theme-toggle{

    width:45px;
    height:45px;
    border-radius:50%;
    border:1px solid var(--line);
    background:transparent;
    color:var(--primary);
    transition:.3s;
}

#theme-toggle:hover{

    background:var(--primary);
    color:var(--button-text);
}

/* =====================================================
                    HERO
===================================================== */

.hero-section{

    background:var(--hero);
    color:var(--text);
    padding:8rem 0;
}

.hero-section h1{

    font-size:clamp(4rem,10vw,8rem);
    font-weight:800;
    line-height:.9;
    letter-spacing:-4px;
    text-transform:uppercase;
}

.hero-section h3{

    color:var(--text);
}

.hero-section p{

    color:var(--text-secondary);
}

.hero-section a{

    color:var(--primary);
    text-decoration:none;
}

.hero-section hr{

    border-color:var(--line);
    opacity:1;
}

/* =====================================================
                SOCIAL ICONS
===================================================== */

.social-link{

    color:var(--primary);
    font-size:1.5rem;
    margin:0 12px;
    transition:.3s;
}

.social-link:hover{

    color:var(--primary);
    transform:translateY(-3px);
}

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

section{

    padding:6rem 0;
}

.section-title,
h2{

    font-size:2.5rem;
    font-weight:800;
    margin-bottom:2rem;
    position:relative;
}

.section-title::after,
h2::after{

    content:"";
    width:70px;
    height:3px;
    background:var(--primary);
    display:block;
    margin-top:.8rem;
}

/* =====================================================
                    CARDS
===================================================== */

.card{

    background:var(--card);
    color:var(--text);
    border:1px solid var(--line);
    border-radius:20px;
    box-shadow:var(--shadow);
    transition:.35s;
}

.card:hover{

    transform:translateY(-8px);
    border-color:var(--primary);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.dark-mode .card:hover{

    box-shadow:0 18px 40px rgba(122,67,67,.18);
}

/* =====================================================
                SKILL BADGES
===================================================== */

.skill-badge,
.batches{

    background:var(--primary);
    color:#fff;
    border:1px solid var(--line);
    border-radius:30px;
    padding:8px 18px;
    margin:6px;
    font-size:.9rem;
    font-weight:600;
    display:inline-block;
    transition:.3s;
}

.skill-badge:hover,
.batches:hover{

    background:var(--secondary);
    transform:translateY(-3px);
}

/* =====================================================
                PROJECT LIST
===================================================== */

.list-group-item{

    background:transparent;
    color:var(--primary);
    border:none;
    border-bottom:1px solid var(--line);
    padding:1.3rem 0;
    font-size:1.1rem;
    transition:.3s;
}

.list-group-item:hover{

    padding-left:20px;
    color:var(--primary);
}

/* =====================================================
                    BUTTONS
===================================================== */

.btn-primary{

    background:var(--button-bg);
    color:var(--button-text);
    border:none;
}

.btn-primary:hover{

    opacity:.9;
}

.btn-outline-primary{

    color:var(--primary);
    border:1px solid var(--primary);
    transition:.3s;
}

.btn-outline-primary:hover{

    background:var(--primary);
    color:white;
}

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

footer{

    background:var(--bg);
    color:var(--text);
    border-top:1px solid var(--line);
}

footer a{

    color:var(--text);
    transition:.3s;
}

footer a:hover{

    color:var(--primary);
}

/* =====================================================
                AGE TIMER
===================================================== */

#ageTimer{

    color:var(--text);
    font-size:1rem;
    font-weight:600;
}

/* =====================================================
            DARK MODE SPECIFIC FIXES
===================================================== */

.dark-mode .navbar{

    border-bottom:1px solid var(--line);
}

.dark-mode .hero-section p{
  color: white;
}

.dark-mode .section-title::after,
.dark-mode h2::after{

    background:var(--primary);
}

.dark-mode .nav-link:hover{

    color:var(--primary)!important;
}

.dark-mode .social-link:hover{

    color:var(--primary);
}

.dark-mode .btn-outline-primary{

    border-color:var(--primary);
    color:var(--primary);
}

.dark-mode .btn-outline-primary:hover{

    background:var(--primary);
    color:white;
}

.dark-mode footer{

    border-top:1px solid var(--line);
}

.dark-mode .details{
    color: var(--primary) !important;
}

/* =====================================================
                RESPONSIVE
===================================================== */

@media(max-width:768px){

.hero-section{

    padding:5rem 0;
}

.hero-section h1{

    font-size:4rem;
    letter-spacing:-2px;
}

.navbar-brand{

    font-size:1rem;
}

.section-title,
h2{

    font-size:2rem;
}

section{

    padding:4rem 0;
}

.social-link{

    font-size:1.3rem;
    margin:0 8px;
}

.skill-badge,
.batches{

    font-size:.8rem;
    padding:6px 14px;
}

}


/* ===========================
        RESUME BUTTON
=========================== */

.resume-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:14px 34px;

    background:var(--primary);
    color:var(--button-text);

    border:2px solid var(--primary);
    border-radius:999px;

    text-decoration:none;
    font-size:1rem;
    font-weight:600;
    letter-spacing:.5px;

    transition:.35s ease;
}

.resume-btn:hover{

    background:transparent;
    color:var(--primary);

    transform:translateY(-4px);
    box-shadow:0 12px 30px var(--shadow);
}

.resume-btn i{

    font-size:1.1rem;
}