@tailwind base;
@tailwind components;
@tailwind utilities;

/* Variables */
:root {
    --primary: #000000;
    --secondary: #4A5568;
}

@layer components {
  .nav-link {
    @apply text-gray-600 hover:text-black transition-colors;
  }
  
  .nav-link.active {
    @apply text-black font-semibold;
  }

  .btn {
    @apply px-6 py-2 rounded-lg font-medium;
    transition: all 0.2s ease;
  }

  .btn-primary {
    @apply bg-black text-white hover:bg-gray-800;
  }

  .btn-secondary {
    @apply bg-gray-200 text-gray-700 hover:bg-gray-300;
  }

  .service-card {
    @apply bg-white p-6 rounded-xl shadow-sm border border-gray-100;
    transition: all 0.2s ease;
  }

  .service-card:hover {
    @apply shadow-lg transform -translate-y-1;
  }

  .form-group {
    @apply mb-4;
  }

  .form-label {
    @apply block text-sm font-medium text-gray-700 mb-1;
  }

  .form-input {
    @apply w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-black focus:border-transparent;
  }

  .form-error {
    @apply text-red-500 text-sm mt-1;
  }

  #payment-element {
    @apply mt-4 p-4 border border-gray-200 rounded-lg;
  }

  .payment-option {
    @apply border border-gray-200 rounded-lg p-4 mb-4 cursor-pointer;
  }

  .payment-option.selected {
    @apply border-black bg-gray-50;
  }

  .step-container {
    @apply flex items-center justify-between mb-8;
  }

  .step {
    @apply flex items-center;
  }

  .step-number {
    @apply w-8 h-8 rounded-full flex items-center justify-center text-sm font-medium mr-2;
  }

  .step.active .step-number {
    @apply bg-black text-white;
  }

  .step:not(.active) .step-number {
    @apply bg-gray-200 text-gray-600;
  }

  .step-line {
    @apply flex-1 h-0.5 bg-gray-200;
  }

  .step.active .step-line {
    @apply bg-black;
  }

  .container {
    @apply max-w-6xl mx-auto px-4;
  }

  .section {
    @apply py-12;
  }
}

/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #F7FAFC;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Waveform animation */
@keyframes waveform {
    0%, 100% { height: 10px; }
    50% { height: 40px; }
}

.waveform {
    position: relative;
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waveform span {
    display: block;
    width: 4px;
    margin: 0 2px;
    background-color: rgba(0, 0, 0, 0.7);
    animation: waveform 1.2s infinite ease-in-out;
}

.waveform span:nth-child(2) { animation-delay: 0.1s; }
.waveform span:nth-child(3) { animation-delay: 0.2s; }
.waveform span:nth-child(4) { animation-delay: 0.3s; }
.waveform span:nth-child(5) { animation-delay: 0.4s; }
.waveform span:nth-child(6) { animation-delay: 0.5s; }
.waveform span:nth-child(7) { animation-delay: 0.6s; }
.waveform span:nth-child(8) { animation-delay: 0.7s; }

/* Audio player */
.audio-player {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.audio-player:hover .play-overlay {
    opacity: 1;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Custom checkbox */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-radius: 4px;
    outline: none;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.custom-checkbox:checked {
    background-color: #000;
}

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Hero section */
.hero-section {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.2) 100%), url('https://readdy.ai/api/search-image?query=professional%20recording%20studio%20with%20microphone%2C%20sound%20equipment%2C%20dark%20moody%20lighting%2C%20minimalist%20design%2C%20black%20and%20white%20aesthetic%2C%20high-end%20audio%20production%20environment%2C%20sound%20waves%20visualization%2C%20recording%20booth%2C%20sound%20isolation%20panels%2C%20high-quality%20microphone%20on%20stand&width=1920&height=1080&seq=1&orientation=landscape');
    background-size: cover;
    background-position: center;
}

/* Form elements */
input:not([type="checkbox"]), textarea {
    border: 1px solid #e5e7eb;
    transition: border-color 0.3s ease;
}

input:not([type="checkbox"]):focus, textarea:focus {
    border-color: #000;
    outline: none;
}

/* Video container */
.vertical-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 177.78%; /* Ratio 9:16 */
    background-color: #000;
    overflow: hidden;
}

.vertical-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.vertical-video-wrapper {
    max-width: 350px;
    margin: 0 auto;
    background-color: #000;
}

/* FAQ Styles */
.faq-content {
    display: block;
    transition: all 0.3s ease;
}

.faq-content.hidden {
    display: none;
}

.faq-toggle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-toggle:hover {
    background-color: #f8f8f8;
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        @apply px-4;
    }
    
    .service-card {
        @apply mb-4;
    }
    
    .step-text {
        @apply text-sm;
    }
} 