:root {
  --black: #000000;
  --blue: #00a8f3;
}

html {
  font-size: 150%; /* Makes all rem-based sizes 50% larger */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Agency FB, sans-serif;
}

body {
  background-color: var(--black);
  color: white;
  line-height: 1.6;
}

/* Header */
header {
  background-color: var(--black);
  padding: 20px;
  border-bottom: 2px solid var(--blue);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: var(--blue);
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 10px;
  background: linear-gradient(180deg, var(--black) 60%, #001e2b);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  color: #b0dfff;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 24px;
  background-color: var(--blue);
  color: var(--black);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Content Section */
.content {
  padding: 40px 10px;
  max-width: 1100px;
  margin: 0 auto;
}

.content h2 {
  color: var(--blue);
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: #010101;
  text-align: center;
  padding: 20px;
  color: #999;
  border-top: 1px solid var(--blue);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  color: var(--blue);
  font-weight: bold;
  font-size: 2.25rem; /* 50% bigger than typical 1.5rem */
  gap: 10px;
}

/* Offset nav links to align with hero text */
.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  justify-content: flex-start;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px; /* Match the hero text width */
  padding-right: 275px;
}

.logo-icon {
  width: 32px;
  height: 32px;
}
}

/* Navigation styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  justify-content: center;
  flex: 1;
}

.nav-links li a {
  color: var(--blue);
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  display: block;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--black);
  padding: 10px 0;
  border: 1px solid var(--blue);
  min-width: 150px;
  width: 100%;
  z-index: 10;
  padding: 0;
}

.dropdown-menu li {
  list-style: none;
  width: 100%;
}

.dropdown-menu li a {
  padding: 10px 20px;
  color: #b0dfff;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #001e2b;
  color: white;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* About Me Section */
.about-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
  flex-wrap: wrap; /* stacks on small screens */
}

.about-text {
  flex: 1 1 60%;
  color: #eee;
}

.about-image {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--blue);
}

/* Button alignment */
.btn-container {
  text-align: right;
  margin-top: 20px;
}

/* Button style */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--blue);
  color: var(--black);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Button hover effect */
.btn:hover {
  background-color: #007bb8; /* darker blue */
  color: white;
}

/* Hero Button Grid */
.hero-button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
}

.grid-btn {
  display: block;
  padding: 30px;
  background-color: var(--blue);
  color: var(--black);
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  margin-left: left;
  margin-right: right;
}

/* To keep the buttons inside their grid cells and avoid overflow */
.hero-button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  justify-items: center; /* Center grid items horizontally */
}

/* Hover stays the same */
.grid-btn:hover {
  background-color: #007bb8;
  color: white;
}
.grid-btn:hover {
  background-color: #007bb8;
  color: white;
}

/* Hero Image */
.hero {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  object-fit: cover;
  opacity: 0.3; /* Adjust as needed for visibility */
  z-index: 0;
}

.hero h1,
.hero p,
.hero .btn,
.hero-button-grid {
  position: relative;
  z-index: 1;
}


/* Reduce default body margins */
body {
  background-color: var(--black);
  color: white;
  line-height: 1.6;
  margin: 0;
  padding: 0 10px; /* Reduced side padding */
}

/* Bio page image styling */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap; /* Responsive: stack on smaller screens */
}

.hero-text {
  flex: 1 1 60%;
  text-align: left;
}

.hero-image {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--blue);
}

/* Contact page boxes */
.contact-boxes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.contact-box {
  background-color: #001e2b;
  padding: 40px 30px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  color: #b0dfff;
  width: 50%;
}

.contact-box h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--blue);
}

.contact-box h2 {
  font-size: 1.2rem;
  font-weight: normal;
}

/* Links page boxes */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 75%;
  margin: 2rem auto;
}

.platform-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem; /* Reduced from 3rem to 1.5rem */
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1.25rem; /* Optional: reduce text size slightly */
}

.platform-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}
 /* Links bottom button */
 .hero-button {
  display: inline-block;
  background-color: #00a8f3; /* Or your site's primary accent color */
  color: #fff;
  padding: 0.75rem 1.5rem;
  margin-top: 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-button:hover {
  background-color: #333;
  transform: scale(1.05);
}

/* Portfolio Images */
.about-image {
	align-items: flex-start
}

/* Other Project Boxes */
.projects-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-height: 720px;
  overflow: hidden; /* Hides overflow content without scrollbars */
  margin: 2rem auto;
}

.project-box {
  position: relative;
  display: block;
  width: 75%;
  height: 360px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.project-box:hover {
  transform: scale(1.03);
}

.project-box img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 0.3s ease;
   border-radius: 16px;
}

.project-box h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: white;
  font-size: 2rem;
  transition: transform 0.3s ease;
  text-align: center;
}

.project-box:hover img,
  transform: scale(1.05);
  opacity: 0.7;
}

.project-box:hover h2 {
  transform: scale(1.05) translate(-50%, -50%);
}

/* GALLERY PAGE STYLES */
.gallery-page .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.gallery-page .gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-page .gallery-item img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-page .gallery-item:hover img {
    opacity: 0.7;
}

.gallery-page .gallery-item:hover::after {
    content: "🔍";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00aaff;
    font-size: 2rem;
    font-family: sans-serif; /* Prevents unexpected font changes */
    pointer-events: none;    /* Ensures icon doesn't block clicks */
}

.gallery-page .gallery-item.expanded {
    transform: scale(1.05);
}

/* Only span 2 columns on wider screens */
@media (min-width: 600px) {
    .gallery-page .gallery-item.expanded {
        grid-column: span 2;
    }
}

.gallery-page .image-description {
    display: none;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
}

