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

/* Body Styling */
body {
  font-family: 'Arial', sans-serif;
  background-color: #000000;
  color: #e1cdb7;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'AR Julian', 'Arial', sans-serif;
  color: #ffffff;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #e1cdb7;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #e00000;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
}

.logo-link img {
  width: 48px;
  height: auto;
  border-radius: 50%;
}

/* Navigation */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu li a {
  color: #e1cdb7;
  text-decoration: none;
  font-size: 18px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #e00000;
}

.hire-button {
  padding: 8px 16px;
  background-color: #e00000;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
}

.hire-button:hover {
  background-color: #ffffff;
  color: #e00000;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #e1cdb7;
  font-size: 24px;
  cursor: pointer;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #e1cdb7;
}

.social-icons a:hover {
  color: #e00000;
}

/* Main Content */
main {
  padding-top: 80px; /* To account for fixed header */
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #000000;
  padding: 0 20px;
}

.hero-logo {
  width: 50%;
  max-width: 850px;
  height: auto;
  margin-bottom: 2rem;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #e00000;
  color: #ffffff;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #ffffff;
  color: #e00000;
}

/* Sections */
.section {
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #e00000;
  margin: 10px auto;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Services Section */
.services {
  background-color: #0a0a0a;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card i {
  font-size: 3rem;
  color: #e00000;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-features {
  list-style: none;
  margin: 20px 0;
  text-align: left;
}

.service-features li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.service-features li:before {
  content: '•';
  color: #e00000;
  position: absolute;
  left: 0;
}

.service-price {
  margin-top: 20px;
  font-weight: bold;
}

/* Service Details - New Addition */
.service-details {
  margin-top: 20px;
  text-align: left;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.service-details p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.service-details p strong {
  color: #ffffff;
}

/* Service Process Section - New Addition */
.service-process {
  background-color: #0a0a0a;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 20px;
  background-color: #1a1a1a;
  border-radius: 8px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: #e00000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 15px;
}

.process-step h3 {
  margin-bottom: 10px;
}

/* FAQ Section - New Addition */
.faq-section {
  background-color: #000000;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  color: #e00000;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Bio Section */
.bio-section {
  background-color: #0a0a0a;
}

.bio-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.bio-image {
  flex: 1;
  min-width: 300px;
}

.bio-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.bio-text {
  flex: 2;
  min-width: 300px;
}

/* Experience Section */
.experience-section {
  background-color: #0a0a0a;
  padding: 80px 20px;
}

.experience-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.experience-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 30px;
  transition: transform 0.3s ease;
}

.experience-item:hover {
  transform: translateY(-5px);
}

.experience-item h3 {
  color: #e00000;
  margin-bottom: 20px;
}

.experience-list {
  list-style: none;
  margin: 20px 0;
}

.experience-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.experience-list li:before {
  content: '•';
  color: #e00000;
  position: absolute;
  left: 0;
}

/* Skills Section */
.skills-section {
  background-color: #000000;
  padding: 80px 20px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.skill-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-10px);
}

.skill-card i {
  font-size: 3rem;
  color: #e00000;
  margin-bottom: 20px;
}

.skill-card h3 {
  margin-bottom: 15px;
}

/* Philosophy Section */
.philosophy-section {
  background-color: #0a0a0a;
  padding: 80px 20px;
}

.philosophy-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.philosophy-image {
  flex: 1;
  min-width: 300px;
}

.philosophy-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.philosophy-text {
  flex: 2;
  min-width: 300px;
}

.philosophy-text .cta-button {
  margin-top: 20px;
}

/* Portfolio Section */
.portfolio-header {
  background-color: #000000;
  padding: 80px 20px 40px;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid #e1cdb7;
  color: #e1cdb7;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #e00000;
  border-color: #e00000;
  color: #ffffff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #1a1a1a;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-link {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background-color: #e00000;
  color: #ffffff;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.portfolio-link:hover {
  background-color: #ffffff;
  color: #e00000;
}

.portfolio-details {
  padding: 20px;
}

.portfolio-client {
  color: #e00000;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Music Production Section */
.production-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.production-image {
  flex: 1;
  min-width: 300px;
}

.production-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.production-content {
  flex: 2;
  min-width: 300px;
}

.production-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-item {
  text-align: center;
}

.service-item i {
  font-size: 2.5rem;
  color: #e00000;
  margin-bottom: 15px;
}

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Audio Samples */
.audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.audio-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 20px;
}

.audio-item h3 {
  margin-bottom: 15px;
}

.audio-item audio {
  width: 100%;
  margin-bottom: 15px;
}

/* Call to Action Section */
.cta-section {
  background-color: #0a0a0a;
  text-align: center;
  padding: 80px 20px;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Booking Form */
.booking-section {
  background-color: #0a0a0a;
}

.booking-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  min-width: 250px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #222;
  color: #e1cdb7;
  font-family: 'Arial', sans-serif;
}

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

.form-checkbox {
  display: flex;
  align-items: center;
}

.form-checkbox input {
  width: auto;
  margin-right: 10px;
}

.form-checkbox label {
  margin-bottom: 0;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit button {
  border: none;
  cursor: pointer;
}

/* Required field indicator */
.required {
  color: #e00000;
}

/* Error message styling */
.error-message {
  color: #e00000;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-group.has-error .error-message {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e00000;
}

/* Payment Options */
.payment-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #333;
}

.payment-section h3 {
  margin-bottom: 15px;
}

.payment-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 25px 0;
}

