/*!
Theme Name: MCA Main Theme
Theme URI: https://revostudio.co.uk/
Author: Revo Studio
Author URI: https://revostudio.co.uk/
Description: Bespoke WordPress theme for MCA powered by Vite & Tailwind.
Version: 1.0.0
Tested up to: 6.4
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mca-main

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* WordPress Core Styles */
.wp-block-group {
  margin-bottom: 1.5rem;
}

.wp-block-columns {
  margin-bottom: 1.5rem;
}

.wp-block-button__link {
  @apply inline-flex items-center px-4 py-2 bg-brand-600 text-white font-medium rounded-lg hover:bg-brand-700 transition-colors;
}

.wp-block-quote {
  @apply border-l-4 border-brand-500 pl-6 italic text-lg;
}

.wp-block-pullquote {
  @apply text-xl font-medium text-center py-8 px-4 border-t border-b border-gray-300;
}

.wp-block-image {
  @apply mb-6;
}

.wp-block-image img {
  @apply rounded-lg;
}

.wp-block-gallery {
  @apply grid gap-4 mb-6;
}

.wp-block-gallery.columns-2 {
  @apply grid-cols-2;
}

.wp-block-gallery.columns-3 {
  @apply grid-cols-3;
}

.wp-block-gallery.columns-4 {
  @apply grid-cols-4;
}

.wp-block-embed {
  @apply mb-6;
}

.wp-block-table {
  @apply mb-6;
}

.wp-block-table table {
  @apply w-full border-collapse;
}

.wp-block-table td,
.wp-block-table th {
  @apply border border-gray-300 px-4 py-2;
}

.wp-block-table th {
  @apply bg-gray-50 font-semibold;
}

/* WordPress Editor Styles */
.block-editor-page {
  @apply font-sans;
}

/* Form Styles for Gravity Forms */
.gform_wrapper {
  @apply mb-6;
}

.gform_wrapper .gfield {
  @apply mb-4;
}

.gform_wrapper .gfield_label {
  @apply block font-medium text-gray-700 mb-2;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="password"],
.gform_wrapper textarea,
.gform_wrapper select {
  @apply w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-brand-500 focus:border-brand-500;
}

.gform_wrapper .gform_button {
  @apply bg-brand-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-brand-700 transition-colors;
}

/* Utility Classes */
.container {
  @apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8;
}


.text-balance {
  text-wrap: balance;
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
  }
}

