@import './landing.css';

/* ============================================================
   AWWWARDS-STYLE TYPOGRAPHIC PRELOADER
   ============================================================ */
#lp-page-loader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loader-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loader-line {
  overflow: hidden;
  height: clamp(32px, 8vw, 72px);
}

.loader-text-item {
  display: block;
  font-family: 'Akira Expanded', sans-serif;
  font-size: clamp(26px, 6vw, 64px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  transform: translateY(100%);
}

.loader-progress {
  position: absolute;
  bottom: 40px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.2em;
}

/* ============================================================
   HEADER & SIDEBAR NAVIGATION OVERRIDES
   ============================================================ */
.lp-artisans-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #0c0c0c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 9980;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-60px);
}

.lp-header-title {
  font-family: 'ThccHandwritten', sans-serif;
  font-size: clamp(16px, 4vw, 24px);
  color: #ffffff;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: center;
}

#lp-content {
  margin-top: 60px !important;
  padding-top: 40px;
  padding-left: var(--card-gap);
  padding-right: var(--card-gap);
  padding-bottom: calc(var(--card-gap) + 80px);
}

.lp-sidebar {
  pointer-events: all !important;
}

@media (min-width: 769px) {
  .lp-sidebar {
    top: 60px !important;
    height: calc(100vh - 60px) !important;
    transform: none !important;
    opacity: 0;
  }
}

@media (max-width: 768px) {
  #lp-content {
    margin-top: 60px !important;
    padding-top: 24px;
    padding-left: var(--card-gap) !important;
    padding-right: var(--card-gap) !important;
  }
}

/* ============================================================
   SECTION 1: HERO INTRO SECTION
   ============================================================ */
.lp-artist-hero-section {
  display: flex;
  height: 90vh; /* Exactly 90vh height */
  align-items: stretch; /* Stretch to fill full height */
  justify-content: space-between;
  gap: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  opacity: 0; /* JS reveal */
}

.lp-artist-hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  text-align: right;
  align-items: flex-end;
  padding-right: 64px;
  padding-left: 20px;
  height: 100%;
}

.lp-clip-wrap {
  overflow: hidden;
}

.lp-artist-hero-name {
  font-family: 'Akira Expanded', sans-serif;
  font-size: clamp(2.0rem, 5.5vw, 4.4rem);
  font-weight: 900;
  color: var(--accent); /* Akira Display name color style */
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin: 0;
}

.lp-artist-hero-role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.lp-artist-hero-loc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}

.lp-artist-hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  height: 100%;
}

.lp-artist-hero-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0; /* Pointed edges, no radius */
  border: none; /* No border */
  background: #0d0d0d;
}

.lp-artist-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-artist-hero-img-wrap:hover .lp-artist-hero-img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .lp-artist-hero-section {
    flex-direction: column;
    height: auto;
    gap: 32px;
    margin-top: 16px;
    margin-left: calc(-1 * var(--card-gap)) !important;
    margin-right: calc(-1 * var(--card-gap)) !important;
    width: calc(100% + 2 * var(--card-gap)) !important;
  }
  .lp-artist-hero-left {
    text-align: center;
    align-items: center;
    padding-right: 20px;
    padding-left: 20px;
  }
  .lp-artist-hero-right {
    width: 100%;
    height: 380px;
  }
}

/* ============================================================
   YELLOW DIVIDER LINE
   ============================================================ */
.lp-yellow-divider {
  width: 55%;
  height: 48px;
  background-color: var(--accent); /* Solid yellow pill line */
  border-radius: 0 999px 999px 0; /* Flat left, rounded right */
  margin-left: calc(-1 * var(--card-gap)); /* Pull it all the way to the left edge of the screen */
  margin-top: 0;
  margin-bottom: 80px;
  border: none;
  opacity: 0;
}

@media (max-width: 768px) {
  .lp-yellow-divider {
    width: 70%;
    height: 24px;
    margin-bottom: 48px;
  }
}

/* ============================================================
   SECTION 2: ABOUT SECTION
   ============================================================ */
.lp-artist-about-section {
  display: flex;
  gap: var(--card-gap);
  align-items: center;
  margin-bottom: 120px;
  width: 100%;
}

.lp-artist-about-left {
  flex: 0 0 45%;
}

.lp-artist-about-img-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.4); /* White border */
  background: #0d0d0d;
  opacity: 0; /* Hide initially */
}

.lp-artist-about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-artist-about-img-box:hover .lp-artist-about-img {
  transform: scale(1.05);
}

