/*
Theme Name: Andrea Bellucci Music Composer
Theme URI: https://andreabellucci.com
Author: Andrea Bellucci
Author URI: https://andreabellucci.com
Description: Cinematic Dark Minimalism theme for Andrea Bellucci, award-winning music composer based in Los Angeles.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: andrea-bellucci
Tags: dark, music, portfolio, single-page, custom-background
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #080a14;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: white;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: white;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
  text-transform: none;
}

.hero-name {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 400;
  color: white;
  line-height: 1.0;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.ab-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .ab-container { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1024px) {
  .ab-container { padding-left: 3rem; padding-right: 3rem; max-width: 1400px; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

#site-nav.scrolled {
  background: rgba(8, 10, 20, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: white;
  transition: width 0.3s ease;
}

.nav-link:hover { color: white; }
.nav-link:hover::after { width: 100%; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #080a14;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663472403641/UwWUddPFjf2YJfaBMsgnBu/hero-bg_50299980.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,10,20,0.85) 0%, rgba(8,10,20,0.3) 50%, rgba(8,10,20,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-left { flex: 1; }

.hero-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}

.hero-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-social-link:hover { color: white; }

.hero-social-link i {
  font-size: 1.3rem;
  width: 1.5rem;
  text-align: center;
}

.hero-social-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-left: 2rem;
}

.new-release-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.album-cover-link {
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.album-cover-link:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.album-cover {
  width: clamp(180px, 22vw, 320px);
  height: auto;
  display: block;
  border-radius: 2px;
}

/* ============================================================
   COLLABORATIONS SECTION
   ============================================================ */
#collaborations {
  position: relative;
  padding: 5rem 0;
  background: #080a14;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663472403641/UwWUddPFjf2YJfaBMsgnBu/hero-bg_50299980.jpg');
  background-size: cover;
  opacity: 0.08;
}

.collab-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem 4rem;
  margin-top: 1rem;
}

.collab-logo {
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s ease;
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.collab-logo:hover { opacity: 1; }

/* ============================================================
   VIDEOS SECTION
   ============================================================ */
#videos {
  position: relative;
  padding: 5rem 0;
  background: #060810;
  overflow: hidden;
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.video-item {
  border-radius: 3px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}

.video-item iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: 315px;
  border: none;
  border-radius: 3px;
}

.video-thumb-link {
  display: block;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  cursor: pointer;
  text-decoration: none;
}

.video-thumb-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.video-thumb-link:hover .video-thumb-img { transform: scale(1.03); }

.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background-color: rgba(255, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.video-thumb-link:hover .video-play-btn {
  background-color: rgba(255, 0, 0, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-icon {
  width: 0; height: 0;
  border-left: 20px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.video-title-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
}

/* ============================================================
   MUSIC SECTION
   ============================================================ */
#music {
  position: relative;
  padding: 5rem 0;
  background: #080a14;
  overflow: hidden;
}

.spotify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.spotify-embed { border-radius: 4px; overflow: hidden; }

.soundcloud-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
}

.soundcloud-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  position: relative;
  padding: 5rem 0;
  background: #060810;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  filter: grayscale(20%);
}

.about-bio {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  position: relative;
  padding: 5rem 0 4rem;
  background: #080a14;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.social-icon-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-icon-link:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.contact-email {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-email:hover { color: white; }

.contact-location {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; }

.form-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255, 255, 255, 0.35); }

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.form-textarea { resize: vertical; min-height: 140px; }

.submit-btn {
  background: white;
  color: #0a0d1a;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.form-success {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  padding: 1rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: none;
}

.form-success.visible { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #04060e;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   SCROLL FADE-IN
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0a0d1a; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  #site-nav { padding: 0.75rem 1rem; flex-wrap: wrap; gap: 1rem; }
  .nav-links { gap: 0.5rem; flex-wrap: wrap; }
  .nav-link { font-size: 0.65rem; letter-spacing: 0.08em; }
  .hero-content { flex-direction: column; gap: 2rem; }
  .hero-right { padding-left: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .soundcloud-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .collab-grid { justify-content: center; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
}
