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

/* DESKTOP STYLES */
/* DESKTOP STYLES */
/* DESKTOP STYLES */
body {
    margin: 0;
	font-size: 24px;
    font-family: Helvetica, Arial, sans-serif; /* Helvetica font */
    background-color: black; /* Black background */
    color: #FAF9F6; /* White text */
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header Styles */
header h1 {
	font-family: 'Helvetica Light', sans-serif;
    font-size: 90px; /* Large font size for your name */
	letter-spacing: -5px;
	font-weight: 500;
    margin: 0;
	margin-left: 15px;
	text-align: left; /* Ensure text is left-aligned */
}

header h1 .subtext {
	font-family: 'Helvetica Regular', sans-serif;
	color: #FF5F1F;
    display: block; /* Ensures the subtext is on a new line */
    font-size: 24px; /* Smaller font size for the subtext */
	letter-spacing: +.5px;
    font-weight: normal; /* Lighter weight for contrast */
    margin-top: -50px; /* Spacing between header and subtext */
	margin-left: +5px;
}

.COOPER-BOWMAN-LOGO {
    position: fixed;
    bottom: 75px;
    left: 50px;
    z-index: 100;
}

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

.BOOPCOLLECTIVE-LOGO {
    position: absolute;
    top: -210px;
    right: 40px;
    z-index: 100;
	transition: transform 0.18s ease;
}

.BOOPCOLLECTIVE-LOGO:hover {
    transform: scale(1.04);  /* ✅ Lifts + slightly grows */
	transition: transform 0.18s ease;
}

.BOOPCOLLECTIVE-LOGO:active {
    transform: scale(0.98);  /* ✅ Press + slightly shrinks */
    transition: transform 0.18s ease;
}

.BOOPCOLLECTIVE-LOGO img {
    height: 300px;
    width: auto;
    transition: filter 0.3s ease;
}

/* Container for content */
.container {
    display: flex; /* Creates a flexbox container for two columns */
    justify-content: flex-start; /* Aligns content to the left */
    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: 30px; /* Font size for portfolio categories */
	letter-spacing: -.5px;
    margin-bottom: 10px; /* Add space between list items */
    cursor: pointer; /* Pointer cursor for interactivity */
	text-decoration: none;
}

nav ul li:hover {
    text-decoration: underline; /* Underline effect on hover */
}

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

/* Right Column (Image Grid) */
.right-column {
    flex: 2; /* Takes up 2 parts of the space, more than the left column */
    padding-left: 20px; /* Space between right column and left column */
    width: 100%;
}

/* Image Tile Container */
.image-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px; /* Space between images */
    margin-right: 60px;
	margin-left: -40px;
    margin-top: 7.5px; /* Space from navigation */
	align-items: start; /* This ensures consistent alignment */
}

/* 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; /* Fixes the icons at the bottom left of the viewport */
    bottom: 20px; /* Distance from the bottom of the screen */
    left: 35px; /* Distance from the left of the screen */
    display: flex; /* Aligns the icons horizontally */
    gap: 20px; /* Space between each icon */
    z-index: 1000; /* Ensures the icons are above other elements */
}

/* Social Media Icons */
.social-icon {
    width: 35px;
    height: 35px;
    fill: #FFFDD0; /* Default color */
	color: #FFFDD0;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.1); /* Slightly enlarges the icon on hover */
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dimmed background */
    z-index: 2000; /* Above all other elements */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
}

.modal img {
    max-width: 90%; /* Limit the width of the image to 90% of the viewport */
    max-height: 90%; /* Limit the height of the image to 90% of the viewport */
    object-fit: contain; /* Ensures the image maintains its aspect ratio */
}

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

.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; /* Optional rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Optional shadow */
}

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

/* Sidebar position: don't overlap the header */
.left-column {
  position: relative;   /* important for dropdown positioning */
  margin-top: 0;        /* stop pulling the nav up into the header */
}

/* Make hover only affect links, not all li elements */
nav ul li { text-decoration: none; color: inherit; }
nav a { color: white; text-decoration: none; }
nav a:hover { color: white; text-decoration: underline; }

/* 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;              /* ✅ SPACING from PORTFOLIO */
  position: static;
  background: transparent;
  border: 0;
  max-height: 0;                 /* ✅ START collapsed */
  overflow: hidden;              /* ✅ HIDE when collapsed */
  opacity: 0;                    /* ✅ START invisible */
  transform: translateY(-10px);  /* ✅ START 10px higher */
  transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;  /* ✅ SMOOTH */
}

.dropdown-menu a {
  display: block;
  font-size: 24px;
  margin-top: 10px;
  line-height: 1.2;
  letter-spacing: -1.0px;
  color: #FAF9F6;                    /* ✅ Default white color */
  transition: color 0.3s ease, text-shadow 0.3s ease;  /* ✅ Smooth transitions */
}

