/* ========================================
   Hollywood Music Factory - Premium Artist Branding
   Pure HTML/CSS Website
   ======================================== */

/* CSS Variables */
:root {
  /* Colors */
  --color-bg: #0a0a0a;
  --color-bg-light: #111111;
  --color-bg-card: rgba(18, 18, 18, 0.6);
  --color-text: #f5f5f5;
  --color-text-muted: #888888;
  --color-gold: #c9a55c;
  --color-gold-light: #d4b87a;
  --color-gold-dark: #a8864a;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(201, 165, 92, 0.4);
  
  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-padding: 120px;
  --container-max: 920px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Marble Background Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/marble-dark.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.gold-text {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all var(--transition-medium);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */

.hmf-container{
  width: 100%;                 /* ottaa koko rivin leveyden */
  height:100%;
  display: flex;               /* mahdollistaa helpon keskityksen */
  justify-content: center;     /* keskittää logon vaakasuunnassa */
  align-items: center;

  margin: 0 auto;              /* varmistaa keskityksen, jos leveys muuttuu */
  overflow: hidden;            /* estää ylivuodon varmuuden vuoksi */
  padding: 0;                  /* ei ylimääräisiä välejä */

}

.hmf-big{
  width: 60%;                 /* skaalautuu containerin mukaan */
  height: 60%;                /* säilyttää mittasuhteet */
  display: block;              /* poistaa inline-kuvien ylimääräiset välit */
  align-items: center;
  margin:auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 50px;
  height: 48px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-gold);
  transition: all var(--transition-fast);

}




.logo:hover .logo-mark {
  background: var(--color-gold);
  color: var(--color-bg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
font
  font-family:
  "Yu Gothic UI Light",
  "Yu Gothic UI",
  "Hiragino Sans",
  "Hiragino Kaku Gothic ProN",
  sans-serif;

  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 10px;
  font-weight: 300;
  color: var(--color-gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 48px;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text);
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 165, 92, 0.03) 0%, transparent 70%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(10, 10, 10, 0.8) 50%, var(--color-bg) 100%);
}

.hero-content {
  text-align: center;
  
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;   /* tämä on se tärkein */

}

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.2s;
}

.badge-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.badge-text {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero-title {
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 300;
  margin-bottom: 32px;
}

.title-line {
  display: block;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.title-line:nth-child(1) {
  animation-delay: 0.4s;
}

.title-line:nth-child(2) {
  animation-delay: 0.6s;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 48px auto 45px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.8s;
}

.hero-cta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1s;
}

.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.5s;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero-accents {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.accent {
  position: absolute;
  background: linear-gradient(180deg, transparent, rgba(201, 165, 92, 0.2), transparent);
}

.accent-1 {
  width: 1px;
  height: 120px;
  top: 20%;
  left: 20%;
  animation: fadeIn 2s ease forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

.accent-2 {
  width: 1px;
  height: 80px;
  bottom: 30%;
  right: 25%;
  animation: fadeIn 2s ease forwards;
  animation-delay: 1.4s;
  opacity: 0;
}

.accent-3 {
  width: 100px;
  height: 1px;
  top: 35%;
  right: 15%;
  background: linear-gradient(90deg, transparent, rgba(201, 165, 92, 0.15), transparent);
  animation: fadeIn 2s ease forwards;
  animation-delay: 1.6s;
  opacity: 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--color-gold);
  background: transparent;
  color: var(--color-gold);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.btn svg {
  transition: transform var(--transition-fast);
}

.btn-primary:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

.btn-primary:hover svg {
  transform: translate(4px, -4px);
}

.btn-outline {
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  margin-bottom: 24px;
}

.section-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 auto 24px;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-light) 50%, var(--color-bg) 100%);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 48px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}

.service-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.service-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-corner.tl {
  top: 0;
  left: 0;
  border-top: 1px solid var(--color-gold);
  border-left: 1px solid var(--color-gold);
}

.service-corner.br {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid var(--color-gold);
  border-right: 1px solid var(--color-gold);
}

.service-card:hover .service-corner {
  opacity: 1;
}

.service-icon {
  margin-bottom: 24px;
  color: var(--color-gold);
  opacity: 0.8;
}

.service-title {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--color-text);
}

.service-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  padding: var(--section-padding) 0;
  position: relative;
}

.about-grid {
  display: flex;
  justify-content: center;
  max-width:700px
  margin:auto;
  grid-template-columns: 1fr 1fr;
  
  align-items: center;
}

.about-content .section-label,
.about-content .section-title {
  text-align: center;
}

.about-text {
  margin-top: 32px;
}

.about-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-text p:first-child::first-letter {
  font-family: var(--font-heading);
  font-size: 56px;
  float: left;
  line-height: 1;
  padding-right: 12px;
  color: var(--color-gold);
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.signature-line {
  width: 48px;
  height: 1px;
  background: var(--color-gold);
}

.about-signature span {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-card {
  position: relative;
  padding: 40px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition-medium);
}

.stat-card:hover {
  border-color: var(--color-border-hover);
}

.stat-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-top: 1px solid var(--color-gold);
  border-right: 1px solid var(--color-gold);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.stat-card:hover .stat-corner {
  opacity: 1;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 300;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-plus {
  font-size: 32px;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-light) 50%, var(--color-bg) 100%);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.form-group label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: 1px solid var(--color-border);
  padding: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(136, 136, 136, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-group textarea {
  resize: none;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-fast);
}

.info-card:hover {
  border-color: var(--color-border-hover);
}

.info-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
}

.info-card:hover .info-icon {
  border-color: var(--color-gold);
}

.info-content h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-text);
}

.info-content p {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.social-link {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--color-border);
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-divider {
  color: var(--color-border);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 1;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.5;
    transform: scaleY(0.8);
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stagger children */
.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.6s; }

.about-stats .stat-card:nth-child(1) { transition-delay: 0.2s; }
.about-stats .stat-card:nth-child(2) { transition-delay: 0.3s; }
.about-stats .stat-card:nth-child(3) { transition-delay: 0.4s; }
.about-stats .stat-card:nth-child(4) { transition-delay: 0.5s; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    gap: 60px;
  }
  
  .contact-grid {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right var(--transition-medium);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 18px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 32px 24px;
  }
  
  .service-card {
    padding: 32px 24px;
  }
  
  .btn {
    padding: 14px 24px;
    width: 100%;
    justify-content: center;
  }
}
