/* Hicks Piano & Organ Service - Custom Styles */

:root {
  --piano-ivory: #FEFDF8;
  --piano-ebony: #1C1C1C;
  --piano-gold: #D4AF37;
  --piano-mahogany: #7B3F2A;
  --piano-bronze: #CD7F32;
  --piano-cream: #F5F5DC;
  --piano-walnut: #5D4037;
  
  --harmony-primary: #8B4513;
  --harmony-secondary: #DAA520;
  --harmony-accent: #CD853F;
  --harmony-neutral: #F5F3F0;
  --harmony-dark: #2F1B14;
}

/* Cookie Consent Banner - Consistent across all pages */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--harmony-dark), var(--piano-mahogany));
  color: var(--piano-ivory);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 1000;
  max-width: 500px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent-banner h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--piano-gold);
}

.cookie-consent-banner p {
  margin: 0 0 16px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--piano-cream);
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-consent-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-consent-buttons .accept-all {
  background: var(--piano-gold);
  color: var(--harmony-dark);
}

.cookie-consent-buttons .accept-all:hover {
  background: var(--harmony-secondary);
  transform: translateY(-1px);
}

.cookie-consent-buttons .decline-all {
  background: transparent;
  color: var(--piano-cream);
  border: 1px solid var(--piano-cream);
}

.cookie-consent-buttons .decline-all:hover {
  background: var(--piano-cream);
  color: var(--harmony-dark);
}

.cookie-details {
  margin-top: 12px;
  font-size: 12px;
}

.cookie-details a {
  color: var(--piano-gold);
  text-decoration: none;
}

.cookie-details a:hover {
  text-decoration: underline;
}

/* Responsive Cookie Banner */
@media (max-width: 640px) {
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    padding: 16px;
  }
  
  .cookie-consent-buttons {
    flex-direction: column;
  }
  
  .cookie-consent-buttons button {
    width: 100%;
    justify-content: center;
  }
}

/* Form Styles */
.contact-form {
  background: var(--piano-ivory);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(139, 69, 19, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--harmony-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--piano-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.error-message {
  color: #ef4444;
  font-size: 14px;
  margin-top: 0.5rem;
  display: none;
}

.submit-btn {
  background: linear-gradient(135deg, var(--piano-gold), var(--harmony-secondary));
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Success Message */
.success-message {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  display: none;
}

.success-message h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
}

.success-message p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

/* Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(139, 69, 19, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(139, 69, 19, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-item-content {
  padding: 1.5rem;
}

.gallery-item h3 {
  margin: 0 0 0.5rem 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--harmony-dark);
}

.gallery-item p {
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
}

.process-step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--piano-gold), var(--harmony-secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 1rem auto;
}

.process-step h3 {
  margin: 0 0 1rem 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--harmony-dark);
}

/* FAQ Accordion */
.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(139, 69, 19, 0.1);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem;
  font-size: 18px;
  font-weight: 600;
  color: var(--harmony-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--harmony-neutral);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Blog Article Expansion */
.blog-preview {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(139, 69, 19, 0.1);
}

.blog-preview h3 {
  margin: 0 0 1rem 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--harmony-dark);
}

.blog-preview .meta {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-full-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.blog-full-content.expanded {
  max-height: 2000px;
}

.read-more-btn {
  background: linear-gradient(135deg, var(--harmony-primary), var(--piano-mahogany));
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.read-more-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .blog-preview {
    padding: 1.5rem;
  }
}