.lp-artist-about-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-artist-section-title {
  font-family: 'Akira Expanded', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--accent); /* Brand yellow */
  margin: 0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  opacity: 0; /* Hide initially */
}

.lp-artist-bio {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-artist-bio p {
  opacity: 0; /* Hide initially */
}

@media (max-width: 768px) {
  .lp-artist-about-section {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 60px;
  }
  .lp-artist-about-left {
    width: 100%;
  }
}

/* ============================================================
   SECTION 3: FEATURED PROJECTS (ALBUMS)
   ============================================================ */
.lp-artist-projects-section {
  margin-bottom: 120px;
  width: 100%;
}

.lp-artist-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
  margin-top: 32px;
}

@media (min-width: 640px) {
  .lp-artist-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lp-artist-projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-project-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-radius: 0 !important; /* Pointed corners */
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  opacity: 0;
}

.lp-project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 242, 0, 0.35);
}

.lp-project-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0a0a0a;
  border-radius: 0 !important; /* Pointed corners */
}

.lp-project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-project-card:hover .lp-project-card-img {
  transform: scale(1.05);
}

.lp-project-card-content {
  padding: 24px;
  text-align: left;
}

.lp-project-card-title {
  font-family: 'Akira Expanded', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.lp-project-card-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: var(--accent);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .lp-artist-projects-section {
    margin-bottom: 60px;
  }
}

/* ============================================================
   SECTION 4: MEDIA GALLERY GRID
   ============================================================ */
.lp-artist-media-section {
  margin-bottom: 120px;
  width: 100%;
}

.lp-artist-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 20px;
  height: 540px; /* Specified height for desktop to match cards exactly */
  margin-top: 32px;
}

.lp-media-col {
  display: contents; /* Remove col wrappers on desktop */
}

/* Map individual media cards to rows/columns */
.lp-artist-media-grid .lp-media-col:nth-child(1) .lp-media-card:nth-child(1) {
  grid-row: 1 / 3;
  grid-column: 1;
}
.lp-artist-media-grid .lp-media-col:nth-child(1) .lp-media-card:nth-child(2) {
  grid-row: 3 / 5;
  grid-column: 1;
}
.lp-artist-media-grid .lp-media-col:nth-child(2) .lp-media-card:nth-child(1) {
  grid-row: 1 / 3;
  grid-column: 2;
}
.lp-artist-media-grid .lp-media-col:nth-child(2) .lp-media-card:nth-child(2) {
  grid-row: 3 / 5;
  grid-column: 2;
}
.lp-artist-media-grid .lp-media-col-large .lp-media-card-tall {
  grid-row: 1 / 5;
  grid-column: 3;
  height: 100% !important;
  aspect-ratio: auto !important;
}

.lp-media-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4); /* White border */
  background: #080808;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.lp-media-card-tall {
  height: 100%;
  aspect-ratio: auto;
}

.lp-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-media-card:hover .lp-media-img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .lp-artist-media-section {
    margin-bottom: 60px;
  }
  .lp-artist-media-grid {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 16px;
  }
  .lp-media-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .lp-media-card {
    aspect-ratio: 1.58 / 1;
    height: 200px !important;
  }
  .lp-media-card-tall {
    height: 200px !important;
  }
}

/* ============================================================
   SECTION 5: SOCIAL LINKS SECTION
   ============================================================ */
.lp-artist-links-section {
  margin-bottom: 60px;
  width: 100%;
}

.lp-social-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
  margin-bottom: 64px;
  align-items: center;
}

.lp-social-icon-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lp-social-icon-link:hover {
  color: var(--accent);
  transform: scale(1.18);
}

/* Legacy newsletter rules removed */

/* ============================================================
   CUSTOM FOOTER BOTTOM LINKS OVERRIDES
   ============================================================ */
.lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 8px;
}

.lp-footer-links {
  display: flex;
  gap: 24px;
}

.lp-footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.lp-footer-link:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .lp-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .lp-footer-links {
    justify-content: center;
  }
}

/* ============================================================
   SUCCESS TOAST NOTIFICATION STYLES
   ============================================================ */
.lp-toast {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: #0f0f0f;
  border: 1px solid var(--accent);
  border-radius: var(--card-radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 11000;
  transform: translateX(120%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lp-toast.show {
  transform: translateX(0);
}

.lp-toast-icon {
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.lp-toast-title {
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  font-size: 14px;
}

.lp-toast-msg {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 12px;
}

@media (max-width: 768px) {
  .lp-toast {
    bottom: 24px;
    right: 24px;
    left: 24px;
    transform: translateY(150%);
  }
  .lp-toast.show {
    transform: translateY(0);
  }
}
