/* ==================================
   ██████╗  ██████╗  ██████╗ ███████║ 
   ██╔══██╗██╔═══██╗██╔═══██║██╔══██║
   ██████╔╝██║   ██║██║   ██║███████║
   ██╔══██╗██║   ██║██║   ██║██╔════╝
   ██████╔╝╚██████╔╝╚██████╔╝██║ 
   ╚═════╝  ╚═════╝  ╚═════╝ ╚═╝ 
           BOOPCOLLECTIVE©
   ================================== */

body {
    margin: 0;
	font-size: 16px;
    font-family: Helvetica, Arial, sans-serif; /* Helvetica font */
    background-color: black;/* Black background */  
    color: #EEEEEE; /* #EEEEEE text */
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	padding-bottom: 60px;
}

/* Header Styles */
header {
    width: 100%;
	max-width: 100vw;
    padding: 20px 0;
    position: relative;
}

header h1 {
	font-family: 'Helvetica Light', sans-serif;
    font-size: 48px;
	letter-spacing: -2px;
	font-weight: 500;
    margin: 0;
	margin-left: 15px;
	text-align: left;
}

header h1 .subtext {
	font-family: 'Helvetica Regular', sans-serif;
	color: #999999
;
    display: block;
    font-size: 16px;
	letter-spacing: +.5px;
    font-weight: normal;
    margin-top: -40px;
	margin-left: +5px;
}

.COOPER-BOWMAN-LOGO {
    position: fixed;
    bottom: 20px;
    right: 35px;
    z-index: 100;
}

.COOPER-BOWMAN-LOGO img {
    height: 80px;
    width: auto;
}

/* Container for content */
.container {
    display: flex;
    justify-content: flex-start;
    padding: 20px;
}

/* Left Column (Navigation) */
.left-column {
    flex: 0 0 15%;
    display: flex;
    margin-top: 0px;	
    flex-direction: column;
    align-items: flex-start;
    padding-right: 20px;
}

/* Navigation Styles */
nav ul {
    list-style: none;
    padding: 0;
    margin: 150px 0 0 0;
}

nav ul li {
    font-size: 20px;
	letter-spacing: -.5px;
    margin-bottom: 10px;
    cursor: pointer;
	text-decoration: none;
}

nav ul li:hover {
    text-decoration: underline;
}

/* Prevent visited links from being purple */
nav a:visited {
    color: #EEEEEE;
}

/* Right Column (Image Grid) */
.right-column {
    flex: 2;
    padding-left: 20px;
    width: 100%;
}

/* Image Tile Container */
.image-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-right: 60px;
	margin-left: -0px;
    margin-top: 7.5px;
	align-items: start;
}

/* Style for each image tile */
.tile-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center top;
    border-radius: 7.5px;
    transition: transform 0.3s ease, border-radius 0.3s ease;
    will-change: transform;
}

.tile-image:hover {
    transform: scale(1.045);
    cursor: pointer;
    border-radius: 0px;
}

/* Social Media Container */
.social-container {
    position: fixed;
    bottom: 20px;
    left: 24px;
    display: flex;
    gap: 14px;
    z-index: 1000;
}

/* Social Media Icons */
.social-icon {
    width: 28px;
    height: 28px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
	filter: brightness(0.93);
}

.COOPER-BOWMAN-LOGO img {
    transition: transform 0.2s ease;
}

.COOPER-BOWMAN-LOGO img:hover {
    transform: scale(1.1);
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal img.zoomable,
.modal img.mousemove {
	cursor: zoom-in;
}

/* Modal Content */
.modal-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Close Button (Optional) */
.modal-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #EEEEEE;
    font-size: 30px;
    cursor: pointer;
}


/* Replace absolute dropdown with a simple push-down submenu for a sidebar */
.main-nav { list-style: none; margin: 0; padding: 0; }
.main-nav > li { position: relative; margin: 0 0 0.5rem 0; }

.dropdown > .dropdown-toggle { cursor: pointer; }

/* Submenu appears beneath and pushes content down */
.dropdown-menu {
  list-style: none;
  padding: 0;
  margin-top: 0px;
  position: static;
  background: transparent;
  border: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.dropdown-menu a {
  display: block;
  font-size: 17px;
  margin-top: 10px;
  line-height: 1.0;
  letter-spacing: -0.5px;
  color: #EEEEEE;
  transition: color 0.3s ease;
}

.dropdown-menu a:hover {
  color: #999999
;
}

.dropdown:hover > .dropdown-menu { 
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

/* Defaults for links */
nav a {
  position: relative;
  color: #EEEEEE;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
    color: #999999
 !important;
    text-decoration: underline;
    transition: color 0.3s ease;
}

/* Footer Styles */
footer {
    position: fixed;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    font-size: 14px;
    color: #EEEEEE;
    background-color: transparent;
    border-top: 1px solid #333;
    letter-spacing: -0.25px;
    line-height: 1.5;
    z-index: 50;
}

footer p {
    margin: 0;
}

.project-section {
    margin-bottom: 80px;
    width: 100%;
    display: grid;
	max-width: 1200px;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
	padding-right: 250px;
}

/* Main image styling */
.main-image {
    width: 100%;
    margin-bottom: 30px;
    grid-column: 2;
	padding-right: 120px;
}

.main-image img {
    width: 100%;
    height: auto;
    max-height: 120vh;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.02);
    cursor: pointer;
}

/* Detail grid styling */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    grid-column: 2;
}

.detail-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.detail-grid img:hover {
    transform: scale(1.03);
}

/* Project description styling - moved to left */
.project-description {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    position: sticky;
    top: 20px;
}

.project-description h3 {
    color: #999999
;
    margin-top: 0;
	margin-bottom: -10px;
    font-size: 22px;
}

.project-description p {
    line-height: 1.6;
}




/* ==== Homepage-specific project grid ==== */
#home-projects.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 25px);
  margin-top: -5px;
  margin-left: -75px;
  width: 125%;
}

#home-projects .project-image {
  height: 320px;
  overflow: hidden;
}

.project-image {
  height: 300px;
  overflow: hidden;
}

/* ==== Shared project tile grid (sections only) ==== */
.projects-container {
  width: 80%;
  padding: 10px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 25px);
  margin-top: -50px;
}
.project-tile {
  background: #000000;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.project-tile:hover .project-image img {
  transform: scale(1.1);
}

.project-info { padding: 15px; }
.project-info h3 { 
  margin: 0 0 6px 0; 
  font-size: 16px;
  color: #EEEEEE;
  transition: color 0.3s ease;
}

.project-tile:hover .project-info h3 {
  color: #999999
;
}

.project-tile:active {
  transform: translateY(-5px) scale(0.98);
}
.project-info p { 
  margin: 0; 
  color: #C7C7C7; 
  font-size: 15px;  /* CHANGE THIS TO: 13px */
}

/* ========= GLOBAL SAFETIES ========= */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

/* Keep positioned blocks inside the viewport */
.COOPER-BOWMAN-LOGO,
.social-container,
header { max-width: 100vw; }