/* MK Widgets — Base styles, shared variables, and utility classes. */

:root {
    --mk-black: #000;
    --mk-dark: #1a1a1a;
    --mk-dark-2: #111;
    --mk-gray: #555;
    --mk-light-gray: #999;
    --mk-border: #e0e0e0;
    --mk-white: #fff;
    --mk-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

/* Box-sizing reset scoped to our widgets. */
.mk-section,
.mk-section *,
.mk-section *::before,
.mk-section *::after {
    box-sizing: border-box;
}

.mk-section {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

.mk-section h1,
.mk-section h2,
.mk-section h3,
.mk-section h4 {
    font-family: 'Playfair Display', serif;
    margin-top: 0;
}

.mk-section p {
    margin-top: 0;
}

.mk-section img {
    max-width: 100%;
    height: auto;
}

/* Shared button styles. */
.mk-btn {
    padding: 12px 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.mk-btn--primary {
    background: var(--mk-dark);
    color: var(--mk-white);
    border: 2px solid var(--mk-dark);
}

.mk-btn--primary:hover {
    background: transparent;
    color: var(--mk-dark);
}

.mk-btn--secondary {
    background: transparent;
    color: var(--mk-dark);
    border: 2px solid var(--mk-dark);
}

.mk-btn--secondary:hover {
    background: var(--mk-dark);
    color: var(--mk-white);
}

/* Utility classes. */
.mk-hidden {
    display: none;
}

/* Scroll animation. */
.mk-animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* In Elementor editor, always show animated elements. */
.elementor-editor-active .mk-animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}