.payment-option {
  text-align: center;
  transition: transform 0.3s ease;
}

.payment-option:hover {
  transform: translateY(-5px);
}

.payment-option a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #e1cdb7;
  text-decoration: none;
}

.payment-option img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 10px;
}

.payment-option span {
  font-weight: bold;
}

/* Success Message */
.success-message {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(0, 128, 0, 0.1);
  border: 1px solid #00aa00;
  color: #00ff00;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.success-message h3 {
  color: #00ff00;
  margin-bottom: 15px;
}

.success-message p {
  margin-bottom: 15px;
}

.success-message a {
  color: #00ff00;
  text-decoration: underline;
}

.success-message a:hover {
  color: #e00000;
}

/* Footer */
footer {
  background-color: #0a0a0a;
  color: #e1cdb7;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  min-width: 300px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  /* Header */
  header {
    flex-direction: column;
    padding: 15px 20px;
  }
  
  .logo-link {
    margin-bottom: 15px;
  }
  
  .nav-menu {
    margin-bottom: 15px;
  }
  
  /* Mobile Navigation */
  .mobile-nav-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .nav-menu {
    display: none;
    width: 100%;
    text-align: center;
  }
  
  .nav-menu.active {
    display: flex;
    flex-direction: column;
  }
  
  /* Hero Section */
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* Bio Content */
  .bio-content {
    flex-direction: column;
  }
  
  /* Experience Content */
  .experience-content {
    grid-template-columns: 1fr;
  }
  
  /* Philosophy Content */
  .philosophy-content {
    flex-direction: column;
  }
  
  /* Production Showcase */
  .production-showcase {
    flex-direction: column;
  }
  
  /* Process Steps */
  .process-steps {
    flex-direction: column;
  }
  
  /* Form Row */
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  /* Payment Options */
  .payment-options {
    gap: 15px;
  }
  
  .payment-option img {
    width: 60px;
    height: 60px;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  /* Header */
  .nav-menu {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  
  /* Hero Section */
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-logo {
    width: 70%;
  }
  
  /* Portfolio Grid */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  /* Audio Grid */
  .audio-grid {
    grid-template-columns: 1fr;
  }
  
  /* Skills Grid */
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  /* Production Services */
  .production-services {
    grid-template-columns: 1fr;
  }
  
  /* Studio Gallery */
  .studio-gallery {
    grid-template-columns: 1fr;
  }
  
  /* Payment Options */
  .payment-options {
    flex-direction: column;
    align-items: center;
  }
}

/* Error and Success States */
.error {
  border-color: #e00000 !important;
}

/* Active Navigation Item */
.nav-menu a.active {
  color: #e00000;
  font-weight: bold;
}

/* Text Alignment Utilities */
.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

/* Portfolio Filter Animation */
.filter-btn {
  position: relative;
  overflow: hidden;
}

.filter-btn:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #e00000;
  transition: width 0.3s ease;
}

.filter-btn:hover:after,
.filter-btn.active:after {
  width: 100%;
}

/* Animation for Portfolio Items */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-item {
  animation: fadeIn 0.5s ease forwards;
}

/* Accessibility Improvements */
.portfolio-link:focus,
.cta-button:focus,
.filter-btn:focus {
  outline: 2px solid #e00000;
  outline-offset: 2px;
}

audio:focus {
  outline: 2px solid #e00000;
}

/* Form Focus States */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e00000;
  box-shadow: 0 0 0 2px rgba(224, 0, 0, 0.2);
}

