/*
Theme Name: Hai Ketum
Theme URI: https://haiketum.com
Description: Minimal plugin-friendly theme for Hey Owner plugin
Version: 2.0.0
Author: Ibni Yantoni
Text Domain: hai-ketum
*/

/* ========================================
   RESET & BASE - Force remove all gaps
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin-top: 0 !important;
    padding: 0 !important;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

/* Force remove WordPress admin bar */
body.admin-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}



#wpadminbar {
    display: none !important;
}

/* Remove all possible container margins */
.site-content,
main,
.main,
#main,
#content,
.content {

    padding: 0 !important;
}

/* Force all direct children of body to have no top margin */
body > * {
    margin-top: 0 !important;
}



/* Page Transition Overlay - Solid 3sec */
#page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4e73df;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-transition-overlay.show {
    opacity: 1;
    visibility: visible;
}

#page-transition-overlay::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Smooth scrolling for all links */
a {
    transition: all 0.3s ease;
}

/* Plugin-friendly: Minimal interference */
.site-content {
    min-height: 80vh;
}