.dropdown-menu a:hover {
  color: #FF5F1F;                    /* ✅ Orange on hover */
  text-shadow: 0 0 8px rgba(255, 95, 31, 0.2),   /* ✅ Inner glow */
               0 0 16px rgba(255, 95, 31, 0.1);  /* ✅ Outer glow */
}

.dropdown:hover > .dropdown-menu { 
  max-height: 200px;             /* ✅ EXPAND to show content */
  opacity: 1;                    /* ✅ FADE in */
  transform: translateY(0);      /* ✅ SLIDE down */
}

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

nav a:hover {
    color: #FF5F1F !important;
    text-decoration: underline;
	text-shadow: 0 0 8px rgba(255, 95, 31, 0.2),
             0 0 16px rgba(255, 95, 31, 0.1);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Footer Styles */
footer {
    width: 100%;
    text-align: center;
    padding: 25px 20px;
    margin-top: 60px;
    font-size: 18px;
    color: #FAF9F6;
    border-top: 2px solid #333;
    letter-spacing: -0.25px;
    line-height: 1.5;
}

footer p {
    margin: 0;
}

/* Project Section Layout */
.rodeo-right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 120px; /* Add right padding to the entire column */
}


.project-section {
    margin-bottom: 80px;
    width: 100%;
    display: grid;
	max-width: 1200px;
    grid-template-columns: 1fr 2fr; /* Creates two columns - left for description, right for images */
    gap: 40px; /* Space between columns */
    align-items: start; /* Align items at the top */
	padding-right: 250px;
}

/* Main image styling */
.main-image {
    width: 100%;
    margin-bottom: 30px;
    grid-column: 2; /* Place in right column */
	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; /* Place in right column */
	padding-right: 0px;
}

.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; /* Place in left column */
    grid-row: 1 / span 2; /* Span both rows (main image and detail grid) */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    position: sticky;
    top: 20px; /* Sticky positioning to stay visible when scrolling */
}

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

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



/* ========================================
   TABLET OPTIMIZATION (768px and below)
   ======================================== */
@media (max-width: 768px) {
    
    /* ----- LAYOUT ----- */
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .left-column {
        width: 100%;
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .right-column {
        width: 100%;
        margin-left: 0;
        display: flex;
        justify-content: center;
    }
    
    /* ----- HEADER ----- */
    header {
        text-align: center;
        padding: 15px 0;
    }
    
    header h1 {
        font-size: 52px;
        letter-spacing: -2px;
        margin-left: 0;
        text-align: center;
        margin-bottom: -10px;
    }
    
    header h1 .subtext {
        font-size: 20px;
        margin-top: -30px;
        margin-left: 0;
    }
    
    /* ----- LOGOS ----- */
    .BOOPCOLLECTIVE-LOGO {
        position: relative;
        top: 0;
        right: 0;
        text-align: center;
        margin: 0;
        padding: 8px 0;
        border-bottom: 2px solid #333;
        width: 100%;
    }
    
    .BOOPCOLLECTIVE-LOGO img {
        height: 200px;
        width: auto;
    }
    
    .COOPER-BOWMAN-LOGO {
        position: relative;
        bottom: 0;
        left: 0;
        text-align: center;
        margin: 8px 0;
        padding: 8px 0;
        border-bottom: none;
    }
    
    .COOPER-BOWMAN-LOGO img {
        height: 70px;
        width: auto;
    }
    
    /* ----- NAVIGATION ----- */
    nav ul {
        margin: 5px 0 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 12px 0;
        width: 100%;
    }
    
    nav ul li {
        font-size: 20px;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: transparent;
        display: none;
        text-align: center;
        margin: 8px 0;
        padding: 0;
        width: 100%;
    }
    
    .dropdown-menu a {
        font-size: 22px;
    }
    
    .dropdown:hover .dropdown-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .dropdown-menu li {
        margin: 0;
    }
    
    /* ----- PROJECT TILES (3 columns on tablet) ----- */
    .image-tiles {
        grid-template-columns: repeat(3, 1fr) !important;
        margin: 0 10px;
        gap: 10px;
        justify-items: center;
    }
    
    .tile-image {
        height: 200px;
        width: 100%;
    }
    
    #home-projects.projects-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        margin-left: 0 !important;
        width: 100% !important;
        gap: 10px;
        margin-top: 0;
    }
    
    #home-projects .project-image {
        height: 200px !important;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
        margin-top: 0;
    }
    
    .project-image {
        height: 200px !important;
    }
    
    .projects-container {
        width: 100% !important;
    }
    
    /* ----- SOCIAL ICONS ----- */
    .social-container {
        position: relative;
        bottom: 0;
        left: 0;
        justify-content: center;
        margin: 10px 0;
        padding: 8px 0;
        border-bottom: none;
    }
    
    /* ----- FOOTER ----- */
    footer p {
        font-size: 12px;
        line-height: 1.3;
    }
}


