/*
Theme Name: Bali Warm Earth
Template: twentytwentyfive
Description: A restrained, credible Warm Earth block theme for a Bali retreat and training company.
Version: 1.0.1
*/

/* Utilities for photo placeholders */
.photo-placeholder {
    background: linear-gradient(135deg, var(--wp--preset--color--sand), var(--wp--preset--color--terracotta));
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: var(--wp--preset--color--cream);
    font-family: var(--wp--preset--font-family--body), sans-serif;
    font-size: 14px;
    font-variant: small-caps;
    letter-spacing: 1px;
    border-radius: 4px;
    width: 100%;
}

.photo-placeholder.hero-aspect {
    min-height: 320px;
}

/* Mobile responsive stacking for columns */
@media (max-width: 699px) {
    .wp-block-columns {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }
    
    .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 2rem;
    }
    
    .wp-block-column:last-child {
        margin-bottom: 0;
    }
}

/* Sticky column for course detail page */
@media (min-width: 700px) {
    .is-sticky-column {
        position: sticky;
        top: 2rem;
        align-self: start;
    }
}

/* Custom Enquiry Form Styles */
.custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 600px;
}

.custom-form label {
    font-weight: 500;
    color: var(--wp--preset--color--deep-green);
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--wp--preset--font-family--body);
}

.custom-form input,
.custom-form select,
.custom-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--wp--preset--color--deep-green);
    border-radius: 2px;
    background: var(--wp--preset--color--cream);
    font-family: var(--wp--preset--font-family--body);
    color: var(--wp--preset--color--charcoal);
}

.custom-form button {
    background: var(--wp--preset--color--terracotta);
    color: var(--wp--preset--color--cream);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-family: var(--wp--preset--font-family--body);
    font-weight: 500;
    align-self: flex-start;
    text-decoration: none;
}

.custom-form button:hover {
    opacity: 0.9;
}
