/*
Theme Name: BuyLate PayLess
Theme URI: https://machimarketing.com
Author: Machi Marketing Solutions
Author URI: https://machimarketing.com
Description: A high-energy, premium block theme built for event promotion.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buylate-payless
Tags: full-site-editing, dark-theme, entertainment
*/

/* Sticky Header */
.buylate-payless-header.is-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.95);
}
.buylate-payless-header.is-sticky.scrolled {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Accessibility - Skip Link */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #000;
    clip: auto !important;
    clip-path: none;
    color: #fff;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Scroll Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Hovers */
.wp-block-button__link {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}
.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

/* Image Interactivity */
.event-image-hover img, .wp-block-image img {
    transition: transform 0.5s ease;
}
.event-image-hover:hover img, .wp-block-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design - Tablet (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .buylate-payless-header {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .wp-block-post-template.is-layout-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Responsive Design - Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    .buylate-payless-header.is-sticky {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .buylate-payless-header.is-sticky.scrolled {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .wp-block-columns {
        flex-direction: column !important;
    }
    .wp-block-column {
        width: 100% !important;
        margin-bottom: 2rem;
    }
    .wp-block-column:last-child {
        margin-bottom: 0;
    }
    .wp-block-post-template.is-layout-grid {
        grid-template-columns: 1fr !important;
    }
    .reveal-up {
        transform: translateY(20px);
    }
}