/* Reset default browser spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar background */
.navbar {
    background-color: #B10202; /* UNLV Scarlet */
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
}

/* Inner container */
.nav-container {
    width: 90%;
    max-width: 2000px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Lab name / logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Venki's logo */
.nav-logo img {
    height: 60px;
    width: auto;
} 

/* Logo Text */
.nav-logo span {
    color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}

/* Navigation links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

/* Link styling */
.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.4rem;
    font-family: Arial, Helvetica, sans-serif;
    transition: opacity 0.2s ease;
}

/* Hover effect */
.nav-links a:hover {
    opacity: 0.75;
}


/* Hero section */
.hero {
    position: relative;
    min-height: calc(100vh - 70px);
    width: 100%;

    background-image: url("media/RedDronePhoto.JPG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* White fade overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.849);
}

/* Content on top of overlay */
.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    transform: translateY(-10px);
    /* Hero letters */
    font-size: 1.4rem;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}


/* main page logo*/
.hero-content img {
    width: 500px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 1.8rem;
    color:#000000;
    margin-bottom: 6px;
}

.hero-content h2 {
    font-size: 1.2rem;
    color: #030303;
    margin-bottom: 24px;
}

.hero-content p {
    max-width: 900px;
    font-weight: normal;
    font-size: 1.4rem;
    line-height: 1.9;
    color: #000000;
    transform: translateY(40px);
}

.hero-links a {
    color: #BA0C2F;
    text-decoration: none;
    font-weight: bold;
}

.hero-links a:hover {
    text-decoration: underline;
}

/* Members page  */


/* Page container */
.members {
    padding: 90px 40px;
    background-color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
}

/* Main title */
.members h2 {
    text-align: center;
    font-size: 2.4rem;
    color: #9D2235; /* UNLV scarlet */
    margin-bottom: 60px;
    font-weight: 600;
}


/* Section subheadings */
.members-subheading {
    font-size: 1.6rem;
    color: #333333;
    max-width: 1200px;
    margin: 60px auto 30px;
    text-align: center;
}

/* Members grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
    gap: 50px 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;   /* THIS keeps cards centered */
}


/* Individual member entry (directory style) */
.member-card {
    text-align: center;
}

/* Member photo */
.member-card img {
    width: 100%; 
    aspect-ratio: 3 / 4;        
    object-fit: cover;      
    border-radius: 6px;
}


/* Member name */
.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: center;
}

/* The actual clickable link */
.member-name a {
    text-decoration: none;
    color: #9D2235;  /* UNLV scarlet */
}

/* Hover effect */
.member-name a:hover {
    text-decoration: underline;
}

/* Member role / title */
.member-role {
    font-size: 1rem;
    color: #000000;
    text-align: center;
}

/* Alumni subtle distinction */
.members-grid.alumni .member-card {
    opacity: 0.9;
    text-align: center;
}

/* =========================
   Responsive Adjustments
========================= */
@media (max-width: 600px) {
    .members {
        padding: 70px 20px;
    }

    .member-card img {
        height: 220px;
    }

    .members-subheading {
        margin-top: 40px;
    }
}

/* memebers tabs */ 

.profile {
    padding: 80px 40px;
    background-color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
}

.profile-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.profile-sidebar img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 20px;
}

.profile-sidebar h1 {
    font-size: 1.6rem;
    color: #9D2235;
    margin-bottom: 6px;
}

.profile-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-department {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

.profile-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-links a {
    border: 1px solid #ccc;
    padding: 6px 12px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.profile-links a:hover {
    border-color: #9D2235;
    color: #9D2235;
}


.profile-content h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    margin-top: 30px;
}

.profile-content p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.profile-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

/* =========================
   Contact Page with Background
========================= */

.contact {
    position: relative;
    min-height: 100vh;

    display: flex;              /* enables centering */
    align-items: center;        /* vertical center */
    justify-content: center;    /* horizontal center */

    padding: 40px;

    background-image: url("media/WhiteDronePhoto.JPG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, Helvetica, sans-serif;
}

/* White tint overlay */
.contact-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.85);
}

/* Content container */
.contact-container {
    position: relative;
    z-index: 1;

    max-width: 800px;
    text-align: center;   /* center all text */
}

.contact h1 {
    font-size: 2.2rem;
    color: #9D2235;
    margin-bottom: 20px;
}

.contact-intro {
    line-height: 1.6;
    margin-bottom: 40px;
    color: #333;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-block h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #000;
}

.contact-block p {
    margin-bottom: 6px;
    color: #555;
}

.contact-block a {
    text-decoration: none;
    color: #9D2235;
}

.contact-block a:hover {
    text-decoration: underline;
}


/* =========================
   Gallery Page
========================= */

.gallery {
    padding: 100px 40px;
    background-color: #ffffff;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.gallery h1 {
    font-size: 2.2rem;
    color: #9D2235;
    margin-bottom: 60px;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   GALLERY GRID
========================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 420px));
    gap: 50px;
    justify-content: center;   /* centers entire grid */
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================
   GALLERY CARD
========================= */

.gallery-item {
    width: 420px;
    text-align: center;
}

/* 
   IMAGE + VIDEO
*/

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}



.gallery-caption {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

