/**
 * Starter Widgets Pack - Frontend Styles
 */

/* ===== Elementor Boxed Section Override ===== */
/* Fixed max-width at breakpoints (like Bootstrap/Tailwind) */

/* Mobile first - default (< 480px) */
.elementor-section.swp-container-control > .elementor-column-gap-extended,
.elementor-section.swp-container-control > .elementor-container {
    width: 100%;
    max-width: var(--swp-max-width-mobile, 100%) !important;
}

/* Mobile Landscape (≥ 480px) */
@media (min-width: 480px) {
    .elementor-section.swp-container-control > .elementor-column-gap-extended,
    .elementor-section.swp-container-control > .elementor-container {
        max-width: var(--swp-max-width-mobile-landscape, 100%) !important;
    }
}

/* Tablet (≥ 768px) */
@media (min-width: 768px) {
    .elementor-section.swp-container-control > .elementor-column-gap-extended,
    .elementor-section.swp-container-control > .elementor-container {
        max-width: var(--swp-max-width-tablet, 100%) !important;
    }
}

/* Desktop (≥ 1024px) */
@media (min-width: 1024px) {
    .elementor-section.swp-container-control > .elementor-column-gap-extended,
    .elementor-section.swp-container-control > .elementor-container {
        max-width: var(--swp-max-width-desktop, 100%) !important;
    }
}

/* ===== Animated Part - Base Styles ===== */
.animated__part {
    --ap-brand-red: rgb(191, 45, 48);
    --ap-bg-white: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ap-brand-red);
    box-sizing: border-box;
}

.animated__part *,
.animated__part *::before,
.animated__part *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Cursor Follower ===== */
.animated__part-cursor {
    width: 20px;
    height: 20px;
    background: rgb(191, 45, 48);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 999;
    opacity: 0.2;
    transition: transform 0.1s ease-out;
    display: none;
}

@media (min-width: 768px) {
    .animated__part-cursor {
        display: block;
    }
}

/* ===== Hero Section ===== */
.animated__part-hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    padding: 2rem;
}

.animated__part-hero-content {
    text-align: left;
    width: 100%;
}

/* ===== Subtitle ===== */
.animated__part-subtitle {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    margin-bottom: 1rem;
    opacity: 0.6;
}

/* ===== Title ===== */
.animated__part-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .animated__part-title {
        font-size: 6rem;
    }
}

.animated__part-title-light {
    font-weight: 400;
}

/* ===== Line Mask & Reveal Text ===== */
.animated__part-line-mask {
    overflow: hidden;
    display: block;
}

.animated__part-reveal-text {
    visibility: hidden;
    display: inline-block;
}
