/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com
Description: GreenHaus Development - Custom Landing Page Child Theme
Author: Djakovic Creative Studio
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

html {
    scroll-behavior: smooth;
}

/* Dark background for canvas pages */
body.elementor-page {
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
}

/* ============================================
   GreenHaus Widget Styles
   Scoped to .greenhaus-page
   ============================================ */

.greenhaus-page {
    background-color: #050505;
    color: #ffffff;
    font-family: "Inter", sans-serif;
}

.greenhaus-page ::-webkit-scrollbar { width: 8px; }
.greenhaus-page ::-webkit-scrollbar-track { background: #050505; }
.greenhaus-page ::-webkit-scrollbar-thumb { background: #1f1f1f; border-radius: 4px; }
.greenhaus-page ::-webkit-scrollbar-thumb:hover { background: #333; }

.greenhaus-page mux-player {
    --controls: none;
    --media-object-fit: cover;
    width: 100%;
    height: 100%;
}

.greenhaus-page .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0.8) 0%, rgba(5,5,5,0.2) 40%, rgba(5,5,5,0.8) 100%);
    pointer-events: none;
}

.greenhaus-page .text-giant {
    font-size: clamp(2.5rem, 8vw, 110px);
    line-height: 0.85;
    letter-spacing: -0.04em;
    font-weight: 900;
    text-transform: uppercase;
}

.greenhaus-page .nav-link {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.greenhaus-page .glass-panel {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.greenhaus-page input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 9999px;
    outline: none;
    background: #1f1f1f;
}

.greenhaus-page input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #10B981;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.greenhaus-page input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

/* =====================================================
   ELEMENTOR OVERRIDE RESETS
   Sprečava Elementor/WordPress magenta, border-radius
   i link boje da krvare u GreenHaus widgete
   ===================================================== */

/* 1. Ukloni focus outline/glow (izvor magenta bordera) */
.greenhaus-page *:focus,
.greenhaus-page *:focus-visible,
.greenhaus-page *:focus-within {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

/* 2. Ukloni border-radius sa svih dugmadi */
.greenhaus-page button {
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* 3. Ukloni aktivan/klik stil koji daje magenta pozadinu */
.greenhaus-page button:active,
.greenhaus-page button:focus,
.greenhaus-page button:focus-visible {
    background-color: inherit !important;
    border-color: inherit !important;
    color: inherit !important;
}

/* 4. Spreci Elementor da menja boju linkova */
.elementor .greenhaus-page a,
.elementor .greenhaus-page a:link,
.elementor .greenhaus-page a:visited,
.elementor .greenhaus-page a:focus,
.elementor .greenhaus-page a:active {
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* 5. Beli text ostaje beo na hover */
.elementor .greenhaus-page a.text-white,
.elementor .greenhaus-page a.text-white:hover,
.elementor .greenhaus-page .hover\:text-white:hover {
    color: #ffffff !important;
}

/* 6. Suptilniji hover za bele btne (umesto previse sive zinc-200) */
.greenhaus-page .hover\:bg-zinc-200:hover {
    background-color: #ebebeb !important;
}

/* 7. Input polja - ukloni glow */
.greenhaus-page input:not([type="range"]):focus,
.greenhaus-page select:focus,
.greenhaus-page textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}
