/**
 * A1 Party Hire Core - Frontend Styles
 */

/* ========================
   Shortcode: Categories
   ======================== */
.a1-sc-categories {
    display: grid;
    gap: 20px;
}

.a1-sc-categories-cols-4 { grid-template-columns: repeat(4, 1fr); }
.a1-sc-categories-cols-3 { grid-template-columns: repeat(3, 1fr); }
.a1-sc-categories-cols-2 { grid-template-columns: repeat(2, 1fr); }

.a1-sc-category-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #111827;
    transition: all 0.25s ease;
}

.a1-sc-category-card:hover {
    border-color: #D4AF37;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    color: #111827;
}

.a1-sc-category-image {
    aspect-ratio: 3/2;
    background-size: cover;
    background-position: center;
}

.a1-sc-category-placeholder {
    aspect-ratio: 3/2;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.a1-sc-category-placeholder span {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #D4AF37;
    font-weight: 700;
}

.a1-sc-category-name {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 16px 4px;
    margin: 0;
}

.a1-sc-category-count {
    font-size: 0.8125rem;
    color: #6B7280;
    padding: 0 16px 16px;
}

/* ========================
   Shortcode: Products
   ======================== */
.a1-sc-products {
    display: grid;
    gap: 24px;
}

.a1-sc-products-cols-3 { grid-template-columns: repeat(3, 1fr); }
.a1-sc-products-cols-4 { grid-template-columns: repeat(4, 1fr); }
.a1-sc-products-cols-2 { grid-template-columns: repeat(2, 1fr); }

.a1-sc-product-card {
    background: #F8F3E7;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
}

.a1-sc-product-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.a1-sc-product-image {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #1a1a1a;
}

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

.a1-sc-product-card:hover .a1-sc-product-image img {
    transform: scale(1.05);
}

.a1-sc-product-content {
    padding: 20px;
}

.a1-sc-product-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.a1-sc-product-title a {
    color: #111827;
    text-decoration: none;
}

.a1-sc-product-title a:hover {
    color: #D4AF37;
}

.a1-sc-product-price {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

/* ========================
   Shortcode: Packages
   ======================== */
.a1-sc-packages {
    display: grid;
    gap: 20px;
}

.a1-sc-packages-cols-2 { grid-template-columns: repeat(2, 1fr); }
.a1-sc-packages-cols-3 { grid-template-columns: repeat(3, 1fr); }

.a1-sc-package-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
}

.a1-sc-package-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.a1-sc-package-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #D4AF37;
    display: block;
    margin-bottom: 8px;
}

.a1-sc-package-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #111827;
}

.a1-sc-package-desc {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ========================
   Shortcode: How It Works
   ======================== */
.a1-sc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.a1-sc-step {
    text-align: center;
}

.a1-sc-step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%);
    color: #111;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.a1-sc-step-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #111827;
}

.a1-sc-step-desc {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* ========================
   Shortcode: Quote CTA
   ======================== */
.a1-sc-quote-cta {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%);
    border-radius: 12px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.a1-sc-quote-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #111;
    margin: 0 0 8px;
}

.a1-sc-quote-cta p {
    color: rgba(0,0,0,0.7);
    margin: 0;
    font-size: 1rem;
}

/* ========================
   Shortcode: Quote Form
   ======================== */
.a1-sc-quote-form-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.a1-sc-quote-success {
    text-align: center;
    padding: 48px 24px;
    background: #ecfdf5;
    border-radius: 12px;
    border: 1px solid #10B981;
}

.a1-sc-quote-success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #065f46;
    margin: 16px 0 8px;
}

.a1-sc-quote-success p {
    color: #047857;
    margin: 0;
}

.a1-sc-quote-error {
    background: #fef2f2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

.a1-sc-quote-form .a1-sc-form-row {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.a1-sc-form-row-2 {
    grid-template-columns: 1fr 1fr;
}

.a1-sc-form-field {
    margin-bottom: 16px;
}

.a1-sc-form-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

/* ========================
   Rental Fields on Product
   ======================== */
.a1-rental-fields-wrap {
    background: #F8F3E7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
}

.a1-rental-fields-wrap h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111827;
    margin: 0 0 16px;
}

.a1-rental-field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.a1-rental-field {
    margin-bottom: 12px;
}

.a1-rental-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: #374151;
}

.a1-rental-field input,
.a1-rental-field select,
.a1-rental-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9375rem;
    background: #fff;
    transition: all 0.2s ease;
}

.a1-rental-field input:focus,
.a1-rental-field select:focus,
.a1-rental-field textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

/* ========================
   Responsive
   ======================== */
@media (max-width: 768px) {
    .a1-sc-categories-cols-4,
    .a1-sc-categories-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .a1-sc-products-cols-3,
    .a1-sc-products-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .a1-sc-packages-cols-2,
    .a1-sc-packages-cols-3 {
        grid-template-columns: 1fr;
    }

    .a1-sc-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .a1-sc-quote-cta {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .a1-sc-form-row-2 {
        grid-template-columns: 1fr;
    }

    .a1-rental-field-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .a1-sc-categories-cols-4,
    .a1-sc-categories-cols-3,
    .a1-sc-categories-cols-2 {
        grid-template-columns: 1fr;
    }

    .a1-sc-products-cols-3,
    .a1-sc-products-cols-4,
    .a1-sc-products-cols-2 {
        grid-template-columns: 1fr;
    }
}