/* ========================================
   MOBILE OPTIMIZATION (480px and below)
   ======================================== */
@media (max-width: 480px) {
    
    /* ----- HEADER ----- */
    header h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }
    

    header h1 .subtext {
        font-size: 18px;
        margin-top: -22px;
    }
    
    /* ----- LOGOS ----- */
    .BOOPCOLLECTIVE-LOGO img {
        height: 200px;
        margin-bottom: -40px;
        margin-top: -20px;
		margin-left: 10px;
    }
    
    /* ----- NAVIGATION ----- */
    nav ul li {
        font-size: 20px;
    }
    
    .dropdown-menu a {
        font-size: 20px;
    }
    
    .left-column {
        margin-bottom: 60px;
        margin-top: -15px;
        border-bottom: 2px solid #333;
        padding-bottom: 10px;
    }
    
    nav ul {
        gap: 5px;
    }
    
    /* Main navigation on one line with separators */
    .main-nav {
        flex-direction: row !important;
        gap: 0;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .main-nav > li {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav > li:not(:last-child)::after {
        content: "/";
        color: #666;
        margin: 0 5px;
        font-size: 24px;
    }
    
    /* Dropdown stays within container */
    .dropdown {
        position: relative;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        margin-top: 12px;
        min-width: auto;
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu li {
        margin: 5px 0;
    }
    
    /* ----- PROJECT TILES (2 columns on mobile) ----- */
    .image-tiles {
        grid-template-columns: repeat(2, 1fr) !important;
        margin: 0 5px;
        gap: 8px;
    }
    
    .tile-image {
        height: 200px;
        width: 100%;
    }
    
    #home-projects.projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
        margin-left: 0 !important;
        width: 100% !important;
        margin-top: 0;
    }
    
    #home-projects .project-image {
        height: 200px !important;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
        margin-top: 0;
    }
    
    .project-image {
        height: 200px !important;
    }
    
    /* ----- FOOTER ----- */
    footer p {
        font-size: 11px;
    }
}



/* ==== 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: 350px;
  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 {
  height: 300px;
  overflow: hidden;
}

.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: 1.1rem; 
  color: #FAF9F6;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.project-tile:hover .project-info h3 {
  color: #FF5F1F;
  text-shadow: 0 0 8px rgba(255, 95, 31, 0.2),
               0 0 16px rgba(255, 95, 31, 0.1);
}

.project-tile:active {
  transform: translateY(-5px) scale(0.98);
}
.project-info p { margin: 0; color: #C7C7C7; font-size: 0.95rem; }


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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;            /* lock sideways scrolling */
  overscroll-behavior-x: none;   /* avoid sideways rubber-banding */
}

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

/* Remove risky desktop offsets */
.image-tiles { margin-left: 0; margin-right: 0; }

/* ========= TABLET (≤768px) ========= */
@media (max-width: 768px) {
  .right-column, .left-column { width: 100%; }

  .image-tiles {
    margin: 0;
    padding-inline: 8px;
    justify-items: center;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
  }

  #home-projects.projects-grid,
  .projects-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
    margin-left: 0 !important;
    width: 100% !important;
  }
}

/* ========= PHONE (iPhone 15 family ≤430px) ========= */
@media (max-width: 480px) {
  /* Hard-stop any sideways scroll + safe media sizing */
  html, body { max-width: 100%; overflow-x: hidden; }
  img, svg, video { max-width: 100%; height: auto; }

  /* One centered rail on phone */
  header, nav, .container, #home-projects.projects-grid, .projects-container, footer {
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
  }

  /* ---- Project grids (2 columns) ---- */
  .image-tiles,
  .projects-grid,
  #home-projects.projects-grid {
    grid-template-columns: repeat(1, 1fr) !important;   /* columns */
    gap: 15px !important;                                /* tile spacing */
    padding-inline: 6px;                                  /* screen-edge gutter */
    margin-left: 0 !important; margin-right: 0 !important;
    justify-content: center;
  }

  /* Card internals (size + type) */
  .project-image,
  #home-projects .project-image { height: 250px !important; }
  .project-info { padding: 10px 10px 14px; }
  .project-info h3 { font-size: 16px !important; line-height: 1.15; letter-spacing: -0.2px; }
  .project-info p  { font-size: 13px !important; line-height: 1.35; }

  /* Tigh*


