

/*  */

/* =========================================================
   Font Import & Reset
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Times+New+Roman:wght@400;700&display=swap');

body {
    font-family: "Times New Roman", Times, serif;
}

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

/* =========================================================
   Color Variables
========================================================= */
:root {
    --maroon: #800000;
    --maroon-hover: #a00000;
    --white: #ffffff;
    --grey-light: #f4f4f4;
    --grey-dark: #555555;
    --sky-blue: #76BED0
}

/* =========================================================
   Global Styles
========================================================= */
html, body {
    height: 100%;
}

body {
    font-family: 'Times New Roman', serif;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body covers the full viewport height */
}

main {
    flex: 1 0 auto; /* Main section grows/shrinks as needed */
}

footer {
    flex-shrink: 0; /* Ensures the footer stays at the bottom */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    font-weight: bold;
    color: var(--maroon);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--grey-dark);
    text-align: center;
    margin-bottom: 40px;
}

p {
    margin-bottom: 15px;
    color: #333333;
}

a {
    color: var(--maroon);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* =========================================================
   Header
========================================================= */
.main-header {
    background-color: var(--maroon);
    color: var(--white);
    padding: 5px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-name {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 125px;
    height: 50px;
    margin-right: 0px;
}

.header-name {
    font-size: 1.75rem;
    font-weight: bold;
}

.header-links ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.header-links .nav-link {
    text-decoration: none;
    font-size: 1rem;
    color: var(--white);
    font-weight: bold;
    padding: 10px;
    border-radius: 2.5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header-links .nav-link.active {
    font-weight: bold;
    border-bottom: 2px solid var(--white);
}

.header-links .nav-link:hover {
    background-color: var(--white);
    color: var(--maroon);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: none;
    cursor: pointer;
}

.hamburger-menu .line {
    width: 25px;
    height: 3px;
    background-color: var(--white);
}

@media (max-width: 768px) {
    .header-links {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-links.active {
        display: block;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: var(--maroon);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 10px;
    }

    .header-links ul {
        flex-direction: column;
        gap: 10px;
    }
}


/* =========================================================
   Image Card Sections
========================================================= */
.image-card-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.image-card {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: #f8f8f8;
    margin-bottom: 40px;
    transition: transform 0.3s;
}

.image-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.image-card-content {
    padding: 20px;
    text-align: center;
}

.image-card-content h3 {
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 10px;
}

.image-card-content p {
    color: #666666;
}

.image-card-content .caption {
    font-size: 0.9rem;
    margin-top: 15px;
}

.image-card:hover {
    transform: translateY(-5px);
}

/* =========================================================
   Collage Gallery Section
========================================================= */
.collage-gallery {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    width: 300px;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.3s;
    padding-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item h3 {
    font-size: 1.2rem;
    margin: 15px 0 5px;
}

.gallery-item p {
    font-size: 1rem;
    color: #666666;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

/* =========================================================
   GitHub Stats Section
========================================================= */
.github-stats {
    background-color: #E8E8E8;
    padding: 60px 20px;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.stats-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    max-width: 550px;
    width: 100%;
    transition: transform 0.3s ease;
    text-align: center;
}

.stats-card img {
    width: 100%;
    border-radius: 5px;
}

.stats-caption {
    font-size: 1.1rem;
    color: #666666;
    margin-top: 15px;
}

.stats-card:hover {
    transform: translateY(-5px);
}


.quick-links-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.quick-links-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.quick-links-text {
    flex: 1 1 60%;
}

.quick-links-image {
    flex: 1 1 30%;
    text-align: right;
}

.quick-links-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   Footer Styling
========================================================= */
.custom-footer {
    background-color: var(--maroon);
    color: var(--white); /*  */ 
    padding: 2.5px 0;
    font-size: 0.75rem;
}

.footer-container {
    text-align: center;
}

.footer-socials h4 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--white);
}

.footer-socials ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
}

.footer-socials ul li {
    margin-bottom: 2.5px;
}

.footer-socials ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: .8rem;
}

.footer-socials ul li a:hover {
    text-decoration: underline;
    color: #ffcc00;
}

.footer-note {
    color: var(--sky-blue);
    text-align: center;
    margin-top: 1.5px;
    font-size: .75rem; 
}
/* -------------------------------
   QUICK‑LINKS typography tweaks
   (add near the bottom of styles.css,
   after the existing .quick‑links rules)
--------------------------------*/
.quick-links-text p{
    font-size: 1.15rem;   /* ≈18 px; adjust as needed  */
    line-height: 1.65;    /* keeps the larger text airy */
}

.quick-links-text .section-title-sm{
    font-size: 2.1rem;    /* was ~1.75rem in many setups */
}