/*
Theme Name: Siap Compro
Theme URI: https://siapngeweb.com/compro
Author: Siap Digital Indonesia
Author URI: https://siapngeweb.com
Description: Modern and dynamic company profile theme for WordPress.
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: siapcompro
*/

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 100000;
    padding: 12px 24px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Focus Visible (Accessibility) */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Global Layout & Typography */
body {
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.site-main {
    padding: 120px 0 60px;
}

/* Remove gap on Front Page for Hero */
.home .site-main {
    padding-top: 0;
}

/* On mobile, admin bar is not fixed, but header is. Offset as needed. */
@media screen and (max-width: 600px) {
    .site-main {
        padding-top: 100px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
}

.entry-title {
    font-size: var(--h1-font-size, 42px);
    margin-bottom: 20px;
}

.entry-content {
    font-size: var(--body-font-size, 18px);
    color: var(--text-color);
}

.site-footer {
    text-align: center;
}

/* Helper Classes */
.section-padding {
    padding: 120px 0;
}

.section-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.section-subtitle {
    font-size: var(--content-size);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-end {
    align-items: flex-end;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 30px;
    background: var(--primary-color);
    color: var(--cta-text-color) !important;
    border: 1px solid transparent;
    border-radius: 100px;
    font-size: var(--button-size);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px color-mix(in srgb, var(--primary-color) 30%, transparent);
    filter: brightness(1.1);
}

.btn-main.large {
    padding: 18px 45px;
    font-size: var(--secondary-size);
    font-weight: 800;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    border-radius: 100px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.05);
}

.magnetic {
    display: inline-block;
}

.reveal-text {
    overflow: hidden;
}

.reveal-text span {
    display: block;
}