/* Form Validation Animation */
@keyframes shake {
  0%, 100% {transform: translateX(0);}
  10%, 30%, 50%, 70%, 90% {transform: translateX(-5px);}
  20%, 40%, 60%, 80% {transform: translateX(5px);}
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  animation: shake 0.5s ease;
}

/* Style optgroup labels in service package dropdown */
select optgroup {
  color: #e00000;
  font-weight: bold;
  font-size: 1.05rem;
}

/* ===== Booking UI: Custom Select + Readonly Field Colors (match form inputs) ===== */
/* Use the same BG/FG colors as inputs/textarea in the booking section */
.booking-section {
  --field-bg: #222;       /* matches .form-group input/textarea background */
  --field-fg: #e1cdb7;    /* matches input text color */
  --field-border: #333;   /* matches input border */
  --field-hover: #2a2a2a; /* subtle hover within dark theme */
}

/* Ensure any custom select inside booking uses the field colors (override inline) */
.booking-section .custom-select__btn {
  background: var(--field-bg) !important;
  color: var(--field-fg) !important;
  border: 1px solid var(--field-border) !important;
}
.booking-section .custom-select__label { color: inherit; }
.booking-section .custom-select__menu {
  background: var(--field-bg) !important;
  color: var(--field-fg) !important;
  border: 1px solid var(--field-border) !important;
}
.booking-section .custom-select__option {
  color: var(--field-fg) !important;   /* keep non‑red text color when selected */
  background: transparent;             /* no white flash */
}
.booking-section .custom-select__option:hover,
.booking-section .custom-select__option[aria-selected="true"] {
  background: var(--field-hover) !important;
}
.booking-section .custom-select__group-label {
  color: #e00000;        /* theme red for section headers */
  font-weight: 700;
  letter-spacing: .4px;
}

/* Readonly fields should visually match inputs */
.booking-section input[readonly] {
  background-color: var(--field-bg);
  color: var(--field-fg);
  border: 1px solid var(--field-border);
  cursor: default;
  opacity: .95;
}
/* Force Free Revisions field to match form field background/colors */
.booking-section #free-rev {
  background-color: var(--field-bg) !important;
  color: var(--field-fg) !important;
  border: 1px solid var(--field-border) !important;
}
/* Remove dropdown caret from Free Revisions field */
.booking-section #free-rev {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: none !important; /* some themes add a chevron via background-image */
}
.booking-section #free-rev::-ms-expand { display: none; } /* IE/Edge legacy */
/* Center booking action buttons */
/* Center booking action buttons */
.button-container {
  display: flex;
  justify-content: center !important;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
  width: 100%;
  text-align: center;
}
.button-container button,
.button-container input[type="submit"],
.button-container .cta-button {
  display: inline-block;
  min-width: 170px;
}
/* If inside any flex row, force full width */
.form-row > .button-container { flex: 1 1 100%; }

/* ===== Availability Readout Colors (Booking) ===== */
/* Ensure the hint line has space and smooth color change */
#availability-hint {
  display: block;
  min-height: 1.25em; /* reserve space so layout doesn't jump */
  transition: color 60ms linear;
}
#availability-hint { will-change: color; }

/* Green when available (wide open / one slot left) */
#availability-hint.avail-ok,
.booking-section #availability-hint.avail-ok {
  color: #0b7d4c;
  font-weight: 600;
}

/* Orange when available but rush fee applies */
#availability-hint.avail-warn,
.booking-section #availability-hint.avail-warn {
  color: #ff7a00;
  font-weight: 600;
}

/* Red when blacked out or fully booked, or on errors */
#availability-hint.avail-bad,
.booking-section #availability-hint.avail-bad {
  color: #e00000;
  font-weight: 600;
}