@import url("fontawesome-all.min.css");
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');

/* --- Reset & Basics --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #1e1e1e; /* Solid dark grey */
    color: #c4c4c4;
    font-family: 'Varela Round', sans-serif;
    font-size: 11pt;
    line-height: 1.75;
}

/* --- Header Section (Top) --- */
header {
    text-align: center;
    padding: 80px 20px;
    background-color: #2e2b2a;
    border-bottom: 2px solid #333;
}

header img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    object-fit: cover;
    margin-bottom: 20px;
}

header h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

header p {
    max-width: 700px;
    margin: 0 auto 25px auto;
    font-size: 1.1rem;
    color: #a0a0a0;
}

/* --- Main Content --- */
section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #49bf9d;
    display: inline-block;
}

/* --- Skills Cards --- */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    flex: 1 1 280px;
    background: #252525;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
}

.card h3 {
    color: #49bf9d;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card ul {
    list-style: none;
}

.card li {
    padding: 5px 0;
    font-size: 10.5pt;
    border-bottom: 1px solid #2e2e2e;
}

/* --- Projects --- */
.projects .row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.project-card {
    flex: 1 1 45%; /* Shows 2 per row on desktop */
    background: #252525;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.2s ease;
}

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

.project-card img, .project-card iframe {
    width: 100%;
    height: 220px;
    display: block;
    border: none;
    /* Changed from cover to contain to show the full image */
    object-fit: contain;
    /* Optional: adds a background color so gaps don't look empty */
    background-color: #1a1a1a;
}
.project-card a, .project-card p {
    padding: 15px;
    display: block;
    color: #ffff;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

/* --- Buttons --- */
.button {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.button:hover {
    background-color: #4a4d52;
    color: #fff !important;
}

/* --- Footer (Simple & Compact) --- */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #161616;
    border-top: 1px solid #333;
}

footer p {
    margin-bottom: 15px;
}

footer .icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .icons a {
    color: #777;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

footer .icons a:hover {
    color: #49bf9d;
}

/* --- Mobile Responsive --- */
@media screen and (max-width: 768px) {
    .project-card { flex: 1 1 100%; }
    header h1 { font-size: 1.8rem; }
}
/* Container for the sliding images */
/* Container for the sliding images */
.image-slider {
    display: flex;
    overflow-x: auto;
    /* This makes the "snap" effect happen */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Hide scrollbar for a cleaner look */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    height: 250px; /* Adjust height as needed */
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

/* Hide scrollbar for Chrome/Safari */
.image-slider::-webkit-scrollbar {
    display: none;
}

.image-slider img {
    /* Each image takes up 100% of the card width */
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    /* Shows the full image without cropping */
    object-fit: contain;
    scroll-snap-align: start;
    display: block;
}
/* Darken the image slightly on hover to show it is interactive */
.image-slider:hover img {
    filter: brightness(0.8);
    transition: 0.3s;
}

/* Add a subtle indicator that the card is scrollable */
.project-card::after {
    content: 'Swipe to see more ❯';
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: #ffffff;
    padding: 5px 15px;
    opacity: 0.6;
}