/* =========================== */
/* General Styles */
/* =========================== */

body {
    font-family: 'Poppins', sans-serif; 
    font-size: 18px;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* =========================== */
/* Header & Navigation */
/* =========================== */

header {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Home Navigation */
.nav-home {
    text-align: center;
    margin-bottom: 10px;
}

.nav-home a {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

/* Page Navigation Links */
.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #ffd700;
}

/* =========================== */
/* Large Banner Section */
/* =========================== */

.banner {
    text-align: center;
    padding: 60px 20px;
    background: url('banner-image.jpg') no-repeat center center/cover;
    color: black;
    font-size: 24px;
    font-weight: bold;
}

/* =========================== */
/* Main Content Styling */
/* =========================== */

main {
    max-width: 80%;
    margin: 40px auto;
    text-align: center;
}

/* =========================== */
/* Content Cards for Sections */
/* =========================== */

.content-card {
    background: white;
    padding: 20px;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Section Headers */
.content-card h2 {
    color: #6a11cb;
    margin-bottom: 15px;
}

/* =========================== */
/* Video Styling */
/* =========================== */

.video-container {
    text-align: center;
    margin: 20px 0;
}

.video-container iframe {
    border-radius: 10px;
    max-width: 100%;
}

/* =========================== */
/* Buttons */
/* =========================== */

.button {
    text-align: center;
    margin: 20px 0;
}

.button a {
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(to right, red, purple);
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease-in-out;
}

.button a:hover {
    background: linear-gradient(to right, purple, red);
}

/* =========================== */
/* About Page: Profile Cards */
/* =========================== */

.people {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.person {
    display: flex;
    align-items: center;
    width: 80%;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.person:hover {
    transform: scale(1.05);
}

/* Profile Images */
.personimage {
    flex-shrink: 0;
    padding: 20px;
}

.personimage img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    border: 4px solid #6a11cb;
    transition: box-shadow 0.3s ease-in-out;
}

.personimage img:hover {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Profile Text */
.persontext {
    padding: 10px 20px;
    max-width: 600px;
    text-align: left;
}

.persontext h2 {
    margin-bottom: 5px;
    font-size: 24px;
    color: #6a11cb;
}

.persontext p {
    margin-bottom: 10px;
}

/* Links in About Page */
.persontext a {
    color: #2575fc;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.persontext a:hover {
    color: #ff5733;
}

/* =========================== */
/* Tech Hero Spotlight */
/* =========================== */

.spotlight {
    background: white;
    padding: 30px;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.spotlight img {
    width: 90%;
    max-width: 720px;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* =========================== */
/* What Intersectionality Means to Us */
/* =========================== */

.perspectives {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.perspective {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 10px;
    width: 90%;
    text-align: center;
}

.perspective h3 {
    color: #6a11cb;
}

/* =========================== */
/* Index Page: Custom Layout */
/* =========================== */

.index-people {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 20px;
}

/* Index Page: Name + Image Cards */
.index-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 60%;
    transition: transform 0.3s ease-in-out;
}

.index-card:hover {
    transform: scale(1.05);
}

/* Positioning: Ben & Tristan (Left) | Hani (Right) */
.left-card {
    align-self: flex-start;
}

.right-card {
    align-self: flex-end;
}

/* Image Styling */
.index-image {
    flex-shrink: 0;
    padding: 15px;
}

.index-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #6a11cb;
    transition: box-shadow 0.3s ease-in-out;
}

.index-image img:hover {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Name Text */
.index-text {
    padding: 10px;
    font-size: 22px;
    font-weight: bold;
    color: #6a11cb;
}

/* Info Card */
.info-card {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin: 30px auto; /* Center Horizontally */
    width: 60%; /* Keep the structured look */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center; /* Ensure text is centered */
    align-items: center;
}

.info-card p {
    font-size: 18px;
}

.info-card a {
    font-weight: bold;
    color: #2575fc;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.info-card a:hover {
    color: #ff5733;
}

/* =========================== */
/* Responsive Design */
/* =========================== */

@media (max-width: 768px) {
    .index-card {
        flex-direction: column;
        text-align: center;
        width: 80%;
    }

    .person {
        flex-direction: column;
        text-align: center;
    }

    .people-index {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        width: 80%;
    }
}

/* =========================== */
/* Pet Classifier Image Tiles */
/* =========================== */

.tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.tile {
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: grab;
}

.tile-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
}

.tile-label {
    margin-top: 8px;
    font-weight: bold;
    color: #6a11cb;
    font-size: 16px;
}

.personimage .training-preview {
    width: 150%;
    max-width: 750px;
    height: 150%;
    max-height: 750px;
    border-radius: 10px;
    border: none;
}

/* Individual Pet Tile Backgrounds */
.tile.jasper {
    background-image: url('jasper.jpg');
}

.tile.cheddar {
    background-image: url('cheddar.jpg');
}

.tile.jamey {
    background-image: url('jamey.jpg');
}

.tile.lulu {
    background-image: url('lulu.jpg');
}


/* =========================== */
/* Pet Classifier Buttons */
/* =========================== */

#input-switch button {
    background-color: #4f46e5; /* Indigo-like color */
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    margin: 0.25rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  #input-switch button:hover {
    background-color: #4338ca;
  }
  
  #input-switch input[type="file"] {
    display: block;
    margin: 0.5rem auto;
    font-size: 1rem;
  }

/* =========================== */
/* Pet Classifier Image Stacking */
/* =========================== */

  
  .training-image-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
  }
  
  .training-image-stack img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  

.tile.lulu {
    background-image: url('lulu.jpg');
}
