:root {
    --text: #38496b;
    --title: #38496b;
    --bg: #dcc0a6;
    --folder: #c09c7b;
    --folder-greyedout: #9b7e64;
    --idk: #38496b;
    --header: #38496b;
}

body {
    margin: 0;
    padding: 0;
    /* Keep your existing styles */
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Comic Neue', cursive;
  }

/* Hero Image */
.header-image {
    position: relative;
    top: 15px;
    max-width: 100%;
    height: auto;
    max-height: 150px; /* Adjust as needed */
    border-radius: 8px; /* Optional */
    object-fit: contain;
}

/* For smaller screens - stack the content */
@media (max-width: 768px) {
  .site-title, .header-image {
      max-height: 100px;
  }
  .main-header .row {
      flex-direction: column;
      text-align: center;
  }
}
/* Dark Blue Header */
.main-header {
    background-color: var(--idk);
    color: white;
    padding: 0.1rem 0;
    margin-bottom: 2rem;
    z-index: 3;
}

.main-header h1 {
    font-size: 3rem; /* Smaller heading */
    margin-bottom: 0rem; /* Reduced spacing */
}

.site-title{
    position: relative;
    top: 15px;
    max-width: 100%;
    height: auto;
    max-height: 150px; /* Adjust as needed */
    border-radius: 8px; /* Optional */
    object-fit: contain;
}

/* Remove background from nav-buttons container */
.nav-buttons {
    position: relative;
    background-color: transparent !important;
    padding: 0.5rem 0;
    z-index: 1;
    margin-left: 470px;
  }
  
  .nav-buttons .container {
    gap: 0; /* Remove default Bootstrap gaps */
    padding: 0;
  }

  .nav-btn {
    margin: 0 -0.5rem; /* Reduce overlap */
    position: relative;
    padding: 0.5rem 1.8rem;
    margin: 0 -0.8rem;
    color: var(--text);
    text-decoration: none;
    text-align: center;
    background-color: var(--folder-greyedout);
    border: none;
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
    transition: all 0.3s ease;
    /* Added to prevent any bottom spacing */
    margin-bottom: 0;
    padding-bottom: 0.6rem; /* Adjust if needed */
  }

  
  /* Active/hover states */
  .nav-btn.active,
  .nav-btn:hover {
    background-color: var(--folder);
    color: var(--text);
    transform: translateY(-2px); /* Optional: slight press effect */
  }
  
  /* Create connecting effect between buttons */
  .nav-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 20px;
    height: 100%;
    background-color: inherit;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    z-index: -1;
  }
  
  .nav-btn:after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 100%;
    background-color: inherit;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    z-index: -1;
  }
  
  /* Remove pseudo-elements from first and last buttons */
  .nav-buttons a:first-child.nav-btn:before,
  .nav-buttons a:last-child.nav-btn:after {
    display: none;
  }

/* Content Container */
.content-container {
    background-color: var(--folder);
    border-radius: 0.5rem;
    margin-top: -1rem;
    padding: 2rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: relative; /* Required for z-index */
    z-index: 2; /* Higher than buttons */
}

/* Remove any conflicting z-index from other elements */
.header-image, .site-title {
    position: relative;
    z-index: auto;
}

/* Override heading colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--header);
}

footer {
  background-color: var(--idk) !important;
  color: white !important;
}

.portfolio-item img:hover {
  transform: scale(1.03);
  transition: 0.3s;
}

.aboutimg{
  position: relative;
  max-width: 100%;
  height: auto;
  max-height: 550px; /* Adjust as needed */
  object-fit: contain;
  float: right;
  margin: 2rem;
  margin-top: -4rem;
}

/* Gallery Styles */
.gallery-container {
  margin: 2rem 0;
}

.gallery-item {
  overflow: hidden; /* Contain the image */
  display: flex;
  flex-direction: column; /* Stack vertically */
  align-items: center; /* Center horizontally */
  text-align: center; /* Center caption text */
  margin-bottom: 1.5rem;
  justify-content: center;
  border-radius: 8px;
  padding: 0; /* Remove any padding */
}

.gallery-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 300px; /* Set maximum dimensions */
  object-fit: contain; /* Preserve aspect ratio */
  margin: 0 auto; /* Center horizontally */
  display: block;
  margin-bottom: 0.5rem; /* Space between image and caption */
}

.design-img {
  width: 95%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 2 auto;
  border-radius: 5px;
}

.gallery-item {
  width: 100%; /* Take full width */
  padding: 0.5rem 0;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.design-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.gallery-caption {
  text-align: center;
  margin-top: 0.5rem;
  color: var(--pastel-red);
  font-size: 0.9rem;
}

/* Lightbox Overlay Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
  overflow: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: contain;
  animation: fadeIn 0.3s;
}

.lightbox-caption {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  color: white;
  padding: 10px;
  font-size: 1.2rem;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: var(--pastel-red);
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* YouTube Embed Styles */
.youtube-thumbnail-container {
  max-width: 800px;
  margin: 2rem auto;
  background: var(--beige);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.youtube-thumbnail-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.youtube-thumbnail {
  width: 100%;
  border-radius: 5px;
  display: block;
  transition: transform 0.3s ease;
}

.youtube-thumbnail-link:hover .youtube-thumbnail {
  transform: scale(1.02);
}

.play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.3);
  border-radius: 5px;
  transition: background 0.3s ease;
  transition: transform 0.3s ease;
}

.youtube-thumbnail-link:hover .play-button-overlay {
  background: rgba(0,0,0,0.5);
  transform: scale(1.02);
}

.play-icon {
  font-size: 4rem;
  color: white;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.youtube-thumbnail-link:hover .play-icon {
  transform: scale(1.1);
}

.video-caption {
  text-align: center;
  margin-top: 0.8rem;
  color: var(--dark-blue);
  font-size: 1.1rem;
  font-weight: 500;
}
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .youtube-grid {
    grid-template-columns: 1fr;
  }
}

/* socials */

/* Full-page split layout */
.social-page-container {
  display: flex;
  min-height: 100vh;
}

.social-image-column {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
}

.social-banner-image {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
}

.social-content-column {
  flex: 0 0 50%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .social-page-container {
    flex-direction: column;
  }
  
  .social-image-column,
  .social-content-column {
    flex: 0 0 100%;
  }
  
  .social-image-column {
    height: 40vh;
  }
  
  .social-content-column {
    padding: 2rem 1rem;
  }
}

/* Update your social-grid styles */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two equal columns */
  gap: 1.5rem;
  width: 100%;
}

/* Adjust social card sizing */
.social-card {
  padding: 1.2rem;
  margin: 0;
  min-height: 80px; /* Consistent height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.social-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.social-card h3 {
  margin: 0.5rem 0;
  font-size: 1.3rem;
}

.social-card p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Platform-specific colors */
.instagram { background: #E1306C; }
.artstation { background: #13AFF0; }
.twitter { background: #1DA1F2; }
.youtube { background: #FF0000; }
.deviantart { background: #05CC47; }
.email { background: #37517d; }

@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
  
  .social-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}