/* ============================================
   MAIN STYLESHEET
   Shayaan Danish - Software Engineer
   Shared across all pages
   ============================================ */

/* --- CSS VARIABLES --- */
:root {
    --card-width: 420px;
    --card-height: 490px;
    --overlap-amount: 100px;
    --transition-speed: 0.6s;
    --color-bg: #1a1a1a;
    --color-text: #ffffff;
    --color-text-muted: #cccccc;
    --color-card-left: linear-gradient(180deg, #7a6b9e 0%, #655585 100%);
    --color-card-center: linear-gradient(180deg, #2d2d44 0%, #1f1f2e 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background-color: var(--color-bg);
    padding: 1.5rem 0;
    width: 100%;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.navbar a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--color-text);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 4rem 2rem;
    margin-top: 8rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-left p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.footer-email {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
}

.footer-email:hover {
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.footer-social-link {
    color: #cccccc;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.footer-social-link:hover {
    color: #ffffff;
}

.footer-social-link svg {
    width: 1.2rem;
    height: 1.2rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.footer-right a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-right a:hover {
    /* No changes on hover */
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar ul {
        gap: 1rem;
        padding: 0 1rem;
        flex-wrap: wrap;
    }

    .navbar a {
        font-size: 0.9rem;
    }

    .site-footer {
        margin-top: 2.5rem;
        padding: 2.5rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        text-align: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar ul {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .navbar a {
        font-size: 0.85rem;
    }

    .footer-content {
        gap: 1.25rem;
    }
}