/* Base Styles */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.5;
  color: var(--white);
  background-color: var(--black);
}

.site-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost {
  background: transparent;
  color: var(--gray-400);
  border: none;
}

.btn-ghost:hover {
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--gray-200);
  border: 1px solid var(--gray-800);
}

.btn-outline:hover {
  background-color: var(--gray-900);
  color: var(--white);
}

.btn-primary {
  background-color: var(--white);
  color: var(--black);
  border: none;
  padding: 1.5rem 2rem;
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: var(--gray-200);
}

.btn-submit {
  background-color: var(--black);
  color: var(--white);
  border: none;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
}

.btn-submit:hover {
  background-color: var(--gray-800);
}

/* Header */
.header {
  padding: 1.5rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.globe-icon, .waveform-icon, .waveform-icon-small, .arrow-icon {
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 0;
  margin-bottom: 6rem;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url(studioblurred.png);
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--black);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  margin-bottom: 1.5rem;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero-title-line {
  display: block;
}

.hero-subtitle {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
  color: var(--gray-300);
}

/* Services Section */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 6rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-800);
  padding: 2rem;
  transition: border-color 0.2s ease;
}

.service-card:hover {
  border-color: var(--gray-600);
}

.service-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.service-desc {
  color: var(--gray-400);
}

/* Genres Section */
.genres {
  margin-bottom: 6rem;
}

.section-title {
  margin-bottom: 3rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-title.dark {
  color: var(--black);
}

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

.genre-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6rem;
  border: 1px solid var(--gray-800);
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: all 0.2s ease;
}

.genre-item:hover {
  border-color: var(--gray-600);
  color: var(--white);
}

.genre-item a {
  text-decoration: none;
  color: inherit; /* ensures the link uses the parent .genre-item color */
}

/* About Section */
.bg-white {
  background-color: var(--white);
  color: var(--black);
  padding: 6rem 0;
}

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--gray-700);
}

.studio-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Team Section */
.team {
  margin-bottom: 2rem;
}

.team-members {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-member {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.team-member-photo {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-info {
  flex: 1;
}

.team-member-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-member-role {
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.team-member-bio {
  color: var(--gray-700);
}

/* CTA Section */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  text-align: center;
}

.cta-title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
}

.cta-text {
  max-width: 32rem;
  margin-bottom: 2rem;
  color: var(--gray-400);
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.arrow-icon {
  transition: transform 0.2s ease;
}

.contact-cta:hover .arrow-icon {
  transform: translateX(0.25rem);
}

/* Footer */
.footer {
  border-top: 1px solid var(--gray-800);
  padding: 2rem 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  border-radius: 0.5rem;
  width: 100%;
  max-width: 425px;
  color: var(--black);
  position: relative;
  overflow: hidden;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.modal-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.modal-description {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
}

.contact-form {
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

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

/* Responsive Styles */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .services {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .genre-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .about {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  
  .footer-container {
    flex-direction: row;
  }
}

@media (min-width: 640px) {
  .genre-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 639px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .team-member-photo {
    margin-bottom: 1rem;
  }
}
