* {
    caret-color: transparent;
}
html {
    scroll-behavior: smooth;
    height: 100%;
}

/* Global theme */
body {
    height: 100%;
    display: flex;
    flex-direction: column;

    background-image: url('/static/images/bkgrnd.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: #e0e0e0;
    font-family: Arial, sans-serif;
    font-size: 17px;
    margin: 0;
}

main {
    flex: 1;
}

/* Navbar + links */
#navbar {
    font-size: 18px;
}

#navbar .navbar-brand {
    letter-spacing: 0.05em;
}

#navbar .nav-link {
    color: #f5f5f5 !important;
    font-weight: 600;
}

#navbar .nav-link:hover,
#navbar .nav-link.active {
    color: #ffcc00 !important;       /* yellow hover/active */
}

/* Headings & text */
h1, h2, h3 {
    color: #f5f5f5;
}

h1.display-4 {
    font-weight: 100;
    letter-spacing: 1px;
}


p {
    color: #292929;
    line-height: 1.6;
}


.lead {
    color: #d4d4d4;
}

.about-box,
.quick-info {
    background-color: #212529 ;
    color: #f5f5f5;              
    border-radius: 8px;
}

/* Make paragraphs inside readable */
.about-box p,
.quick-info p,
.quick-info li,
.about-box li {
    color: #f5f5f5;
}

/* Headings inside cards */
.about-box h2,
.quick-info h2,
.about-box h3,
.quick-info h3 {
    color: #ffffff;
}

/* Link styling inside these cards */
.about-box a {
    color: #00bcd4; /* cyan accent */
    font-weight: bold;
    text-decoration: none;
}

.about-box a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.about-box a:hover {
    color: #ffcc00;
    text-decoration: underline;
    font-weight: bold;
}

/* Hero / text container */
.container-bg {
    background-color: #212529;
    padding: 20px;
    border-radius: 8px;
    margin: 0 auto;
    border: 1px solid #333;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    max-width: 800px;
}

.container-bg a {
    text-decoration: none;
    color: #00bcd4;                  /* cyan accent */
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.container-bg p {
    color: #d4d4d4;
}

.container-bg a:hover {
    color: #ffffff;
    text-decoration: underline;
}



/* Carousel */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem 0;
}

.image-reel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    scrollbar-width: none;
}

.image-reel::-webkit-scrollbar {
    display: none;
}

.image-reel img,
.image-item img {
    height: 200px;         /* keeps consistent height */
    width: auto;           /* prevents stretching */
    object-fit: cover;     /* crops slightly, keeps proportions */
    border-radius: 10px;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}


.image-reel img:hover {
    transform: scale(1.05);
}

.image-item {
    flex-shrink: 0;
    scroll-snap-align: start;
    text-align: center;
    width: 200px;
}

.image-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-item img:hover {
    transform: scale(1.05);
}

.image-item figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.carousel-btn {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 1;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.carousel-btn.left {
    left: 0.5rem;
}

.carousel-btn.right {
    right: 0.5rem;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Project cards */
.project-card {
    background-color: #212529;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: #f0f0f0;
    transition: transform 0.2s ease-in-out;
}

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

.project-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #00bcd4;
}

.project-card ul {
    padding-left: 1.2rem;
    margin: 0.5rem 0 0 0;
}

.project-card li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.project-card p {
    color: #d4d4d4;
}

a.github-link {
    display: inline-block;
    margin-top: 10px;
    background-color: #24292e;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

a.github-link:hover {
    background-color: #444c56;
}

/* Contact section */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10%;
}

.contact-container a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 24px;
    margin: 10px 0;
    transition: transform 0.2s ease-in-out;
}

.contact-container p {
    color: #e0e0e0;
}

.contact-container a:hover {
    color: #ffcc00;
}

.icon {
    width: 25px;
    height: 25px;
}

footer {
    background-color: #e0e0e0;
    padding: 15px 0;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    body {
        background-size: contain;
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-color: #0b0b10;
    }

    p {
        color: #e0e0e0;
    }
}