/* ===========================================
   MAIN STYLES - UNREALDEV PORTFOLIO
   =========================================== */

/* ===========================================
   RESET AND BASE STYLES
   =========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Barlow Condensed", sans-serif;
  background: #0f0f0f;
  color: #ffffff;
  overflow-x: hidden;
}

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ===========================================
   LOADING SCREEN
   =========================================== */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f0f0f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

#loader-status {
  font-size: 1rem;
  margin-top: 10px;
  color: #666;
}

/* ===========================================
   HEADER SECTION STYLES
   =========================================== */
.header-section {
  background-color: #f4f7f0;
  width: 100%;
  padding: 100px 0px 0px 0px;
  margin-bottom: -70px;
  position: relative;
  z-index: 10;
}

/* Mobile header adjustments */
@media (max-width: 768px) {
  .header-section {
    padding: 60px 0 0 0;
    margin-bottom: -20px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .header-left,
  .header-right {
    text-align: center;
    width: 100%;
  }

  .header-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }

  .header-description {
    font-size: 1rem !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .header-section {
    padding: 80px 0 80px 0;
    margin-bottom: 0px;
  }

  .header-content {
    padding: 0 1rem;
    gap: 1rem;
  }

  .header-title {
    font-size: 1.8rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0.5rem !important;
  }

  .header-description {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    max-width: 100% !important;
  }
}

.header-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.header-left {
  text-align: left;
}

.header-right {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

.header-title {
  font-size: 4rem;
  font-weight: 900;
  color: #000;
  margin: 0;
  line-height: 1.1;
  animation: gradientShift 3s ease-in-out infinite;
}

/* Mobile typography */

.header-description {
  font-size: 1.2rem;
  color: #000;
  line-height: 1.6;
  margin: 0;
  width: 500px;
}

/* ===========================================
   FOLDER GALLERY STYLES
   =========================================== */
#folder-gallery-container {
  margin: 0;
  padding: 0;
}

#folder-gallery-container .folder-section {
  margin: 0;
  padding: 0;
}

/* ===========================================
   PLASTIC MENU STYLES
   =========================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 0px 40px;
  background: #f4f7f0;
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease;
}

/* Mobile navbar adjustments */
@media (max-width: 768px) {
  .navbar {
    height: 50px;
    padding: 0 0px;
  }

  /* Keep location/time widget visible on mobile */
  .location-time-widget {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .navbar {
    height: 45px;
    padding: 0 20px !important;
  }

  /* Show only date on mobile */
  .location-time-widget {
    font-size: 10px;
  }

  .location-time-widget #location-time-text {
    font-size: 9px;
  }
}

.navbar .location-time-widget {
  position: static;
  top: auto;
  right: auto;
  color: #000;
}

.menu-toggle-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-logo {
  font-size: 14px;
  color: #000;
  font-weight: 600;
  /* Removed text-transform to let Tailwind work */
}

#menu-toggle-btn {
  margin-top: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  width: 20px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10000;
}

#menu-toggle-btn span {
  height: 2px;
  background: #000;
  width: 24px;
  display: inline-block;
  position: absolute;
  top: 50%;
  transition: all 0.3s;
}

#menu-toggle-btn span::before {
  content: " ";
  position: absolute;
  display: inline-block;
  height: 2px;
  background: #000;
  transform: translateY(-4px);
  width: 24px;
  transition: all 0.3s;
  top: -2px;
}

#menu-toggle-btn.active span {
  transform: rotate(45deg);
  background: #000 !important;
}

#menu-toggle-btn.active span::before {
  top: unset;
  transform: rotate(-90deg);
  background: #000 !important;
}

#nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  color: #fff;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  z-index: 9999;
}

.nav {
  width: 50%;
  display: flex;
  justify-content: space-between;
}

.flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.nav-logo {
  font-weight: 300;
  margin-top: -0.2em;
  text-transform: uppercase;
  font-size: 120px;
}

.nav-socials {
  display: flex;
  flex-direction: column;
}

.nav-socials a {
  font-weight: 400;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  margin-bottom: 0.5em;
  transition: color 0.3s ease;
}

.nav-socials a:hover {
  color: #b1c0ef;
}

.nav-link {
  position: relative;
}

.nav-link a {
  position: relative;
  top: 60px;
  text-decoration: none;
  color: #fff;
  font-size: 60px;
  font-weight: lighter;
  transition: color 0.3s ease;
}

.nav-link a:hover {
  color: #b1c0ef;
}

.nav-item-wrapper:after {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  width: 500px;
  height: 60px;
  background: #000;
  margin: 0 auto;
  transition: 1s;
}

.nav-footer {
  position: absolute;
  width: 100%;
  bottom: 0;
  padding: 2em 1em;
  display: flex;
  justify-content: space-between;
}

.nav-footer a {
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  padding: 0 1em;
  transition: color 0.3s ease;
}

.nav-footer a:hover {
  color: #b1c0ef;
}

/* ===========================================
   AWARDS SECTION STYLES
   =========================================== */
.awards-section * {
  margin: 0 0;
  padding: 0;
  box-sizing: border-box;
}

.awards-section img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.awards-section h1 {
  text-transform: uppercase;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 0.9;
}

.awards-section p {
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 700;
}

.awards-section section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.awards-section .intro,
.awards-section .outro {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e3e3db;
}

.awards-section .awards {
  min-height: 100vh;
  height: max-content;
  background-color: #e3e3db;
}

.awards-section .awards p {
  padding: 5px 20px;
  color: #000;
}

.awards-section .awards-list {
  border-top: 1px solid #000;
}

.awards-section .award {
  height: 80px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.awards-section .award-wrapper {
  position: relative;
  height: 240px;
  will-change: transform;
  transform: translateY(-160px);
}

.awards-section .award-name,
.awards-section .award-project {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 5px 15px;
  cursor: pointer;
  border-bottom: 1px solid #000;
}

.awards-section .award-name {
  background-color: #e3e3db;
  color: #000;
}

.awards-section .award-project {
  background-color: #000;
  color: #e3e3db;
}

.awards-section .award-preview {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 30%;
  height: 30%;
  z-index: 2;
}

.awards-intro {
  padding-top: 80px;
  background-color: #e3e3db;
}

/* ===========================================
   FOOTER STYLES
   =========================================== */
.footer {
  background: #0f0f0f;
  color: #ffffff;
  padding: 40px 0;
}

.footer-bottom {
  text-align: center;
  color: #fff;
}

.heart {
  color: #ff6b6b;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.outreachy-credit {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.outreachy-badge {
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-right: 0.5rem;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
@media (max-width: 900px) {
  .nav {
    flex-direction: column-reverse;
  }

  .nav-logo {
    display: none;
  }

  .nav-socials {
    flex-direction: row;
    margin-top: 4em;
  }

  .nav-socials a {
    padding: 0 0.4em;
  }

  .nav-footer {
    display: none;
  }

  .header {
    font-size: 60px;
    padding: 0 2em;
  }

  .nav-link a {
    font-size: 40px;
  }
}


  .footer {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 600px) {
  .nav-link a {
    font-size: 30px;
  }

  .navbar {
    padding: 1em 2em;
  }
}
